| 
 | 
*IPDS
Lynette Chronister
Programmer
from: "Wilt, Charles" <CWilt@xxxxxxxxxxxx>
subject: RE: CL printer issue
How is the Lexmark attached?
RMTOUTQ, *IPDS, or *IBMPJLDRV/*IBMSMNPDRV/*IBMIPPDRV
Charles Wilt
--
iSeries Systems Administrator / Developer
Mitsubishi Electric Automotive America
ph: 513-573-4343
fax: 513-398-1121
  
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
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.