[cups.general] Problem printing Self-Test Pages

Helge Blischke h.blischke at acm.org
Wed Jan 25 06:52:30 PST 2012


Bruno Martins wrote:

> Hello there,
> 
> Thanks for your reply!
> 
> File exists:
> root at sputnik:/usr/share/cups/mime# ls -l /usr/lib/cups/filter/commandtops
> -rwxr-xr-x 1 root root 9444 Nov 28 16:12 /usr/lib/cups/filter/commandtops
> 
> Also...
> root at sputnik:/usr/share/cups/mime# cat mime.convs | grep vnd
> application/pdf                 application/vnd.cups-postscript 66     
> pdftops
> application/postscript          application/vnd.cups-postscript 65     
> pstops
> application/vnd.hp-HPGL         application/postscript          66     
> hpgltops
> image/gif                       application/vnd.cups-postscript 66     
> imagetops
> image/png                       application/vnd.cups-postscript 66     
> imagetops
> image/jpeg                      application/vnd.cups-postscript 66     
> imagetops
> image/tiff                      application/vnd.cups-postscript 66     
> imagetops
> image/x-bitmap                  application/vnd.cups-postscript 66     
> imagetops
> image/x-photocd                 application/vnd.cups-postscript 66     
> imagetops
> image/x-portable-anymap         application/vnd.cups-postscript 66     
> imagetops
> image/x-portable-bitmap         application/vnd.cups-postscript 66     
> imagetops
> image/x-portable-graymap        application/vnd.cups-postscript 66     
> imagetops
> image/x-portable-pixmap         application/vnd.cups-postscript 66     
> imagetops
> image/x-sgi-rgb                 application/vnd.cups-postscript 66     
> imagetops
> image/x-xbitmap                 application/vnd.cups-postscript 66     
> imagetops
> image/x-xpixmap                 application/vnd.cups-postscript 66     
> imagetops
> #image/x-xwindowdump            application/vnd.cups-postscript 66     
> #imagetops
> image/x-sun-raster              application/vnd.cups-postscript 66     
> imagetops
> application/vnd.cups-banner     application/postscript          33     
> bannertops
> image/gif                       application/vnd.cups-raster     100    
> imagetoraster
> image/png                       application/vnd.cups-raster     100    
> imagetoraster
> image/jpeg                      application/vnd.cups-raster     100    
> imagetoraster
> image/tiff                      application/vnd.cups-raster     100    
> imagetoraster
> image/x-bitmap                  application/vnd.cups-raster     100    
> imagetoraster
> image/x-photocd                 application/vnd.cups-raster     100    
> imagetoraster
> image/x-portable-anymap         application/vnd.cups-raster     100    
> imagetoraster
> image/x-portable-bitmap         application/vnd.cups-raster     100    
> imagetoraster
> image/x-portable-graymap        application/vnd.cups-raster     100    
> imagetoraster
> image/x-portable-pixmap         application/vnd.cups-raster     100    
> imagetoraster
> image/x-sgi-rgb                 application/vnd.cups-raster     100    
> imagetoraster
> image/x-xbitmap                 application/vnd.cups-raster     100    
> imagetoraster
> image/x-xpixmap                 application/vnd.cups-raster     100    
> imagetoraster
> #image/x-xwindowdump            application/vnd.cups-raster     100    
> #imagetoraster
> image/x-sun-raster              application/vnd.cups-raster     100    
> imagetoraster
> application/vnd.cups-postscript application/vnd.cups-raster     100    
> pstoraster
> application/octet-stream        application/vnd.cups-raw        0       -
> 
> Does this helps you helping me? ;-)
> 
> Best regards,
> 
> Bruno Martins
> 
> -----Original Message-----
> From: cups-bounces at easysw.com [mailto:cups-bounces at easysw.com] On Behalf
> Of Helge Blischke Sent: quarta-feira, 25 de Janeiro de 2012 12:27
> To: cups at easysw.com
> Subject: Re: [cups.general] Problem printing Self-Test Pages
> 
> Bruno Martins wrote:
> 
>> Good morning everyone,
>> 
>> I'm being unable to print self-test pages on some printers, on my CUPS
>> server (Debian 'squeeze' + Samba 3.5.6).
>> 
>> Error message I'm getting is the following (in /var/log/cups/error_log):
>> E [25/Jan/2012:08:54:55 +0000] Returning IPP
>> client-error-document-format-not-supported for Send-Document
>> (ipp://localhost:631/printers/Fotocopiadora) from localhost
>> 
>> And also this message in /var/log/cups/access_log:
>> localhost - - [25/Jan/2012:08:54:55 +0000] "POST
>> /printers/Fotocopiadora HTTP/1.1" 200 281 Send-Document
>> client-error-document-format-not-supported
>> 
>> Through CUPS Web Administration Tool I get:
>> Unable to send command to printer driver!
>> Unsupported format 'application/vnd.cups-command'!
>> 
>> My printers.conf shows this info about the problematic printer:
>> <Printer Fotocopiadora>
>> Info SHARP AR-M165
>> MakeModel Sharp AR-M165 Foomatic/pxlmono (recommended) DeviceURI
>> socket://192.168.0.242 State Idle StateTime 1327422479 Type 8400916
>> Filter application/vnd.cups-raw 0 - Filter
>> application/vnd.cups-postscript 100 foomatic-rip Filter
>> application/vnd.cups-pdf 0 foomatic-rip Accepting Yes Shared Yes
>> JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy
>> default ErrorPolicy retry-job Attribute marker-colors
>> \#000000,#000000,#000000,#000000,#000000
>> Attribute marker-levels 25,-1,-1,-1,-1 Attribute marker-names
>> Toner,Waste Toner,Photoconductive Drum,Developer,Fusing Unit Attribute
>> marker-types toner,wasteToner,opc,developer,fuser Attribute
>> marker-change-time
>> 1327422479 </Printer>
>> 
>> Is there anything I can do to troubleshoot this? I have read that it's
>> related with a recent CUPS update, but it may be not.
>> 
>> Best regards,
>> 
>> Bruno Martins
> 
> See if the filter
> /usr/lib/cups/filter/commandtops
> exists, and probably in one of your *.convs file the rule
> applicataion/vnd.cups-command  application/postscript nn commandtops where
> nn is an integer around 33, is missing.
> 
> Helge
> 
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups

To your mime.convs, add the line
application/vnd.cups-command     application/postscript          33      commandtops
(or add a file, say, repair.convs, to either /etc/cups or /usr/share/cups/mime)
and try again.

Helge





More information about the cups mailing list