Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Autocut receipt printer
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00893123
Message ID:
00901196
Views:
28
I believe "Set Printer To" requires a files name or a printer name.

SET PRINTER ON [PROMPT] | OFF
SET PRINTER FONT cFontName [, cFontSize] [STYLE cFontStyle]
SET PRINTER TO [FileName [ADDITIVE] | PortName]
SET PRINTER TO [DEFAULT | NAME WindowsPrinterName]
SET PRINTER TO NAME \\ServerName\PrinterName

Isn't "LPT1" a connection port for a printer ot the computer?

I use SET PRINTER TO NAME



>I have a Question to you..
>Are you developing Windows Base POS? If yes maybe you can help me with this. I have problem with this commands under windows 98, but windows XP, its fine..
>
>Set device to print
>Set print to "LPT1" => Using this command in win 98 will cause an error Invalid Path or File name
>@prow() ,00 Say Chr(27)+"@"
>Code block
>
>Set Print to
>Set device to scree
>
>
>Thanks..
>
>
>Jojo R. dela Cuesta
>Dalplus Technologies
>http://www.dalplus.com
Work as if you don't need money
Love as if you've never been hurt before
Live as if this is your last day to live
Dance as if no one's watching
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform