ITEM: AD0981L

printer problems



Question:

I am trying to print windows into the spooler and am having lpd
problems.  I am running 3.2.5 on a model 340.

Response:

ENV:    3.2.5

DESC:
PC running Windows NT 3.5 and trying to remote print to Risc.

Gets file to AIX but when it goes to spool, it sends an error
message to pio directory saying "message from print job,
(ami pro - diane.sam) 0782-032 unrecognized filter identifier,
check the parameter value specified with the -f flag."

Disabling that queue leaves the file in /usr/spool/lpd.

ACT:
lsque -q quename
lsquedev -q quename -d devname
        backend= /usr/lib/lpd/pio/etc/piojetd hp401

Response:

Some windows tcp/ip print packages or applications seem to send a filter
flag of -f1 when they print.  AIX virtual printers do not support this
flag.  We will first look with iptrace, to see if my assumption is correct.

iptrace -p printer -a -b -s pchost -d aixhost /tmp/trace.out
Now print.
ls -l /tmp/trace.out
4800
ps -ef | grep ipt
kill -9 pid

cd /tmp
ipreport trace.out > report.out
grep 0000 report.out > grep.out
vi grep.out
Couldn't find a -fl flag

Created a queue that showed the flags.
Based on backend of cat $@ > /tmp/flags
howto_check_flags_from_remote_printer, on /home/jwtesch/printer on tesch
See me if you need a copy.
setup remote host to print to this queue:

Flags showed -fl
This is not a supported flag in AIX for the hplj-4.ps file, but we can add
this with a line in the predef and custom file:  This is a flag for
some queues that is a queue to add cr without formatting data.
:268:fl::
/usr/lib/lpd/pio/predef - cp hplj-4.ps hplj-4.ps.old, and changed hplj-4.ps.
/var/spool/lpd/pio/custom - added line in ___FIL:: section of colon file.

This worked for custom file, and now he created a new printer from the
predef file that we made.
This gave him some problems so we changed the mL attribute to give it
a different name in the mkvirprt list.

Printed perfect


Support Line: printer problems ITEM: AD0981L
Dated: November 1994 Category: N/A
This HTML file was generated 99/06/24~13:30:30
Comments or suggestions? Contact us