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:
00901099
Views:
26
Hi Dean,

Try to issue this commands, this works fine with Epson Thermal printer quite not sure yours if Thermal or Dot Matrix..

Set Print to
@prow() ,00 Say Chr(27)+"@" && Initialize printer
@prow() ,00 Say Chr(27)+CHR(105) && Partial Cut

For your Printer;

I think you can Use this,

This is the control code for HALF CUT => ESC i
You must convert to DECIMAL,

CHR(27)+CHR(0)+CHR(9)
Thus you can issue the ff commands:

Set Print to
@prow() ,00 Say Chr(27)+"@" && Initialize printer
@prow() ,00 Say Chr(27)+CHR(0)+CHR(9) && Partial Cut
Set device to scree


Hope it can help.

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