General information
Category:
Reports & Report designer
Title:
Printing to default printer
When I run GETPRINTER() from the Command Window, the printer showing is:
\\WORKSTATION2\HP LaserJet P2015 Series PCL 5e
That is the printer listed as default in Printers and Faxes. When I try to print in Word, that is the initial printer showing.
In my app, I preview using:
REPORT FORM myReport TO PRINTER PROMPT PREVIEW
Clicking on the printer icon in the Preview tool bar, I get a Print dialog box with just the 2 printers directly attached to my machine. I have to click on the Find Printer command button to go find the printer I want.
I tried putting
SET PRINTER TO NAME "\\WORKSTATION2\HP LaserJet P2015 Series PCL 5e"
in front of my REPORT FORM. Didn't help.
Any thoughts?
Tim
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only