× 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.



On 5/13/2016 11:15 AM, Alan wrote:
I think I didn't explain clearly enough the issues for this. I need to create a WSCST object for a new remote-IP printer that ALWAYS prints from Drawer 3. It might be a technically different drawer I'm thinking, but they're calling it that, and after we get this to work consistently I can change the drawer.

If they /always/ want to print from tray 3 (500 sheet option?) then it
may be simplest to set tray 2 to the wrong size paper (from the front
panel of the printer). Then the one and only tray that has the correct
size paper would be tray 3, and the printer would simply direct all
requests there. No WSCST - it'd all be done at the printer.

The third party software that will print these HCFAs, as they're called, is opaque. We cannot implement an override to the printer file or change the attribute on the printer file. Their assumption is a printer dedicated only to these forms, and they do not provide a way to make a drawer selection when they print this claim.

Therefore I must set this thing up for users at a different location (new for us), who need to print from out third party application to a printer at their location, but to a specific Drawer 3 (as they call it).

But the printer is an "HP Laser Jet P2050 Series PCL 6" printer.
Per instructions from the IBM web page, at http://www-01.ibm.com/support/docview.wss?uid=nas8N1010133, I retrieved the WSCST source code using, best closest guess for manufacturer type model (HP4),
RTVWSCST DEVTYPE(*TRANSFORM) MFRTYPMDL(*HP4) SRCFILE(QGPL/QTXTSRC) and member HP4.

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.