John Mann's Weblog (on sng) | |||||
String around my finger
Index
Flavours
Links
Subscribe
Click to call me FWD# 61159 |
Wed, 08 Dec 2004 Even after following previous instructions, I was having problems. After a reboot, or a cups upgrade, printing from Windows would stop working! The failure was silent from the Windows client point of view - print job just disappears! There is a message in /var/log/cups/error_log, e.g.E [05/Dec/2004:21:12:36 +1100] print_job: Unsupported format 'application/octet-stream'! I [05/Dec/2004:21:12:36 +1100] Hint: Do you have the raw file printing rules enabled?The following line from /etc/cups/mime.types was being commented out: application/octet-streamFound offending code! "/etc/init.d/cups start" calls /usr/sbin/printconf-backend, which imports /usr/share/printconf/util/backend.py which contains: def adjust_mime_types (allow_octet_stream): """Set or unset 'application/octet-stream' in the mime.types file. It needs to be set if there are any raw queues.""" The critical part is that it unsets 'application/octet-stream' if there are no raw queues. So, define a raw queues, even if you never explicitly use it. |
||||