Has anyone figured out a way to send a report directly to a Printer? Our application defaults reports to display in the PDF format, the users have other options like HTML and Excel. But a majority of our user base would like to be able to select a report, run it, and have it print without having to view the report.
You can write a focexec that has an lpr printing command you can send the file to the printer. However, you can't send a PDF directly to the printer, it needs to be PS (postscript). An example would be PRINTME.fex ...contents.... DOS lpr -S "printserver ip" -P "printer cue name" -o l filename.ps
go to a command prompt in windows and type lpr /? to get a listing of how to use the lpr command.