John Matthews on Mon, 25 Nov 2002 10:12:21 +0100 (CET)(envelope-from owner-apsfilter-help@apsfilter.org)


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

Timeout problem printing pdf files from Windows via Smaba


Hi there,

I've been having a problem with apsfilter printing pdf files. Basically the
jobs seem to take forever and then eventually time out. Here is the
configuration and log files:

I'm not sure how apsfilter works - I assume that it does some conversion
(probably to ps?). If I convert the file to ps under Linux and then print,
it will print OK. So something appears to be timing out in the conversion
from pdf to whatever. Where do I start troubleshooting?

The job file appears to be in '/var/spool/lpd/LJ1100/' - but is 4Mb big so I
don't want to post to the list.

Thanks in advance,

John.

Machine (Duron 800):
Linux nijinsky 2.4.18-ac2 #2 Thu Feb 28 15:52:11 GMT 2002 i686 unknown

/etc/printcap (printer is an HP LJ 1100):
# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
LJ1100|ljet4;r=600x600;q=high;c=full;p=a4;m=auto:\
    :lp=/dev/lp0:\
    :if=/etc/apsfilter/basedir/bin/apsfilter:\
    :sd=/var/spool/lpd/LJ1100:\
    :lf=/var/spool/lpd/LJ1100/log:\
    :af=/var/spool/lpd/LJ1100/acct:\
    :mx#0:\
    :sh:
# APS1_END - don't delete this

Queue after the job has aborted:
jlm@nijinsky:~$ lpq
Printer: LJ1100@nijinsky 'ljet4;r=600x600;q=high;c=full;p=a4;m=auto'
 Queue: no printable jobs in queue
 Server: no server active
 Status: job 'jlm@nijinsky+472' error 'aborting operations' at 02:05:26.384
 Rank   Owner/ID                  Class Job Files                 Size Time
error  jlm@nijinsky+472             A   472 ERROR: aborting operations

Log messages:
 Status: subserver pid 16474 starting at 00:25:27.113
 Status: accounting at start at 00:25:27.113
 Status: opening device '/dev/lp0' at 00:25:27.113
 Status: printing job 'jlm@nijinsky+472' at 00:25:27.182
 Status: processing 'dfA472nijinsky.private.matthews-net.org.uk', size
4052181, format 'f', IF filter 'apsfilter' at 00:25:27.182
 Status: waiting for subserver to exit at 00:33:11.682
 Status: waiting for subserver to exit at 00:43:11.603
 Status: waiting for subserver to exit at 00:53:11.523
 Status: waiting for subserver to exit at 01:03:11.443
 Status: waiting for subserver to exit at 01:13:11.364
 Status: waiting for subserver to exit at 01:23:11.284
 Status: waiting for subserver to exit at 01:33:11.204
 Status: waiting for subserver to exit at 01:43:11.125
 Status: waiting for subserver to exit at 01:53:11.045
 Status: waiting for subserver to exit at 02:03:11.965
 Status: IF filter 'apsfilter' filter problems, error 'JTIMEOUT' at
02:05:26.382
 Status: printing finished at 02:05:26.382
 Status: accounting at end at 02:05:26.382
 Status: finished 'jlm@nijinsky+472', status 'JTIMEOUT' at 02:05:26.382
 Status: subserver pid 16474 exit status 'JTIMEOUT' at 02:05:26.384
 Status: job 'jlm@nijinsky+472' error 'aborting operations' at 02:05:26.384
 Rank   Owner/ID                  Class Job Files                 Size Time
error  jlm@nijinsky+472             A   472 ERROR: aborting operations