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.

Carl,

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


Pete Hall
peteh@inwave.com 
http://www.inwave.com/~peteh/

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2020 by midrange.com 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].