× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello again Ban , emm Dale, emm, now I got it: Dan !    ;-)

AFAIK, the AS/400 counts the drawers "the other way round" as HP used to
do when they invented the PCL-language.
For PCL/PJL speaking printers normally "drawer 1" is the one for "manual feeding",
whatever that means at a particular model / printer design given.
Then HP counted from "top to bottom" when you look at the front of the
printer, the AS/400 does it from bottom to top.
The only way to really control this is a *WSCST that you either find already
made by IBM for the popular models, or that you change yourself from a
given template.
I usually start with the most basic HP printers like the HP4 or even the
HP Laserjet II, and use the original HP manual for PCL/PJL and then do a
test like you and Paul suggested.
A little basics on PCL control codes:
Every PCL command starts with an "Esc", or Escape-Sequence, that is 27 in ASCII
or 1B in hex. This is followed by an identifier prefix (what is to do) and then
you give parameters. Although this is normally noted in hex codes, all
parameters are coded in ASCII, so a decimal "1" is coded as "31", depending on
the number of parameters there are some more numbers or not followed by a
suffix, in the case of the "select drawer" command this is "48".


HTH,
Philipp

Dan Bale schrieb:

I did another test, changing nothing else, I "printed to file" 4 times,
changing only the drawer.  I ran a DOS FC command (with /b(inary) flag) on
each of the files, and beyond the timestamp that changed between the four
prints, the only change occurs for 1 byte, at offset x'00000200':

Tray 1: 04
Tray 2: 05
Tray 3: 07
Tray 4: 08

Not seeing how this correlates to the data you gave me, Paul.  So, please
educate me.

tia,
db

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.






As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.