[cups.general] "client-error-document-format-not-supported"

Helge Blischke h.blischke at acm.org
Sun Feb 6 04:54:39 PST 2011


John Meshkoff wrote:

> Hello, I'm having difficulty getting an Epson Photo R300 working
> properly. Cups 1.2.6, on Vector Linux 5.8.
> 
>   uname -a
> Linux linus.inet 2.6.18.5 #2 SMP PREEMPT Sat Dec 9 19:01:25 MST 2006
> i586 k6-2 i386 GNU/Linux
> 
> The application is Gimp-Print Version 4.2, using "lpr" as the print
> command, there is no print output to the printer.
> 
> The Gimp-Print info dialog says "Note: Please do not remove the "-l" or
> "-oraw" from the command string, or printing will probably fail!."
> 
> However, if the "-l" option is used, the printer spits out raw
> postscript! With standard 4x6 photo stock, this gets costly fast!
> 
> 
> johnpipe:$ cat /etc/cups/cupsd.conf
> # Show troubleshooting information in error_log.
> LogLevel debug
> SystemGroup sys root
> # Allow remote access
> Port 631
> Listen /var/run/cups/cups.sock
> # Enable printer sharing and shared printers.
> Browsing On
> BrowseOrder allow,deny
> BrowseAllow @LOCAL
> BrowseAddress @LOCAL
> DefaultAuthType Basic
> <Location />
>    # Allow shared printing...
>    Order allow,deny
>    Allow @LOCAL
> </Location>
> <Location /admin>
>    Encryption Required
>    # Restrict access to the admin pages...
>    Order allow,deny
>    Allow localhost
> </Location>
> <Location /admin/conf>
>    AuthType Basic
>    Require user @SYSTEM
>    # Restrict access to the configuration files...
>    Order allow,deny
>    Allow localhost
> </Location>
> <Policy default>
>    <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job
> Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription
> Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job
> Suspend-Current-Job Resume-Job CUPS-Move-Job>
>      Require user @OWNER @SYSTEM
>      Order deny,allow
>    </Limit>
>    <Limit Pause-Printer Resume-Printer Set-Printer-Attributes
> Enable-Printer Disable-Printer Pause-Printer-After-Current-Job
> Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer
> Restart-Printer Shutdown-Printer Startup-Printer Promote-Job
> Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class
> CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
>      AuthType Basic
>      Require user @SYSTEM
>      Order deny,allow
>    </Limit>
>    <Limit CUPS-Authenticate-Job>
>      Require user @OWNER @SYSTEM
>      Order deny,allow
>    </Limit>
>    # Only the owner or an administrator can cancel a job...
>    <Limit Cancel-Job>
>      Order deny,allow
>      Require user @OWNER @SYSTEM
>    </Limit>
>    <Limit All>
>      Order deny,allow
>    </Limit>
> </Policy>
> 
> ----
> 
> # Printer configuration file for CUPS v1.2.6
> # Written by cupsd on 2010-10-20 18:50
> <DefaultPrinter Photo_Printer>
> Info Epson Stylus Photo R300
> Location home
> DeviceURI usb://EPSON/Stylus%20Photo%20R300
> State Idle
> StateTime 1287210832
> Accepting Yes
> Shared Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> OpPolicy default
> ErrorPolicy stop-printer
> </Printer>
> /etc/cups/printers.conf lines 1-17/17 (END)
> 
> ----
> 
> Log info,etc:
> 
> 
> johnpipe:$ tail -7 access_log
> localhost - - [04/Feb/2011:17:54:36 -0800] "POST / HTTP/1.1" 200 80
> CUPS-Get-Default successful-ok
> localhost - - [04/Feb/2011:17:54:59 -0800] "POST /printers/Photo_Printer
> HTTP/1.1" 200 3634123 Print-Job client-error-document-format-not-supported
> localhost - - [04/Feb/2011:18:07:03 -0800] "POST / HTTP/1.1" 200 268
> Get-Jobs successful-ok
> 
> ...
> 
> from access_log
> 
> D [21/Jan/2011:17:54:33 -0800] cupsdNetIFUpdate: "lo" = localhost...
> D [21/Jan/2011:17:54:33 -0800] cupsdNetIFUpdate: "eth0" = 71.198.17.138...
> D [23/Jan/2011:17:54:10 -0800] cupsdNetIFUpdate: "lo" = localhost...
> D [23/Jan/2011:17:54:10 -0800] cupsdNetIFUpdate: "eth0" = 71.198.17.138...
> D [24/Jan/2011:17:54:09 -0800] cupsdNetIFUpdate: "lo" = localhost...
> D [24/Jan/2011:17:54:09 -0800] cupsdNetIFUpdate: "eth0" = 71.198.17.138...
> D [04/Feb/2011:17:54:36 -0800] cupsdAcceptClient: 7 from localhost
> (Domain) D [04/Feb/2011:17:54:36 -0800] cupsdReadClient: 7 POST / HTTP/1.1
> D [04/Feb/2011:17:54:36 -0800] cupsdAuthorize: No authentication data
> provided.
> D [04/Feb/2011:17:54:36 -0800] CUPS-Get-Printers
> D [04/Feb/2011:17:54:36 -0800] cupsdProcessIPPRequest: 7 status_code=0
> (successful-ok)
> D [04/Feb/2011:17:54:36 -0800] cupsdReadClient: 7 POST / HTTP/1.1
> D [04/Feb/2011:17:54:36 -0800] cupsdAuthorize: No authentication data
> provided.
> D [04/Feb/2011:17:54:36 -0800] CUPS-Get-Classes
> D [04/Feb/2011:17:54:36 -0800] cupsdProcessIPPRequest: 7 status_code=0
> (successful-ok)
> D [04/Feb/2011:17:54:36 -0800] cupsdReadClient: 7 POST / HTTP/1.1
> D [04/Feb/2011:17:54:36 -0800] cupsdAuthorize: No authentication data
> provided.
> D [04/Feb/2011:17:54:36 -0800] CUPS-Get-Default
> D [04/Feb/2011:17:54:36 -0800] cupsdProcessIPPRequest: 7 status_code=0
> (successful-ok)
> D [04/Feb/2011:17:54:36 -0800] cupsdCloseClient: 7
> D [04/Feb/2011:17:54:39 -0800] cupsdNetIFUpdate: "lo" = localhost...
> D [04/Feb/2011:17:54:39 -0800] cupsdNetIFUpdate: "eth0" = 71.198.17.138...
> D [04/Feb/2011:17:54:59 -0800] cupsdAcceptClient: 7 from localhost
> (Domain) D [04/Feb/2011:17:54:59 -0800] cupsdReadClient: 7 POST
> /printers/Photo_Printer HTTP/1.1
> D [04/Feb/2011:17:54:59 -0800] cupsdAuthorize: No authentication data
> provided.
> D [04/Feb/2011:17:54:59 -0800] Print-Job
> ipp://localhost/printers/Photo_Printer
> D [04/Feb/2011:17:54:59 -0800] print_job: auto-typing file...
> D [04/Feb/2011:17:54:59 -0800] print_job: request file type is
> application/octet-stream.
> D [04/Feb/2011:17:54:59 -0800] Print-Job
> client-error-document-format-not-supported: Unsupported format
> 'application/octet-stream'!
> D [04/Feb/2011:17:54:59 -0800] cupsdProcessIPPRequest: 7 status_code=40a
> (client-error-document-format-not-supported)
> D [04/Feb/2011:17:54:59 -0800] cupsdCloseClient: 7
> linus://var/log/cups
> johnpipe:$
> 
> Thanks in advance for any help,
> 
> John
> 

The printer's XML description of the (most) recent foomatic package states 
that Gutenprint 5.0.x at least is needed to support this printer.

I guess you need to upgrade your Gimp-Print to Gutenprint 5.0.x (current is 
5.32.6).

Helge





More information about the cups mailing list