CHR ESC sequence for my app in PowerBuilder?

Javier Barbieri
Javier Barbieri used Ask the Experts™
Hi :

I have developed an application in power builder 12.5 and it works fine. My point is when I print a receipt . I want the application to print that out and immediately cut the paper.

I have seen several options for chr codes but I would like to know... how to apply those codes effectively inside the script. by the way the printer is an EPSON TM-U220A receipt printer...

ANy idea how to apply those codes so the paper will be cutted automatically?

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Distinguished Expert 2017

You have to configure the printer properties to issue the cut option.
Do your app setup the controls or you rely on the Windows printer driver to set the page, length?

EPSON has the control code that ....
Distinguished Expert 2017
Here is the reference
You can set autocut.
Distinguished Expert 2017
Here is better, make sure the printer is set to autocut on end of file.
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

-- arnold (https:#a42382386)
-- arnold (https:#a42382384)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Experts-Exchange Cleanup Volunteer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial