On 8/23/2013 1:43 PM, Paul Nelson wrote:
All go to PND, and I've tried all the combinations for the WSCST. As a test,
I had the user put letter size paper in drawer 1, and it worked fine.

I wasn't clear enough. Since /some/ spooled files print, the
communications is set up OK. I'm assuming that spooled files specifying
DRAWER(1) print OK and pull paper from drawer 1. And that spooled files
specifying DRAWER(3) go PND and hang forever.

The users insist on selecting the paper from drawer 3, however, since they
want 11X17 paper in drawer 1 for printing maps. That paper won't fit in
drawer 3.

IBM gave up and told me to call Xerox.

The reference I use for PCL 5 commands is here:
http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13210/bpl13210.pdf

5-4 Page Control Commands

PAPER SOURCE COMMAND
The Paper Source command designates the location to feed paper, or
it prints the current page.
Esc & l # H

# = 0 - Print the current page (paper source remains unchanged).
1 - Feed paper from the a printer-specific tray.
2 - Feed paper from manual input.
3 - Feed envelope from manual input.
4 - Feed paper from lower tray.
5 - Feed from optional paper source.
6 - Feed envelope from optional envelope. feeder (note 1)

Note 1: Must be used in conjunction with Page Size command, envelope
selection.

Default = Printer Dependent (Configurable from Control Panel)
Range = Printer Dependent

These values are all in ASCII, so looking at the WSCST in hex takes a
bit of practice.

Sample:
:DWRSLT
DRAWER=DRAWER1
DATA ='1B266C3448'X.

Esc = 1B
& = 26
l = 6C
# = 34
H = 48

When I do this I create a CL program so I can iterate many settings quickly.

endwtr myprint
dlyjob dly(5)
vrycfg myprint *dev *off
dltdevd myprint

CRTDEVPRT DEVD(myprint) DEVCLS(*LAN) TYPE(3812) +
MODEL(1) LANATTACH(*IP) PORT(9100) +
ATTACH(*DIRECT) ONLINE(*YES) FONT(400 9) +
FORMFEED(*AUTOCUT) SEPDRAWER(*FILE) +
PRTERRMSG(*INQ) MSGQ(*CTLD) ACTTMR(170) +
INACTTMR(*SEC15) LINESPEED(19200) +
WORDLEN(8) PARITY(*NONE) STOPBITS(1) +
TRANSFORM(*YES) MFRTYPMDL(*WSCST) +
PPRSRC1(*LETTER) PPRSRC2(*LETTER) +
ENVELOPE(*NUMBER10) ASCII899(*NO) +
IMGCFG(*NONE) CHRID(*SYSVAL) +
RMTLOCNAME('10.1.2.202') +
USRDFNOBJ(*LIBL/HP4350 *PSFCFG) +
SYSDRVPGM(*HPPJLDRV) PUBLISHINF(*UNKNOWN +
*UNKNOWN *UNKNOWN *UNKNOWN *BLANK +
*UNKNOWN) TEXT('HP4350 printer') +
WSCST(mylib/myprint)

vrycfg myprint *dev *on
strprtwtr myprint msgq(mywork1)

--buck

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.