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



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


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.