LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-15-2006, 09:53 AM   #1
144419855310001
Member
 
Registered: Apr 2006
Distribution: ubuntu 7.04
Posts: 219

Rep: Reputation: 30
"client-error-bad-request" with kdeprint


Hello

I am currently testing a linux client (Fedora Core 6 i386) on one small corner of a large computer network*. There is about an even split of Windows NT4.0 and Apple OS X machines, with printers attatched to each of the two clusters.

Kdeprint (/kprinter) has worked very well for me so far in that it picked up and allowed me to print to all the printers on the Apple side (through the Apple print server) without any configuration whatsoever, with the IPP protocol.

Having not yet set up Samba in order to access the Windows server, I have been attempting to print direct to the printers in the mean time. However, it seems that kdeprint is having problems.

Although it can detect the printers when I try "scan", on both TCP and w/IPP (HTTP/IPP), I get errors when I try to test-print/install them. (NB. some printers are only detected on IPP and not TCP. This is my first experience with networking, so I don't have a clue why)

When I try to test print using kdeprint on both TCP and IPP, I get the error:
Quote:
Unable to create temporary printer
After ignoring the message above, when I finish the installation wizard I get this error. The IPP report is the same.
Quote:
Unable to create printer. Error message received from manager: client-error-bad-request


Nonetheless, I did my homework and decided to test it from the command line.
Quote:
lpr -H i_p.obs.cu.red:9100 /root/Desktop/Printer\ types.txt
Although it did not print the contents of the file (Only some information regarding the print request, of the form
"Content-Length: 351
User-Agent: CUPS/1.2.5" etc.
...I did actually get the printers to output.


Can anyone advise me on what might be wrong?
Thanks

*yes, I have permission!
 
Old 11-16-2006, 10:27 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
First use http://127.0.0.1:631 to configure cups for the printer(s) you want to use.

Choose HPJetDirect and use the actual IP address of i_p.obs.cu.red and the port number 9100 and (of course) select the printer make and model.

Also make sure that the Windows print server has the Unix print services installed and configured;

http://support.microsoft.com/kb/324078

.
 
Old 11-17-2006, 08:48 AM   #3
144419855310001
Member
 
Registered: Apr 2006
Distribution: ubuntu 7.04
Posts: 219

Original Poster
Rep: Reputation: 30
Quote:
First use http://127.0.0.1:631 to configure cups for the printer(s) you want to use.
Thanks, I didn't know about the CUPS web interface. Link to the Microsoft website about installing unix drivers will also come in handy when I set up samba sometime

Installation was easy; under the Administration tab were all the devices that kdeprint had not been able to handle; waiting to be added.

However, though I've now been able to use the cups interface to pick up and configure the printers, I'm having problems in that nothing comes out of the printer!

Cups has detected the printers and actually brought them out of "sleep" into "ready" mode, but when I send a test page /etc., though cups sends them, and thinks that they have been successfully printed, the printer does not seem to be recieving/processing data, spooling or printing.

I changed the error recording from "info" to "error" in the cups error log, but nothing is recorded: as I said above, it seems cups thinks the print is successful! Where could the problem be?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error for wireless request "Set Mode" on Linksys WPC11 v 3 army180 Linux - Wireless Networking 2 09-04-2006 06:32 PM
Error for wireless request "Set Bit Rate" (8B20) king_scott_2 Linux - Wireless Networking 3 06-26-2006 05:27 PM
Error for wireless request "Set Encode" (8B2A), help me jiasen_ma Linux - Wireless Networking 4 05-25-2006 02:33 PM
opera: client-error-bad-request landroni Linux - Software 0 11-22-2005 10:22 AM
client-error-bad-request when trying to print with lp blas Linux - General 4 02-09-2005 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration