Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Barcode on receipts
Message
From
23/05/2001 15:13:34
 
 
To
23/05/2001 14:32:01
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00510384
Message ID:
00510552
Views:
18
Hello John

set console off
set printer to (Printer)
set printer on
set device to printer

nRow=1
nCol=2
@ nRow, nCol SAY "HELLO WORLD"

nRow=nRow+1
@ nRow, nCol SAY "IT'S GOOD TO BE ALIVE."

set printer off
set printer to
set device to screen

********************************************
Some printer come with API, that you can use to control the printer.

It is interesting to me that you can use ?/?? instead of @ ...SAY. I don't know which is better.

I don't use the report generator because I think it's too cumbersome to work with in this case.

Hope this helps. good luck



>hi Dean

>sometime soon i will also need to send output to a receipt printer and wondered if you could put me on the right path...

>do you have to have any special drivers etc to print to recepit printers?? how >are you doing your output - report generator or ?/??

>thanx - john
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