|
Dan, Fear not, it is possible and you are on the right track. I went through the same confusion awhile back when I wanted to set up our networked copier as a printer. It was always pulling from drawer #1 but I wanted drawer #3 which was high capacity. There may be a better way but I believe what I ended up doing was changing the value of the data on the DWRSLT. In my case DRAWER#2 corresponded to the 3rd physical drawer so I just took the value of the DATA line and assigned it to the PAPER and DRAWER1 entries. Then just create the WCST object and reference it in the WSCST attribute of the remote output queue. :DWRSLT DRAWER=PAPER DATA ='1B266C3748'X. :DWRSLT DRAWER=ENVELOPE DATA ='1B266C3668314F'X. :DWRSLT DRAWER=DRAWER1 DATA ='1B266C3748'X. :DWRSLT DRAWER=DRAWER2 DATA ='1B266C3448'X. Dave Parnin Nishikawa Standard Company Topeka, IN 46571 daparnin@xxxxxxxxxxxxxxxxxx Dan Bale <dbale@xxxxxxxxxxxxx To: midrange-l@xxxxxxxxxxxx@SMTP@CTB > cc: (bcc: David A Parnin/Topeka/NISCO/SPCO) Sent by: Subject: Default to printer drawer 3 in WSCST requires rocket midrange-l-bounces@m science idrange.com 10/22/2004 10:34 AM Please respond to Midrange Systems Technical Discussion <midrange-l@midrange .com> Any rocket scientists out there? I have searched the archives and googled. I have downloaded the Workstation Customization Programming manual and the IBM AS/400 Printing IV redbook. All I want to do is to have our prints to Savin 9935DPE laser to always use paper from drawer #3. That doesn't seem to unreasonable, does it? The first three drawers all have 8.5x11 paper, same orientation, but the first two drawers hold colored paper for faxes, and drawer 3 holds white paper for copying and normal printing. (FYI, drawer 4 holds 11x17.) A little background: I created a remote outq via CRTOUTQ OUTQ(QUSRSYS/PRT49IP) RMTSYS(*INTNETADR) RMTPRTQ(QUSER) AUTOSTRWTR(1) CNNTYPE(*IP) DESTTYPE(*OTHER) TRANSFORM(*YES) MFRTYPMDL(*HP5SI) INTNETADR('172.16.100.212') (I did find IBM documentation that indicated to use *HP5SI for this printer.) I note that there are no drawer options here. Do some research, and it appears that I need to customize the *HP5SI workstation customization object. I download those two books, scan for drawer, find DWRSLT & DWRNBR. Can't use DWRSLT because it is limited to drawer #1 or #2, and I need drawer #3, so DWRNBR is required. So here's where the "rocket scientist" kicks in: Selecting Paper Drawer Number (DWRNBR) Tag The DWRNBR (select paper drawer number) tag selects the printer paper drawer. The drawer number is a variable in the ASCII control sequence. This tag is only used if the drawer number is greater than two (2). The syntax for this tag is: :DWRNBR VAROFFSET = variable offset in control sequence VARLEN = variable length VARTYPE = HIGHLOW|LOWHIGH|CHRDEC|CHRHEX| DATA = ASCII control sequence. I have omitted the descriptions for the parameters. It is greek anyway. No clues are given for the ASCII control sequence codes. FWIW, I found this reference on page 175 in the OS/400 Workstation Customization Programming V4R3 manual. 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 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.