ITEM: H2396L

problem after upgrade to 3.2.5 of printing functions.


Question:

Model 360H       version 3.2.5

I just upgraded from 3.2.4 to 3.2.5 and now I am having difficulties 
printing to a Lexmark 2381 printer with the following setup:

        RISC ------ 128 Port Adapter -----  R A N
                                            | | |
                                                printer

I am using a third party software program which creates a file and 
inserts a carriage control character before sending it off to the 
spooling, via the enq command, to be printed in condensed mode.  On 
single or multi-page documents it will not perform the Carriage Return 
(which in fact is mapped as a Carriage Return and a Line Feed according 
to the default virtual printer definition.) which appears at the end of 
the documents.  Previously, under 3.2.4, this setup was operating 
correctly. 

Using the "od -h \" command,the application inserts a 
"0a0d0a" (In hex, 0a = New Line or Line Feed, and 0d = Carriage
Return) at the end of the file.  As an experiment, a "0c" or 
\-v \-L  is inserted into the end of a sample file using 
vi in the insert mode.  (It appears as a \^L.)  If we queue this file to 
the application's queue then it prints out as it did in 3.2.4 .
The same result are obtained if the file is cat-ed directly to the 
device by issuing:

        cat filename > /dev/lp\#

Since cat-ing the file achieves the printout that you wanted, then
the same result can be accomplished by changing the virtual printer
characters.  Under smit:

        smit virprt
                Change / Show Characteristics of a Virtual Printer

Change the _d attribute from a to p by issuing the command _d=p .  
This changes the data stream from ascii to passthrough.  Essentially,
this send the file to the printer unchanged which is what the
cat command does.  After following these steps, you should obtain the
desired printout.
                        



Support Line: problem after upgrade to 3.2.5 of printing functions. ITEM: H2396L
Dated: March 1994 Category: N/A
This HTML file was generated 99/06/24~13:30:48
Comments or suggestions? Contact us