PSF/6000: Incorrect output from PSF/6000 to PCL printer off OS/2 or Windows NT

ITEM: RTA000090662



Q:                                                                              
We are using PSF/6000 Version 1 Release 2 and are trying to print to a          
PCL printer that is attached to an OS/2 system that's running TCP/IP and        
LPD.  The output is not printing correctly.  We also tried printing to          
a PCL printer attached to a Windows NT server and had the same problem.         
                                                                                
Can you tell us what the problem is?                                            
                                                                                
A:                                                                              
Without more information, it's hard to tell, but try the following:             
                                                                                
1.  Use SMIT to go to the Command to Execute for that printer (under            
    Show/Change Characteristics of a Printer and then Device Options)           
2.  Use the arrow key to go to the end of the Command to Execute                
3.  Insert " -o -fv" (without the double quotes)                               
4.  Press enter, exit SMIT                                                      
5.  Kill and restart PSF with psfctl -kdu to pick up the printer profile        
    changes.                                                                    
                                                                                
qprt submits the job to a queue which calls rembak, which in turn calls         
lpr.  lpr defaults to text mode whenever it spools a file to another            
system.  This works fine as long as the other system is AIX.  If the            
printer is attached to OS/2 or the data passes through OS/2, carriage           
returns (X'0D') get inserted into the PPDS or PCL before all the                
linefeeds (X'0A').  Insertion of X'0D' causes weird output like you are         
seeing.                                                                         
                                                                                
Adding " -o -fv" tells lpr to transmit the file in binary mode.                 
In that case, OS/2 doesn't think it's text and leaves it alone.                 
This will also work when the printer is attached to NT.                        
                                                                                
We've now added these flags as defaults when you create new AIX-defined         
printers in PSF for AIX Version 2.                                              
                                                                                
S e a r c h - k e y w o r d s:                                                  
AIX PSF/6000 PSF FOR AIX PCL OS/2 GARBAGE INCORROUT NT REMOTE                   
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                               


WWQA: ITEM: RTA000090662 ITEM: RTA000090662
Dated: 08/1999 Category: XPSF6000
This HTML file was generated 2000/11/30~13:34:04
Comments or suggestions? Contact us