Bug 97091
Summary: | cups won't share canon printer via samba | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Adam Wood <adwood> |
Component: | cups | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-06-12 11:11:04 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Adam Wood
2003-06-10 10:00:13 UTC
If it prints locally, there's no problem with CUPS. Jobs from samba shares are submitted by samba, locally, so the first thing to check is if it is actually submitting the jobs. Set LogLevel to debug in /etc/cups/cupsd.conf and do 'service cups reload'. When you submit a job to the samba share, are there any messages about processing the job in /var/log/cups/error_log? This is the print job in the error log with debug enabled.. D [11/Jun/2003:14:35:42 +1000] ReadClient() 6 POST /printers/BJC HTTP/1.1 D [11/Jun/2003:14:35:42 +1000] print_job: auto-typing file... E [11/Jun/2003:14:35:42 +1000] print_job: Unsupported format 'application/octet-stream'! I [11/Jun/2003:14:35:42 +1000] Hint: Do you have the raw file printing rules enabled? D [11/Jun/2003:14:35:42 +1000] Sending error: client-error-document-format-not-supported D [11/Jun/2003:14:35:42 +1000] ProcessIPPRequest: 6 status_code=40a D [11/Jun/2003:14:35:42 +1000] CloseClient() 6 My HP printer still works via samba/cups, the only line changed for the cups change over in samba was the "printing = cups". Out of interest (and not knowing any better) I changed the print processor and data type in windows. Using WinPrint and Canon Print Processor and changing the type from RAW to NT EMF and also TEXT, but I still get the same message in the log as shown above. Perhaps you need to set the Linux queue to be a raw queue (using the System Settings->Printing tool) and tell the Windows machine the printer model; i.e. use the printer driver on the Windows side. Since the HP queue works, what are the settings for that on the Windows end? On the windows side of things I have always used the factory drivers, selecting the correct model. samba.conf also contains the line under [printers]"use client driver = Yes". I have edited the print queue (using Print tool) and change the printer driver to generic - raw print queue. I can now print to the canon printer via samba. The default HP driver settings for windows is HPPRN02 processor and RAW. The default Canon driver settings for windows is Canon BJC-4300SP Print Processor and RAW. The windows side of things have not changed since doing a fresh install of RedHat 9 from the previous version of RedHat, where the Canon printer did work using samba and cups. Cups was not the default but was selected using the printer switch tool. It is intended behaviour that non-raw queues created using redhat-config-printer reject application/octet-stream data. There is a Windows IPP client available from www.cups.org. For SMB printing, either the Windows machine should be set to emit PostScript, or the Linux machine should have a raw queue configured. |