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

    Requires Free Membership to View

    When you register, you will start receiving targeted emails from my award-winning team of editorial writers. Our goal is to keep you informed on the hottest topics and biggest challenges faced by SAP professionals today.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchSAP.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSAP.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

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.

This was first published in December 2003