Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Printer To
Message
From
11/06/1999 14:06:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Set Printer To
Miscellaneous
Thread ID:
00228905
Message ID:
00228905
Views:
43
Here is my problem. I want to programmatically change the printer the report is using.

So in my report temp.frx I clear TAG and TAG2.

Then I try this:

----------
cPName = GETPRINTER()

SET PRINTER TO cPName

REPORT FORM temp NEXT 10 TO PRINT NOCONSOLE
----------

It keeps using the default printer. Which is my HP Deskjet.
cPName is "Winfax" when I am testing.

I am confused as to what purpose SET PRINTER TO has if it doesn't
change the printer.
Next
Reply
Map
View

Click here to load this message in the networking platform