Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
POS Ticlets
Message
 
 
To
29/10/2004 12:24:35
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00955851
Message ID:
00955882
Views:
29
>I need to print tickets (receipts) on a star SP200.
>Should I use report designer or use low level commands, How do I specify the variable page length or how do I use the fopen() "?", "??" commands

You could add a Printer in the Printers Control Panel, then use ??? to output lines to that printer.
#DEFINE VFP_CRLF CHR(13) + CHR(10)
set printer to name (lcPrinter) && receipt printer name in Control panel
??? 'output line here' + VFP_CRLF
...
??? 'last output line' + VFP_CRLF
set printer to default
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform