Linux Printer from Win98 - Resolved

Jim Kuzdrall gnhlug at intrel.com
Thu Sep 15 15:19:00 EDT 2005


>    The word "virtually" in the above worries me.  I've certainly
> burned myself with statements like that before.  :-)  But anyway...

    That is why I used it.  Virtually is one of the words that has 
flip-flopped in our language.  It should mean "essentially or in 
appearance, but not formally or actually".  In common usage today, it 
often means "truly".  Decimate is another word I hesitate to use by its 
dictionary definition.  It means a loss of 1 in 10 but is often used to 
suggest 9 in 10.  

>    Try adding the following to smb.conf, in the "[global]" section:

    No change.

> It may be that things go as
> far as Win98->Samba->CUPS and then barfs in the printer...

    That put me on the right track.  Thanks!

    Enabled "ErrorLog /var/log/cups/error_log" in cupsd.conf.
    Try Win98 print again.  Got this:
------------------------------------------------------------------
D [15/Sep/2005:08:59:05 -0400] AcceptClient: 5 from localhost:631.
D [15/Sep/2005:08:59:05 -0400] ReadClient: 5 POST / HTTP/1.1
D [15/Sep/2005:08:59:05 -0400] ProcessIPPRequest: 5 status_code=0
D [15/Sep/2005:08:59:05 -0400] ReadClient: 5 POST / HTTP/1.1
D [15/Sep/2005:08:59:05 -0400] ProcessIPPRequest: 5 status_code=0
D [15/Sep/2005:08:59:05 -0400] CloseClient: 5
D [15/Sep/2005:08:59:07 -0400] AcceptClient: 5 from localhost:631.
D [15/Sep/2005:08:59:07 -0400] ReadClient: 5 POST /printers/hp990_1 
HTTP/1.1
D [15/Sep/2005:08:59:07 -0400] print_job: auto-typing file...
E [15/Sep/2005:08:59:07 -0400] print_job: Unsupported format 
'application/octet-stream'!
I [15/Sep/2005:08:59:07 -0400] Hint: Do you have the raw file printing 
rules enabled?
D [15/Sep/2005:08:59:07 -0400] Sending error: 
client-error-document-format-not-supported
D [15/Sep/2005:08:59:07 -0400] ProcessIPPRequest: 5 status_code=40a
D [15/Sep/2005:08:59:07 -0400] CloseClient: 5
-------------------------------------------------------------------

    Enabled mime type "application/octet-stream" in 
both /etc/cups/mime.types and mime.convs.

    That was it!   The old virtually-the-same setup used an explicit 
(another word whose meaning has changed) "print command" which included 
-o raw, making the stream mime unnecessary.  Apparently, samba 2.2 
honored "print command" even if "printcap name" and "printing" were 
both equal to "cups" in smb.conf.  Not so with samba 3.0.

    The mystery is solved.  The day is won.  The sun shines again.

    I probably will remember that I learned something from this but 
forget what it was.

Jim 

 



More information about the gnhlug-discuss mailing list