<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Alaric wrote:<br>
<blockquote cite="mid000001c4026a$20418410$6501a8c0@PaxIndustria"
 type="cite">
  <pre wrap="">
lpr: unable to print file: client-error-document-format-not-supported


  </pre>
</blockquote>
from my howto on linux network printing:
<a class="moz-txt-link-freetext" href="http://freephile.com/tiki/tiki-index.php?page=HowToNetworkPrinting">http://freephile.com/tiki/tiki-index.php?page=HowToNetworkPrinting</a><br>
<h2>Ready to Print?
</h2>
At this point I was excited. I thought I had achieved the holy
grail of network print serving on my home network. However, when I
opened a webpage and tried to print it, I saw the led lights on the hub
go wild but the printer just sat there. Clearly Samba was allowing me
access to the printer across the network, and there was no firewall in
the middle. The CUPS web interface showed no print jobs in process or
queued. So, I took a look at the CUPS error logs to find out what was
happening.
<br>
<font face="courier" size="2">cat /var/log/samba/freedom.log
</font><br>
"Unable to print file to Lex22 -
client-error-document-format-not-supported"
<br>
According to a search on Google, and from what I learned in reading
the book, I suspected that the printing process was not delivering an
acceptable format to CUPS. To print from a Windows client, you need to
allow 'raw printing' so that CUPS doesn't do any processing of the data
sent to the printer. The local print driver is already doing all the
work on the Windows Client machine. So, you need to edit the last
section in two files in the cups directory of your <a class="wiki"
 href="http://freephile.com/tiki/tiki-index.php?page=Linux"
 target="_blank">Linux</a> machine:
<br>
<font face="courier" size="2">vi /etc/cups/mime.types
</font><br>
<font face="courier" size="2">vi /etc/cups/mime.convs
</font><br>
Uncomment the 'application/octet-stream' lines to allow raw printing.
<br>
<br>
I restarted the cupsd daemon from the services control panel in RH
Linux. The equivalent konsole command line would be
<br>
<font face="courier" size="2">/etc/rc.d/init.d/cups restart</font><br>
<br>
-Greg<br>
<pre class="moz-signature" cols="72">-- 
FREePHILE
We are 'Open' for Business
Free and Open Source Software
<a class="moz-txt-link-freetext" href="http://www.freephile.com">http://www.freephile.com</a>
(978) 270-2425
No evil can happen to a good man.
                -- Plato
</pre>
</body>
</html>