Print to file using Command button
Print to file using Command button
(OP)
I know how to set up a command button to print a report from a form. However, I want to "Print to File" (as if I had checked that option in the Print dialog box) instead of sending the output directly to the printer.
P.S. Send to file is NOT an option.
P.S. Send to file is NOT an option.
RE: Print to file using Command button
You may also be able to do this by manipulating the PrtDevMode and PrtMip objects, but that's quite a lot harder. Still, if you plan to distribute this to users and don't want to make them set up an additional printer, that may be your only option. I've never bothered with PrtDevMode and PrtMip, though, so you're on your own.
Rick Sprague