MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » October 2004

Re: Default to printer drawer 3 in WSCST requires rocket science



fixed

 Not sure of the other stuff, but the ASCII control sequence, I believe,
should be in the printer's manual.

Thanks,

Mark

Mark D. Walter
Senior Programmer/Analyst
CCX, Inc.
mwalter@xxxxxxxxxx
http://www.ccxinc.com


|---------+------------------------------->
|         |           "Dan Bale"          |
|         |           <dbale@xxxxxxxxxxxxx|
|         |           >                   |
|         |           Sent by:            |
|         |           midrange-l-bounces@m|
|         |           idrange.com         |
|         |                               |
|         |                               |
|         |           10/22/2004 11:34 AM |
|         |           Please respond to   |
|         |           Midrange Systems    |
|         |           Technical Discussion|
|---------+------------------------------->
  
>------------------------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                                 |
  |       To:       <midrange-l@xxxxxxxxxxxx>                                   
                                                 |
  |       cc:                                                                   
                                                 |
  |       Subject:  Default to printer drawer 3 in WSCST requires rocket 
science                                                 |
  
>------------------------------------------------------------------------------------------------------------------------------|




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.










Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact