|
Hi Terry, The typical PCL 5 - PCL 5e syntax to select an input tray is <ESC>&l#H where # is a numeric value. In ASCII hex, the values 30 - 39 equate to the decimal numbers zero to 9. Thus a typical input tray selection could be represented as follows in HEX: 1B - ASCII Escape 26 - & 6C - lower case L # - the input tray selection number, as an example if it was 20 the values in HEX would be 32 30 48 - Upeercase H In the WSCST, it might look something like this: 1700 :ADDDRWTBL. 1800 :ADDDRWTBLE 1900 NUMBER= 3 2000 DATA = '1B266C323048'X. HTH Best Regards, /Paul -- Paul Tykodi Principal Consultant TCS - Tykodi Consulting Services LLC E-mail: ptykodi@xxxxxxxxxx >date: Fri, 10 Jun 2005 18:11:37 -0500 >from: as400tech@xxxxxxxxxxx >subject: Convert printer escape code to HEX > >I am trying to create a *WSCST object that will make a >Canon IR330 pull from drawer 3. I have found the >escape code to do this but in searching the archives >it seems that I need to convert it to hex. Any help in >how to do this will be GREATLY appreciated. > >Thanks, > >Terry __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.