Q
Problem solve Get help with specific problems with your technologies, process and projects.

Print control

I am trying to create a ticket from SAP used to print to an Epson TI-T88II series printer. I have created an ABAP program using the spool to send the information to the printer. When I try to send (using write sentence) the control command, the printer doesn't recognize the code. I don't know if I wrote the control commands correctly. Do I need to call the control commands in Hexadecimal? How can I do this?

This is example of the code I send to the printer.

WRITE:/ '27L'.
WRITE:/ '27W,0,0,0,0,200,0,144,1'.
WRITE:/ '27T;0'.
WRITE:/ '"PRUEBAS DE IMPRESION"'.
WRITE:/ '12'. 

You need to look at the PRINT-CONTROL and NEW PAGE PRINT ON... ABAP statements. This permits you to send data to the printer directly.

Dig Deeper on SAP ABAP

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchContentManagement

SearchHRSoftware

Close