ITEM: CG4823L

postscript job from Win95 doesn't print, local works


ENV:
AIX 4.1.4
SP

DESC:
I am remote printing from PC ----> AIX ---> Lexmark network printer.
AIX can print PostScript and PCL to the Lexmark network printer without
problem.  The PC can send PCL to AIX and it prints properly, when the
PC sends PostScript jobs to a PostScript queue on AIX, the job goes
through the queue but doesn't print.

ACT:
Either 1) The PC is sending a flag that the queue backend doesn't
          recognize, or
       2) the lexbe (Lexmark Backend) doesn't recongnize some flag
          the PC is sending 

1)
Disabled the queue, sent a PostScript job from the PC, copied to
/var/spool/lpd/dfA\#\#\#\#pchostname to /tmp and the file prints fine when
queued locally from AIX, so the contents of the PostScript job is good.

2) 
Disabled the queue and sent a job from the PC.  Examined the JDF file
/var/spool/lpd/qdir/00userPChostname and the only flag to note was
-H PChostname

We wrote a small shell script print queue backend:

\#!/bin/ksh
echo $* > /tmp/flags

And make the the new backend for the PostScirpt queue:

cp /etc/qconfig /etc/qconfig.bak
vi /etc/qconfig
   Changed backend = /tmp/shellscript_backend (from above)
chmod 755 /tmp/shellscript_backend

We did this and NOTHING shows up in the output...
in fact, the file /tmp/flags was not even created.

ACT: I had her disable the print queue and submit a job again.  We 
looked at the jdf file again and found a -fv flag in the jdf
file for the PS queue.  I checked the virtual printer for an fv
attribute and it did not exist.  Since the filter doesn't exist
the backend never even gets called.

We could not seem to get the PC to not send the flag, so I had
her add the fv attribute to the virtual printer via a ~v session
in change/show a virtual printer.  We added the line

:668:fv::

to the colon file.  This did allow her to print.

I also explained, since she had many queues to do this on, how to
do it on the command line..

cd /var/spool/lpd/pio/@local/custom
echo :668:fv:: >> \:\
chvirprt -q\ -d\

NEXT: cwca


Support Line: postscript job from Win95 doesn't print, local works ITEM: CG4823L
Dated: October 1996 Category: N/A
This HTML file was generated 99/06/24~13:30:18
Comments or suggestions? Contact us