MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » February 2006

RE: CL printer issue



fixed

Drawer 1 is usually the manual feed tray, making drawer 2 what we
usually think of as drawer 1.  So you might want to OVRPRTF FILE(PRINT)
DRAWER(3).
 
Regards, 
 
Guy Henza
Tri-State Hospital Supply Corporation
301 Catrell Drive
Howell MI 48844
phone (517) 546-5400 x1312
fax (517) 540-1513
GHenza@xxxxxxxxx
 
------------------------------

date: Wed, 8 Feb 2006 10:15:39 -0500
from: "Lynette Chronister" <Lynette.Chronister@xxxxxxxxxx>
subject: CL printer issue

Hello All:  Hoping this is the right place to ask this question.  If
not, please direct me??

Need something that is probably very simple that I am overlooking.
I need a spool file to print from the second drawer of a Lexmark for
only specific users who's default printer is PRT26.  

This is the CL code I currently have
  DCL        VAR(&PRTR) TYPE(*CHAR) LEN(10)         
  DCL        VAR(&USER) TYPE(*CHAR) LEN(10)         
                                                    
  RTVJOBA    JOB(&JOB) USER(&USER)                  
                                                    
  RTVUSRPRF  USRPRF(&USER) PRTDEV(&PRTR)            
                                                    
  IF         COND(&PRTR *EQ 'PRT26') THEN(OVRPRTF + 
               FILE(PRINT) OUTBIN(2)) 

Ive also tried 
                                                      
 IF         COND(&PRTR *EQ 'PRT26') THEN(OVRPRTF +    
              FILE(PRINT) DRAWER(2))         
                                                             
                                                    
Lynette (Nettie) Chronister
Programmer






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