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:
00901426
Views:
28
Hi Dean,
I used also the Set print to name but it does an eject to the paper roll..

Any thing wrong or missing on my code below?



*/* Direct open to

Set device to print
Set print to name STAR noeject
@prow() ,00 Say Chr(27)+"@" && Initialize printer
@prow() ,pcol() Say cShopName
@prow() ,pcol() Say cAddress1
@prow() ,pcol() Say cAddress2
Set print to
Set Device to Screen
It eject more if I send signal to open a Cash Drawer.

For me, there is a draw back when it comes to the end user, they might used or buy different brand of receipt printers...If I coded like what you said, let say in my release version I use the "Set print to name Epson", but the end user buy themselves a Star Micronics Receipt printers.. then I have to change my Codes or rename the printer name in Windows which is im trying to avoid.


Thanks..



Best Regards,


Jojo R. dela Cuesta
Dalplus Technologies
Jojo R. dela Cuesta, B.Sc.
eConsultant, Programmer
Dalplus Technologies
http://www.dalplus.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform