Still getting client-error-document-format-not-supported ?
I’ve wanted to set up a shared printer in my office where I run mixed boxes (both windows and linux), in particular I wanted to allow a windows box to print to a printer attached to a linux box.
Guess what? Error! Error! The document was in the queue but the printer kept idling.
CUPS “error_log” showed
Print-Job client-error-document-format-not-supported: Unsupported format ‘application/octet-stream’!
If you search that message you’ll find thousands of people telling you to uncomment two lines in CUPS configuration (even thou with recent Ubuntu it shouldn’t be necessary).
Problem is: that’s not enough!
The solution came reading this post in the ubuntuforums.
It seems that having the right driver on both boxes fools CUPS.
As I wanted the right driver on the linux box (it is its only local printer), I told windows to use a rawer one, “MS Publisher Imagesetter”, and that did the job.
UPDATE
I’ve found that even the contrary solves the problem. Indeed it’s even better.
Set up the printer on linux as a raw queue and then use the right driver on windows.
