Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing to default printer
Message
From
02/01/2009 12:54:50
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Printing to default printer
Miscellaneous
Thread ID:
01370723
Message ID:
01370723
Views:
67
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
Map
View

Click here to load this message in the networking platform