Okay! I changed all the Drawer keywords to have DATA= the same as Drawer2 to see what it would do and it printed, but it printed from Drawer 2.

They have a Drawer 3, which is apparently optional for this printer: HP Laser Jet 2050 Series PCL6.

But the RTVWSCST command did not retrieve any DRAWER=DRAWER3.

The parameters I used (IIRC) were:

RTVWSCST
DEVTYPE(*TRANSFORM)
MFRTYPMDL( *HP4 )
SRCFILE( QGPL/QTXTSRC) SRCMBR( HP4 )

And compiled from there.

Does someone know where I can get the DATA= value for DRAWER3 for this printer?

(Thanks so much for your help on this)

Alan Cassidy



.

Compiles okay to QGPL, but I need to tweak this thing so it ALWAYS pulls from the specific drawer.

In the retrieved source I have four drawer specifications:

:DWRSLT
DRAWER=PAPER
DATA ='1B266C3248'X.
:DWRSLT
DRAWER=ENVELOPE
DATA ='1B266C3368314F'X.
:DWRSLT
DRAWER=DRAWER1
DATA ='1B266C3148'X.
:DWRSLT
DRAWER=DRAWER2
DATA ='1B266C3448'X.

I suspect DRAWER2 for this. If it turns out to be technically a DRAWER3, the docs say I can add an entry for an additional drawer. (True?)

If I want to ONLY direct output to ONLY Drawer 2, will it work to remove the other drawer specs?

What I would do is to lie.

Set the WSCST so that all the DRWSLT specs point to tray 3.
That way no matter what the (unknown) printer file definition is, the
spooled file will request tray 3.

Yes, you can add another set of specs for drawer 3, but if you can't
change the vendor's software to OVRPRTF / CHGPPRTF it won't matter
because you can't tell IBM i to use that.


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.