[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

strange printing problem....



Hello!

a recurrent problem i have but since i don not often print documents
that hold more than 2-3 pages i notice it not really often...

nevertheless, now i had again to print out a 50 page document, and as
usual it happenend again...

the source is a pdf file, thats AFAIK, nearly the same as a ps file,so,
no big conversion problems i think, since the printer is a HP Laserjet
5N (supposedly a PS printer i think?) besides i have the same problem
with ps alone... even tried to downscale the ps to v1, but didn't change
anything...

send the stuff down through lpr, and as usual, 3 pages, and nothing
more...

thought oh well, that problem again, and went on without a paper copy of
that thing, since the hassle of dequeuing the job, sending a new one
with the missing pages, dequing the thing again after a few pages,
  resending the missing pages etc is a real pain....
and forgot the fact that i wanted to print that document....


that was yesterday....
now oh great surprise, the printer awakens, and spits out 10 more
pages.... heh i still do not have the complete document, but hey maybe
in a week or 2 i could have the printout... supposing i don't need the
printer for some other job in the meantime.....

despite the fact that this is pretty annoying and useless... i would
really know what's happening there....

following the suggestion from some friends i made the step from bsd
style lpd to lprng... with exactly the same result... the printer i use
is the 3rd one from a pile of used printers, and is behaving exatly like
the others.....

so i am really wondering what's wrong here.... this whole matter is
simply weird.... my 1.3GHz Athlon should be able to feed the printer
orders of magnitude faster than what the printer might handle....

the fact that several printers, even if old, behave the same way, let me
suppose its not some hardware fault on the printer side....

lpq gives:
Printer: lp@kalman
 Queue: 1 printable job
 Server: pid 23907 active
 Unspooler: pid 23908 active
 Status: waiting for subserver to exit at 14:25:57.233
 Filter_status: lp is ready and printing
 Rank   Owner/ID                  Class Job Files                 Size Time
stalled(84897sec) bboett@kalman+904 A   904 /home/bboett/manual 583181 14:55:57

the printcap:
lp:\
»·······:sd=/var/spool/lpd/lp:\
»·······:mx#0:\
»·······:sh:\
»·······:lp=/dev/lp0:\
»·······:if=/usr/lib/printfilters/master-filter:\
»·······:ppdfile=/usr/share/postscript/ppd/HP_LaserJet_5.ppd:\
»·······:PAPERSIZE=a4:\
»·······:DESIRED_TO=ps:\
»·······:PRINTER_TYPE=LOCAL:\
»·······:ASCII_TO_PS=YES:\
»·······:GSDEVICE=ljet4:\
»·······:RESOLUTION=600x600:\
»·······:PS_SEND_EOF=YES:\
»·······:NUP=1:\
»·······:RTLFTMAR=18:\
»·······:TOPBOTMAR=18:\
»·······:TEXT_SEND_EOF=NO:

and concerning the processes:
daemon   23907  0.0  0.1  3764 1016 ?        S    Apr03   0:00 lpd (Server) 'lp'
daemon   23908  0.0  0.1  3768  932 ?        S    Apr03   0:00 lpd (Worker - Pri
nt) 'lp'
daemon   23909  0.0  0.1  2116  864 ?        S    Apr03   0:00 /bin/bash /usr/li
b/printfilters/master-filter -Abboett@kalman+904 -CA -D2003-04-03-14:55:57.345 
-Ff -Hkalman -J/home/bboett/manual.pdf -N/home/bboett/manual.pdf -Plp -Qlp 
-aacct -b583181 -d/var/spool/lpd /lp -edfA904kalman -f/home/bboett/manual.pdf -hkalman
 -j904 -kcfA904kalman -l66 -nbboett -sstatus -t2003-04-03-14:55:57.000 -w80 -x0 
-y0 acct
daemon   23942  0.0  0.1  2064  860 ?        S    Apr03   0:00 /bin/bash /usr/li
b/printfilters/pdf-to-ps.fpi
daemon   23943  0.0  0.1  2084  856 ?        S    Apr03   0:00 /bin/sh /usr/lib/
printfilters/ps-to-printer.fpi
daemon   23958  0.0  0.6  8860 3536 ?        S    Apr03   0:02 gs -r600x600 -sPA
PERSIZE=a4 -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite -sOutputFile=- -c save 
pop -f /tmp/pdf-to-pf.XBEPCpc
daemon   23966  0.0  0.1  2084  860 ?        S    Apr03   0:00 /bin/sh /usr/lib/
printfilters/ps-to-printer.fpi
daemon   23967  0.0  0.0  1308  388 ?        S    Apr03   0:00 sed s/[(]%%.*%%[)
].*flush//g
daemon   23968  0.0  1.2 11868 6652 ?        S    Apr03   1:03 gs -q -sDEVICE=lj
et4 -r600x600 -sPAPERSIZE=a4 -dNOPAUSE -dSAFER -sOutputFile=- -f -
daemon   23969  0.0  0.0  1192  272 ?        S    Apr03   0:00 cat -

hope i got em all....
so if someone could help here and make the printing stuff somehow
usable, or has at least an idea on what's happening...

-- 
ciao bboett
==============================================================
bboett@adlp.org
http://inforezo.u-strasbg.fr/~bboett
===============================================================



Reply to: