ITEM: L7107L

No form feeding when printing multiple files at once.



Question:

ENV: 3.2.x, HP & other printers attached via something called
     kinet to printers on DECNET. (ki research)
DESC: No form feeding when printing multiple files at one time.
       Issuing "lp -d *" and tried "lp -d \ \"
        And doesn't append a form feed to the end of a job.

Source of problem was another vendors software, which uses a
shell script for the backend that assumes a single job will be
sent, while the user was sending multiple jobs with one command.

From 'lsquedev -q queuename -d devname we see the backend is:

device:
        backend = /bin/ksh /usr/kinet/database/quename

The shell script quename contained the following:
 OPEN (CAT $*: echo ctrl-L ) > /dev/nash

We modified the backend to send one job at a time as follows:

while [ $\# -gt 0 ] ;
do 
        cat $1 > /dev/nash      ! Send out the first job on line
        shift                   ! Move file names over one, next job
        sleep 90                ! Give driver time to print.
        echo "\^L" > /dev/nash  !If it still needs another Form Feed
done

This worked.


Support Line: No form feeding when printing multiple files at once. ITEM: L7107L
Dated: August 1994 Category: N/A
This HTML file was generated 99/06/24~13:30:40
Comments or suggestions? Contact us