Public bug reported: I'm trying to print a PDF file to a shared Cups network printer (HP LaserJet P1505 using the foo2xqx driver) and it fails because it is expecting a Postscript file but the job is in a different format. Either Cups should accept other formats or the client may be sending the wrong format. I retrieved the print job from the queue and the format is a gzip'd PJL encapsulated PostScript document text
The relevant part from error_log D [16/Jan/2016:11:22:40 -0500] [Job 5] File: <STDIN> D [16/Jan/2016:11:22:40 -0500] [Job 5] ================================================ D [16/Jan/2016:11:22:40 -0500] [Job 5] Filetype: PostScript D [16/Jan/2016:11:22:40 -0500] [Job 5] Reading PostScript input ... D [16/Jan/2016:11:22:40 -0500] [Job 5] Job does not start with "%!", is it Postscript? D [16/Jan/2016:11:22:40 -0500] [Job 5] Process is dying with "Unknown data format. D [16/Jan/2016:11:22:40 -0500] [Job 5] ", exit stat 3 D [16/Jan/2016:11:22:40 -0500] [Job 5] Cleaning up... D [16/Jan/2016:11:22:40 -0500] [Job 5] prnt/backend/hp.c 919: ERROR: null print job total=0 The same file prints fine from the local machine that the printer is attached to though. ProblemType: Bug DistroRelease: Ubuntu 15.10 Package: cups 2.1.0-4ubuntu3 ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6 Uname: Linux 4.2.0-23-generic x86_64 ApportVersion: 2.19.1-0ubuntu5 Architecture: amd64 Date: Sat Jan 16 11:23:51 2016 InstallationDate: Installed on 2015-02-12 (338 days ago) InstallationMedia: Ubuntu-Server 14.10 "Utopic Unicorn" - Release amd64 (20141022.2) Lpstat: device for Hewlett-Packard-HP-LaserJet-P1505: hp:/usb/HP_LaserJet_P1505?serial=CA7298H MachineType: ASUS All Series Papersize: letter PpdFiles: Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/Hewlett-Packard-HP-LaserJet-P1505.ppd'] failed with exit code 2: grep: /etc/cups/ppd/Hewlett-Packard-HP-LaserJet-P1505.ppd: Permission denied ProcEnviron: LC_CTYPE=en_US.UTF-8 TERM=screen-bce PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/zsh ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-23-generic.efi.signed root=UUID=a2c8f17f-0e64-479d-8a6c-d4d80b523c4f ro quiet SourcePackage: cups UpgradeStatus: Upgraded to wily on 2015-10-24 (84 days ago) dmi.bios.date: 10/24/2014 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 1003 dmi.board.asset.tag: To be filled by O.E.M. dmi.board.name: H81M-K dmi.board.vendor: ASUSTeK COMPUTER INC. dmi.board.version: Rev X.0x dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1003:bd10/24/2014:svnASUS:pnAllSeries:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnH81M-K:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion: dmi.product.name: All Series dmi.product.version: System Version dmi.sys.vendor: ASUS ** Affects: cups (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug wily -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1534958 Title: Cups expects Postscript format from remote client To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1534958/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs