My Samba printing suddenly stops because a cups file I have edited to allow samba printing (/etc/cups/mime.types) keeps getting rewritten to its orginal version. I orginally fixed this problem by following the instructions for allowing raw file printing. This requires editing two files:
/etc/cups/mime.types by uncommenting the line "application/octet-stream"
/etc/cups/mime.convs by uncommenting the line "application/octet-stream application/vnd.cups-raw 0 -"
Lastly, restart CUPS and SAMBA like this:
This will work for a day or two and then /etc/cups/mime.types reverts to its "commented out" original version. Could someone tell me what I am doing wrong?
Here are my SAMBA error logs:
[2006/05/23 23:01:45, 0] smbd/server.c:main(798) smbd version 3.0.14a-2 started. Copyright Andrew Tridgell and the Samba Team 1992-2004
[2006/05/23 23:02:05, 1] smbd/service.c:make_connection_snum(642) 10.1.1.5 (10.1.1.5) connect to service printer initially as user samba (uid=599, gid=599) (pid 27711)
[2006/05/23 23:02:10, 0] printing/print_cups.c:cups_job_submit(643) Unable to print file to printer - client-error-document-format-not-supported[2006/05/23 23:02:10, 1] smbd/service.c:close_cnum(830) 10.1.1.5 (10.1.1.5) closed connection to service printer
Here are my CUPS error logs:
[23/May/2006:23:01:45 -0400] print_job: Unsupported format 'application/octet-stream'!
[23/May/2006: 23:01:45-0400] Hint: Do you have the raw file printing rules enabled?