Thanks John - it works! I actually did not have etc/cups/mime.conf. I had two files etc/cups/mine.types and etc/cups/mime.convs but I did the same to both files (uncomment the lines) and this worked fine!
The line was already uncommented in etc/mime.types. Thanks once again! Nick ----- Original Message ----- From: "John H Terpstra" <[EMAIL PROTECTED]> To: "Nick Gale" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, February 11, 2003 8:54 AM Subject: Re: [Samba] HP Deskjet drivers, Samba and Cups > On Tue, 11 Feb 2003, Nick Gale wrote: > > > Thanks for this, unfortunately I've tried this and it makes no difference. > > > > Below is from Cups error log, message is the same whether printer is RAW or > > set up as a Deskjet. Please note that the same problem occurs when I > > configure the printers via LPRng or Webmin. Again it doesn't matter whether > > its RAW or not. > > > > Any other clues? > > Yep! Read the CUPS Printing HOWTO! I have attached it for your reference. > > From it you will find the need to change two files: > > /etc/cups/mime.types and /etc/cups/mime.convs. In both you need to > uncomment the lines that have: > > application/octet-stream > > in them. > > In the case of my system: > > In /etc/mime.types: > > ######################################################################## > # > # Raw print file support... > # > # Uncomment the following type and the application/octet-stream > # filter line in mime.convs to allow raw file printing without the > # -oraw option. > # > > application/octet-stream > > > > And in /etc/cups/mime.conv: > > ######################################################################## > # > # Raw filter... > # > # Uncomment the following filter and the application/octet-stream type > # in mime.types to allow printing of arbitrary files without the -oraw > # option. > # > > application/octet-stream application/vnd.cups-raw 0 - > > > That should do it for you. > > - John T. > > > > > > > Thanks > > > > Nick Gale > > > > I [11/Feb/2003:08:50:02 +0000] Started "/usr/lib/cups/cgi-bin/printers.cgi" > > (pid=1778) > > I [11/Feb/2003:08:50:07 +0000] Started "/usr/lib/cups/cgi-bin/printers.cgi" > > (pid=1784) > > E [11/Feb/2003:08:50:13 +0000] print_job: Unsupported format > > 'application/octet-stream'! > > I [11/Feb/2003:08:50:13 +0000] Hint: Do you have the raw file printing rules > > enabled? > > > > > > ----- Original Message ----- > > From: "John H Terpstra" <[EMAIL PROTECTED]> > > To: "Nick Gale" <[EMAIL PROTECTED]> > > Cc: <[EMAIL PROTECTED]> > > Sent: Tuesday, February 11, 2003 12:00 AM > > Subject: Re: [Samba] HP Deskjet drivers, Samba and Cups > > > > > > > On Mon, 10 Feb 2003, Nick Gale wrote: > > > > > > > I have Samba 2.2.7 running on Redhat 8 (fully updated). I have two > > printers > > > > set up - a laser and a Deskjet 920C both connected to the Redhat server > > via > > > > USB cables. Printing is managed using CUPS although I get the same > > problem > > > > with LPR and Webmin configured printers. The laser works fine, the > > deskjet > > > > doesn't. The deskjet works with a generic windows HP Deskjet or HP > > Deskjet > > > > plus driver in black and white but if I use the actual 920C driver (Or > > any > > > > other DJ ***C driver for that matter) the print jobs appear to spool but > > > > never arrive at the printer. You see a file being generated in the Samba > > and > > > > Cups spool directory but in the Cups spool directory thay appear briefly > > and > > > > then vanish, for jobs that do make it to the printer the file is present > > for > > > > longer as the printer loads the file. > > > > > > > > I can only assume this is a problem with Samba or Cups with HP desklet > > > > drivers? Has anyone else seen this? Any Idea? > > > > > > Configure a RAW CUPS printer for the HP9x0C if you install the HP9x0C > > > driver on Windows. > > > > > > If you want to install the printer in CUPS with the CUPS driver for the > > > HP9xC, then install you Windows printers as Postscript printers and let > > > CUPS convert from postscript to HP DJ format. > > > > > > Both the above work for me. I have set up several sites with HP940C > > > printers and my own network has HP PhotoSmart P1000. All work find from > > > both Linux and Windows. For Windows I prefer to print to a RAW CUPS > > > printer and use the HP940C driver on each MS Windwos machine. Your mileage > > > may bary! > > > > > > Best advice is to read the CUPS Printing HOWTO that will be in > > > Samba-3.0.0. > > > > > > - John T. > > > -- > > > John H Terpstra > > > Email: [EMAIL PROTECTED] > > > > -- > John H Terpstra > Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba