Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Printers in code
Message
 
 
To
10/08/2009 15:33:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01417163
Message ID:
01417165
Views:
68
>I have an application that uses a receipt printer. The report to print to this printer is only 3" wide. I also have other full sized reports that I wish to print. I have tried setting the default printer to the receipt printer in windows and then using the set printer to command. This gives me an error that it can not access the print spooler.
>
>If I use the print command with the prompt option, then my report will only print 3" wide even though I have selected the standard printer.
>Any suggestions.

I don't see why it would not work, unless you have a problem in the name.

E.g.

set printer to name (myReportName)

is supposed to work.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform