|
Steven, Thanks for the printer drawer input. We have tried the senario that you described. It worked for 80% of the printfiles sent to the network printer, but the Optio software we use on the 400 to create special forms was the exception. The Optio forms bypassed the Host Print Transform program and accessed drawer 1 instead of drawer 3. Thanks again for your help. Phyllis >>> <STEVEN_J_RYAN.NDOA@notes.denso.co.jp> 11/29 6:14 PM >>> I'm assuming that you are using a Remote OutQ via IP for this. You will have seen the 'Host Print Transform' when setting up the Output Queue. If you say '*YES', you then get to nominate the model & customizing object. The customizing object creates ASCII strings that match the printers requirements for specific functions. It exists as a 'Workstation Customization Table'. For example, we use Lexmark Optran N printers. When we send a 4LPI print, we have set up the customizing object with :LPI LPI=4 DATA ='1B266C3644'X. (which actually sets it at 6LPI) in order to get the right print size. There are a bunch of standard Customization Tables, but I have never found then satisfactory. To get your drawer selection, you will need to look at the :DWRSLT area. For the Optran N's it is :DWRSLT DRAWER=PAPER DATA ='1B266C3248'X. :DWRSLT DRAWER=ENVELOPE DATA ='1B266C3668314F'X. :DWRSLT DRAWER=DRAWER1 DATA ='1B266C3148'X. :DWRSLT DRAWER=DRAWER2 DATA ='1B266C3448'X. Note that the ASCII codes for your printer will probably be different for you. To set your printer to Drawer 3, you will need to find out the ASCII codes from you printer's Reference Manual, and adjust the code accordingly, substituting the ASCII for DRAWER3 for what is nominated for DRAWER1 (1B266C3148 in the above example). That way, when your print (which will be set at DRAWER 1) gets sent to the PC printer, the Transform program will ask for Drawer 3 instead. In order to get the values shown above, first you must retrieve the Workstation Customization Table, via the command RTVWSCST. You then chage the values as need be, then CRTWSCST to create a fresh object. You can replace the existing Customization Table if you like (type *WSCST), but I would recommend not to. Instead, create a new object in a different library. You then refer to this customization table in your OUTQ Writers to autostart . . . . . . 1 1-10, *SAME, *NONE Queue for writer messages . . . QSYSOPR Name, *SAME Library . . . . . . . . . . . *LIBL Name, *LIBL, *CURLIB Connection type . . . . . . . . *IP *SAME, *SNA, *IP, *IPX... Destination type . . . . . . . . *OTHER *SAME, *OS400, *OS400V2... Host print transform . . . . . . *YES *SAME, *YES, *NO Manufacturer type and model . . *WSCSTA4 Workstation customizing object OPTRAFORMX Name, *SAME, *NONE Library . . . . . . . . . . . NDPGMLP Name, *LIBL, *CURLIB Image configuration . . . . . . *NONE *SAME, *NONE, *IMGA01... Destination options . . . . . . 'XAUTOQ XAIX' Print separator page . . . . . . *YES *SAME, *YES, *NO User defined option . . . . . . *NONE Option, *SAME, *NONE Note that the Model and Customizing object will be different for you. The biggest problem is getting the right ASCII codes for the workstation customization table - often the printer manuals don't provide the level of information you need. Phyllis Krzys <KRZYS@brk.bfg.com> on 30/11/99 01:18:57 Please respond to RPG400-L@midrange.com To: RPG400-L@midrange.com cc: (bcc: STEVEN J RYAN/DIAU) Subject: Configuring Default Printer Drawer I am looking for a way to set the default printer drawer to drawer #3. The printer is a network printer. When any/all reports are generated from the AS/400, that are sent to this particular printer, we want the printer to use drawer #3 to select forms. I realize this can be defined in a printfile. But, we are not going to redo printfiles to accommodate one printer. Has anyone dealt with a situation like this? Phyllis +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- ! ! ! ! ! ! ! ! ! ! ! ! +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.