I have a print server with an HP 4050PS laser printer and a colour HP1150C unit. Printing to the laserjet from other SuSE boxes, or Win boxes via Samba works fine. Printing to the 1150C from a Win98 box works fine, As do html pages in Konqueror, but not from Firefox (printing via Kprinter or the default). Printing a .ps file from Konqeror fails, and both this, and the firefox print give an "empty print file" error in the cups errorlog, although the printer manager shows a ~15k file. Printing from XP/W2k fails with an "unsupported format 'application/octet-stream'" error. I have tried turning filtering on and off, which only serves to let firefox print 2 lines of raw data and stop. The Win98 box prints happily in either mode! What next to try?? -- Tim Nicholson http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.
On Wednesday 01 December 2004 17:26, Tim Nicholson wrote:
Printing from XP/W2k fails with an "unsupported format 'application/octet-stream'" error.
I have tried turning filtering on and off, which only serves to let firefox print 2 lines of raw data and stop. The Win98 box prints happily in either mode!
What next to try??
-- Tim Nicholson
Hi Tim I think the answer might be that you haven't enabled the mime type "application/octet-stream" in the cups config files. This problem has caught me out before. In my version (SUSE 9.2), the files you would need to look at are: /etc/cups/mime.convs /etc/cups/mime.types I expect it's the same across recent versions (8.2 onwards). In mime.convs, edit as root and uncomment the line #application/octet-stream application/vnd.cups-raw 0 - In mime.types, uncomment #application/octet-stream Then issue rccups restart ..and hopefully it will work. Steve
Steve Dowe wrote:
On Wednesday 01 December 2004 17:26, Tim Nicholson wrote:
Printing from XP/W2k fails with an "unsupported format 'application/octet-stream'" error.
I have tried turning filtering on and off, which only serves to let firefox print 2 lines of raw data and stop. The Win98 box prints happily in either mode!
What next to try??
-- Tim Nicholson
Hi Tim
I think the answer might be that you haven't enabled the mime type "application/octet-stream" in the cups config files. This problem has caught me out before.
In my version (SUSE 9.2), the files you would need to look at are: /etc/cups/mime.convs
Had missed this one :(
/etc/cups/mime.types
Had done that one :)
Now W2k/XP printing seems to work fine without having to have a Raw stream to the same printer as the filtered one. No idea why W98 was OK beofre though... However I still cannot get another PC with Suse to print reliably to it, I still keep getting "empty print file" entries in the error_log for mozilla and others, but not Kate! -- Tim Nicholson http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.
On Sat, 4 Dec 2004 23:09, Tim Nicholson wrote:
However I still cannot get another PC with Suse to print reliably to it, I still keep getting "empty print file" entries in the error_log for mozilla and others, but not Kate!
On the client machine make sure you have the ip address or the fully qualified host name of your server entered into /etc/cups/client.conf You can test to see if cups is connecting to the server by lpstat -t which should list out the printer queues and status of the cups server. For some reason KDE finds the ip address of the cups server automatically but cups doesn't. -- Regards, Graham Smith ---------------------------------------------------------
Graham Smith wrote:
On Sat, 4 Dec 2004 23:09, Tim Nicholson wrote:
However I still cannot get another PC with Suse to print reliably to it, I still keep getting "empty print file" entries in the error_log for mozilla and others, but not Kate!
On the client machine make sure you have the ip address or the fully qualified host name of your server entered into /etc/cups/client.conf
You can test to see if cups is connecting to the server by lpstat -t which should list out the printer queues and status of the cups server.
smc:/home/tim # lpstat -t scheduler is running system default destination: HP1150c device for EspyLaserJet: ipp://espy:631/printers/EspyLaserJet device for HP1150c: ipp://espy:631/printers/HP1150c EspyLaserJet accepting requests since Jan 01 00:00 HP1150c accepting requests since Jan 01 00:00 printer EspyLaserJet is idle. enabled since Jan 01 00:00 Waiting for job to complete... printer HP1150c is idle. enabled since Jan 01 00:00 Waiting for job to complete... I think the problem is a filtering one, with the filter spewing out empty files for some types of input, and leaving the log entry on the print server, not the client by the way.
For some reason KDE finds the ip address of the cups server automatically but cups doesn't.
seems to here! -- Tim Nicholson http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.
participants (3)
-
Graham Smith
-
Steve Dowe
-
Tim Nicholson