[cups.general] pdftops Empty print file!

Karl Rossing karlr at barobinson.com
Thu Sep 8 11:59:44 PDT 2011


Hi,

LibreOffice seems to really want to send pdf files to cups. It seems that pdftops is failing to run on my opensolaris cups 1.4.1 server

It looks like from the log below that pdftops just outputs it's standard error of "Usage: pdftops job user title copies options [filename]"

I'm wondering if there is a way easily fix this. I would like to avoid recompiling cupsd

Thanks
Karl


E [08/Sep/2011:13:26:26 +0600] [Job 29357] Empty print file!
E [08/Sep/2011:13:26:31 +0600] [Job 29357] Job stopped due to filter errors; please consult the error_log file for details.
D [08/Sep/2011:13:26:31 +0600] [Job 29357] The following messages were recorded from 13:26:26 to 13:26:31
D [08/Sep/2011:13:26:31 +0600] [Job 29357] Adding start banner page "none".
D [08/Sep/2011:13:26:31 +0600] [Job 29357] Adding end banner page "none".
D [08/Sep/2011:13:26:31 +0600] [Job 29357] File of type application/pdf queued by "karlr".
D [08/Sep/2011:13:26:31 +0600] [Job 29357] hold_until=0
D [08/Sep/2011:13:26:31 +0600] [Job 29357] Queued on "bae-lj3" by "karlr".
D [08/Sep/2011:13:26:31 +0600] [Job 29357] job-sheets=none,none
D [08/Sep/2011:13:26:31 +0600] [Job 29357] argv[0]="bae-lj3"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] argv[1]="29357"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] argv[2]="karlr"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] argv[3]="Untitled1"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] argv[4]="1"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] argv[5]="document-name=fQktNa Duplex=None InputSlot=Tray1 PageSize=Letter noCollate job-uuid=urn:uuid:e2a38b3d-19f5-37be-7dad-c82189dfe99c lease-duration=300 job-originating-host-name=10.1.192.8"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] argv[6]="/var/spool/cups/d29357-001"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[2]="CUPS_DOCROOT=/usr/share/doc/cups"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[3]="CUPS_FONTPATH=/usr/openwin/lib"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[8]="HOME=/var/spool/cups/tmp"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[10]="SERVER_ADMIN=root at bae-psrv1.barobinson.ca"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[11]="SOFTWARE=CUPS/1.4.1"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[13]="TZ=Canada/Central"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[14]="USER=root"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[15]="CUPS_SERVER=/var/run/cups-socket"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[17]="IPP_PORT=631"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[18]="CHARSET=utf-8"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[19]="LANG=en_US.UTF-8"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[20]="PPD=/etc/cups/ppd/bae-lj3.ppd"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[21]="RIP_MAX_CACHE=8m"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[22]="CONTENT_TYPE=application/pdf"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[23]="DEVICE_URI=socket://bae-lj3:9100"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[24]="PRINTER_INFO=Lexmark X364dn"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[25]="PRINTER_LOCATION=IT Office."
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[26]="PRINTER=bae-lj3"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[27]="CUPS_FILETYPE=document"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] envp[28]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] Started filter /usr/lib/cups/filter/pdftops (PID 5409)
D [08/Sep/2011:13:26:31 +0600] [Job 29357] Started backend /usr/lib/cups/backend/socket (PID 5410)
D [08/Sep/2011:13:26:31 +0600] [Job 29357] STATE: +connecting-to-device
D [08/Sep/2011:13:26:31 +0600] [Job 29357] Looking up "bae-lj3"...
D [08/Sep/2011:13:26:31 +0600] [Job 29357] Connecting to bae-lj3:9100
D [08/Sep/2011:13:26:31 +0600] [Job 29357] Connecting to printer...
D [08/Sep/2011:13:26:31 +0600] [Job 29357] STATE: -connecting-to-device
D [08/Sep/2011:13:26:31 +0600] [Job 29357] Connected to printer...
D [08/Sep/2011:13:26:31 +0600] [Job 29357] Connected to 10.1.192.20:9100 (IPv4)...
D [08/Sep/2011:13:26:31 +0600] [Job 29357] Usage: pdftops job user title copies options [filename]
D [08/Sep/2011:13:26:31 +0600] [Job 29357] Started filter pdftops (PID 5411)
D [08/Sep/2011:13:26:31 +0600] [Job 29357] hrDeviceDesc="Unknown"
D [08/Sep/2011:13:26:31 +0600] [Job 29357] Started filter pstops (PID 5412)
D [08/Sep/2011:13:26:31 +0600] [Job 29357] Set job-printer-state-message to "Empty print file!", current level=ERROR
D [08/Sep/2011:13:26:31 +0600] [Job 29357] PID 5412 (pstops) stopped with status 1!
D [08/Sep/2011:13:26:31 +0600] [Job 29357] PID DEBUG: prtGeneralCurrentLocalization type is 5, expected 2!
D [08/Sep/2011:13:26:31 +0600] [Job 29357] backendRunLoop(print_fd=0, device_fd=6, snmp_fd=7, addr=806d674, use_bc=1, side_cb=8052844)
D [08/Sep/2011:13:26:31 +0600] [Job 29357] 5411 (pdftops) stopped with status 1!
D [08/Sep/2011:13:26:31 +0600] [Job 29357] Print file sent, waiting for printer to finish...
D [08/Sep/2011:13:26:31 +0600] [Job 29357] Ready to print.
D [08/Sep/2011:13:26:31 +0600] [Job 29357] End of messages
D [08/Sep/2011:13:26:31 +0600] [Job 29357] printer-state=3(idle)
D [08/Sep/2011:13:26:31 +0600] [Job 29357] printer-state-message="Ready to print."
D [08/Sep/2011:13:26:31 +0600] [Job 29357] printer-state-reasons=none










CONFIDENTIALITY NOTICE:  This communication (including all attachments) is
confidential and is intended for the use of the named addressee(s) only and
may contain information that is private, confidential, privileged, and
exempt from disclosure under law.  All rights to privilege are expressly
claimed and reserved and are not waived.  Any use, dissemination,
distribution, copying or disclosure of this message and any attachments, in
whole or in part, by anyone other than the intended recipient(s) is strictly
prohibited.  If you have received this communication in error, please notify
the sender immediately, delete this communication from all data storage
devices and destroy all hard copies.





More information about the cups mailing list