[opensuse] trouble with getting windows 7 to print to cups - client-error-bad-request (client-error-bad-request)
I am, quite unusually, trying to get a Windows 7 laptop to use our CUPS server. The printer is shared with samba, it's installed fine etc., but when I try to print the test-page or a PDF document, it ends up queued with status "Print file was not accepted.". In /var/log/cups/error_log I see: D [10/Mar/2015:14:25:21 +0100] [Job 988] Validate-Job IPP/1.1 D [10/Mar/2015:14:25:21 +0100] [Job 988] printer-uri="http://kyocera.local.net:80/ipp" D [10/Mar/2015:14:25:21 +0100] [Job 988] requesting-user-name="nadine" D [10/Mar/2015:14:25:21 +0100] [Job 988] job-name="988 - smbprn.00000027 Test Page" D [10/Mar/2015:14:25:21 +0100] [Job 988] document-format="application/octet-stream" D [10/Mar/2015:14:25:21 +0100] [Job 988] Validate-Job: client-error-bad-request (client-error-bad-request) D [10/Mar/2015:14:25:21 +0100] [Job 988] Print-Job IPP/1.1 D [10/Mar/2015:14:25:21 +0100] [Job 988] printer-uri="http://kyocera.local.net:80/ipp" D [10/Mar/2015:14:25:21 +0100] [Job 988] requesting-user-name="nadine" D [10/Mar/2015:14:25:21 +0100] [Job 988] job-name="988 - smbprn.00000027 Test Page" D [10/Mar/2015:14:25:21 +0100] [Job 988] document-format="application/octet-stream" D [10/Mar/2015:14:25:21 +0100] [Job 988] Sending file using HTTP/1.1 chunking... I [10/Mar/2015:14:25:21 +0100] [Job 988] Sleeping D [10/Mar/2015:14:25:21 +0100] [Job 988] update_reasons(attr=1(none), s="(null)") D [10/Mar/2015:14:25:21 +0100] [Job 988] Get-Printer-Attributes: successful-ok-ignored-or-substituted-attributes (successful-ok-ignored-or-substituted-attributes) D [10/Mar/2015:14:25:21 +0100] [Job 988] Get-Jobs: successful-ok-ignored-or-substituted-attributes (successful-ok-ignored-or-substituted-attributes) D [10/Mar/2015:14:25:22 +0100] [Job 988] Read 16384 bytes... D [10/Mar/2015:14:25:22 +0100] [Job 988] Read 16384 bytes... I [10/Mar/2015:14:25:22 +0100] [Job 988] Sleeping D [10/Mar/2015:14:25:22 +0100] [Job 988] update_reasons(attr=1(none), s="(null)") D [10/Mar/2015:14:25:22 +0100] [Job 988] Get-Printer-Attributes: successful-ok-ignored-or-substituted-attributes (successful-ok-ignored-or-substituted-attributes) D [10/Mar/2015:14:25:22 +0100] [Job 988] Get-Jobs: successful-ok-ignored-or-substituted-attributes (successful-ok-ignored-or-substituted-attributes) D [10/Mar/2015:14:25:22 +0100] [Job 988] Read 16384 bytes... D [10/Mar/2015:14:25:22 +0100] [Job 988] Read 16384 bytes... D [10/Mar/2015:14:25:22 +0100] [Job 988] Read 8520 bytes... D [10/Mar/2015:14:25:22 +0100] [Job 988] Print-Job: client-error-bad-request (client-error-bad-request) E [10/Mar/2015:14:25:22 +0100] [Job 988] Print file was not accepted. D [10/Mar/2015:14:25:22 +0100] [Job 988] Set job-printer-state-message to "Print file was not accepted.", current level=ERROR Im Samba I have: [printers] comment = All Printers path = /var/spool/samba printable = Yes create mask = 0600 browseable = Yes use client driver = yes The specific printer I'm testing with is a Kyocera C5015N. I have googled this all morning without getting much closer. The print server and printers work fine with Linux clients. If you have any kind of experience with sort of setup, I'd appreciate some hints (apart from "don't touch it with a barge pole"). -- Per Jessen, Zürich (13.7°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen wrote:
I am, quite unusually, trying to get a Windows 7 laptop to use our CUPS server. The printer is shared with samba, it's installed fine etc., but when I try to print the test-page or a PDF document, it
Never mind, I've bypassed Samba and gone directly to: http://printserver:631/printers/Kyocera That works. -- Per Jessen, Zürich (14.3°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 03/10/2015 07:11 AM, Per Jessen wrote:
Per Jessen wrote:
I am, quite unusually, trying to get a Windows 7 laptop to use our CUPS server. The printer is shared with samba, it's installed fine etc., but when I try to print the test-page or a PDF document, it
Never mind, I've bypassed Samba and gone directly to:
http://printserver:631/printers/Kyocera
That works.
Still, I think you have to define it in cups to have at least one RAW queue because Win 7 probably has drivers installed, and you don't want them re-processed by cups. Maybe that is what use client driver = yes means, but I'm not using that entry anywhere. -- After all is said and done, more is said than done. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
John Andersen wrote:
On 03/10/2015 07:11 AM, Per Jessen wrote:
Per Jessen wrote:
I am, quite unusually, trying to get a Windows 7 laptop to use our CUPS server. The printer is shared with samba, it's installed fine etc., but when I try to print the test-page or a PDF document, it
Never mind, I've bypassed Samba and gone directly to:
http://printserver:631/printers/Kyocera
That works.
Still, I think you have to define it in cups to have at least one RAW queue because Win 7 probably has drivers installed, and you don't want them re-processed by cups. Maybe that is what use client driver = yes means, but I'm not using that entry anywhere.
Hi John This is from smb.conf: [global] printing = cups printcap name = cups printcap cache time = 750 cups options = raw (the default config supplied). I got the "use client driver = yes" from somewhere to let Windows default to using local drivers instead of asking for them from Samba. Anyway, I can thoroughly recommend playing with Windows every now and then - the frustration and anger makes you appreciate Linux so much more. -- Per Jessen, Zürich (9.6°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
John Andersen
-
Per Jessen