<?xml version="1.0" encoding="UTF-8" standalone="yes"?><oembed><version><![CDATA[1.0]]></version><provider_name><![CDATA[Software is Crap]]></provider_name><provider_url><![CDATA[https://davmac.wordpress.com]]></provider_url><author_name><![CDATA[davmac]]></author_name><author_url><![CDATA[https://davmac.wordpress.com/author/davmac/]]></author_url><title><![CDATA[CUPS and unhelpful error&nbsp;messages]]></title><type><![CDATA[link]]></type><html><![CDATA[<p>I&#8217;m currently trying to set up my HP PSC 1410 printer with CUPS. For a bit I was getting this message, when I tried to print a web page via the CUPS web interface:</p>
<p><i>Error: Unsupported format &#8216;application/postscript&#8217;!</i></p>
<p>Well, it turns out the problem was I needed to update my ghostscript version to one that included the &#8220;pstoraster&#8221; filter (specifically, GNU ghostscript 8.60, though I assume GPL ghostscript 8.60/8.61 would be fine also. Let&#8217;s not get started on the ridiculous number of ghostscript variants; I&#8217;ll save that for another day). I could have been saved quite some time if this had been made more clear by the error message. How about something like:</p>
<p><i>Unsupported format &#8216;application/postscript&#8217;: Could not find &#8220;pstoraster&#8221; filter specified in /etc/cups/mime.convs file</i></p>
<p>That would be much more helpful! Yes, I understand it might not be meaningful for a casual PC user but then the original message is not helpful in that case anyway. Oh, and it gets rid of that annoying exclamation mark.</p>
<p>Still haven&#8217;t got the printer working though; now it just starts a whole bunch of processes (foomatic-rip, gs) which all just seem to hang.</p>
<p><i>Update:</i> Ok ,several hours later I have got it working. It was permissions; I had to modify udev rules so that the usb device nodes were created with the right group and permissions. Incidentally, hplip (HP&#8217;s software) includes a udev rules file but it&#8217;s outdated (uses SYSFS instead of ATTR) and insecure (sets mode 0666 instead of 0660). I don&#8217;t know why the driver doesn&#8217;t try and open the device <i>before</i> running ghostscript and all that stuff.</p>
<p>Oh, and CUPS has a weird problem when you have only a single remote printer, and no local printers. For some reason, when I try and modify a class, the remote printer doesn&#8217;t come up in the list. I could add the remote printer to the class via the command line, however.</p>
]]></html></oembed>