At 09:14 PM 1/27/98 -0500, Carl Galgano wrote:
>Does anyone have any experience sending ESC codes to a HP5 (PLC5) printer
>to select a bin.  I need to know how to do this in RPG.  I know what the
>esc seq should be, just don't know exactly how to send it to the printer.


Use the TRNSPY and CVTDTA DDS keyword and send the command as a hex text 
representation of the PCL command. The output queue must use host print 
transform. I've got a couple of projects documented on my web site that 
demonstrate one way to do it.


Pete Hall

| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "".
| To unsubscribe from this list send email to
| Questions should be directed to the list owner/operator:

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].