On Monday 24 October 2005 10:31 am, Janez Podpečan wrote:
I'm having difficulties setting up printing via Novell Netware print server. Adding IPX printer with correct settings for hostname of print server, remote queue name, username and password and then clicking on "Test Remote Novell Access" button works. Then I assign name for printing HPLJ2200 and printed description HPLJ2200 and click "Next" (I have Do local filtering enabled as recommended). Then I proceed with selecting the printer manufacturer "HP" and model which is "LaserJet 2200". Everything looks to be ok but when I click on "Test" to get a test printout i receive the following error (with any type of sample print page selected - graphical witout photo, with photo or only text printing): "Error An error occurred while communication with the CUPS server while saving queue y2test. cups(File)DoRequest error: client-error-not-possible"
in /var/log/cups/error_log: I [24/Oct/2005:14:15:48 +0200] Loaded configuration file "/etc/cups/cupsd.conf" I [24/Oct/2005:14:15:48 +0200] Configured for up to 100 clients. I [24/Oct/2005:14:15:48 +0200] Allowing up to 100 client connections per host. I [24/Oct/2005:14:15:48 +0200] Full reload is required. D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "hp:/no_device_found"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "hal"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "ipp"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "lpd"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "smb"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "usb:/dev/usb/lp0"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "usb:/dev/usb/lp1"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "usb:/dev/usb/lp2"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "usb:/dev/usb/lp3"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "usb:/dev/usb/lp4"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "usb:/dev/usb/lp5"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "usb:/dev/usb/lp6"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "usb:/dev/usb/lp7"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "usb:/dev/usb/lp8"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "usb:/dev/usb/lp9"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "usb:/dev/usb/lp10"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "usb:/dev/usb/lp11"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "usb:/dev/usb/lp12"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "usb:/dev/usb/lp13"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "usb:/dev/usb/lp14"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "usb:/dev/usb/lp15"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "http"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "scsi"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "canon:/dev/lp0"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "epson:/dev/lp0"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "parallel:/dev/lp0"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "serial:/dev/ttyS0?baud=115200"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "serial:/dev/ttyS1?baud=115200"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "serial:/dev/ttyS2?baud=115200"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "serial:/dev/ttyS3?baud=115200"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "socket"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "bluetooth"... I [24/Oct/2005:14:15:48 +0200] LoadPPDs: Read "/etc/cups/ppds.dat", 3765 PPDs... I [24/Oct/2005:14:15:49 +0200] LoadPPDs: No new or changed PPDs... D [24/Oct/2005:14:15:49 +0200] LoadAllJobs: Scanning /var/spool/cups... I [24/Oct/2005:14:15:49 +0200] Full reload complete. D [24/Oct/2005:14:15:49 +0200] StartListening: NumListeners=1 D [24/Oct/2005:14:15:49 +0200] StartListening: address=00000000 port=631 D [24/Oct/2005:14:15:49 +0200] ResumeListening: setting input bits... D [24/Oct/2005:14:15:49 +0200] AcceptClient: 5 from localhost:631. D [24/Oct/2005:14:15:49 +0200] ReadClient: 5 POST / HTTP/1.1 D [24/Oct/2005:14:15:49 +0200] ProcessIPPRequest: 5 status_code=0 D [24/Oct/2005:14:15:49 +0200] AcceptClient: 7 from localhost:631. D [24/Oct/2005:14:15:49 +0200] CloseClient: 5 D [24/Oct/2005:14:15:49 +0200] ReadClient: 7 POST / HTTP/1.1 D [24/Oct/2005:14:15:49 +0200] ProcessIPPRequest: 7 status_code=1 D [24/Oct/2005:14:15:49 +0200] ReadClient: 7 POST / HTTP/1.1 D [24/Oct/2005:14:15:49 +0200] ProcessIPPRequest: 7 status_code=1 D [24/Oct/2005:14:15:49 +0200] ReadClient: 7 POST / HTTP/1.1 D [24/Oct/2005:14:15:49 +0200] ProcessIPPRequest: 7 status_code=406 D [24/Oct/2005:14:15:49 +0200] AcceptClient: 5 from localhost:631. D [24/Oct/2005:14:15:49 +0200] CloseClient: 7 D [24/Oct/2005:14:15:49 +0200] ReadClient: 5 POST /admin/ HTTP/1.1 D [24/Oct/2005:14:15:49 +0200] SendError: 5 code=401 (Unauthorized) D [24/Oct/2005:14:15:49 +0200] CloseClient: 5 D [24/Oct/2005:14:15:49 +0200] AcceptClient: 5 from localhost:631. D [24/Oct/2005:14:15:49 +0200] ReadClient: 5 POST /admin/ HTTP/1.1 E [24/Oct/2005:14:15:49 +0200] add_printer: bad device-uri attribute 'novell://podpecan:MYPASSWORD@NAC_FIN/HPLJ2200_Q2'! D [24/Oct/2005:14:15:49 +0200] Sending error: client-error-not-possible D [24/Oct/2005:14:15:49 +0200] ProcessIPPRequest: 5 status_code=404 D [24/Oct/2005:14:15:49 +0200] CloseClient: 5
Upon pressing OK I got the following dialog: "Unable to print the test page. Ouput from lpr: prl: error - unable to print file: server-error-not-accepting-jobs"
D [24/Oct/2005:14:21:09 +0200] AcceptClient: 5 from localhost:631. D [24/Oct/2005:14:21:09 +0200] ReadClient: 5 POST / HTTP/1.1 D [24/Oct/2005:14:21:09 +0200] ProcessIPPRequest: 5 status_code=1 D [24/Oct/2005:14:21:09 +0200] ReadClient: 5 POST / HTTP/1.1 D [24/Oct/2005:14:21:09 +0200] ProcessIPPRequest: 5 status_code=1 D [24/Oct/2005:14:21:09 +0200] ReadClient: 5 POST / HTTP/1.1 D [24/Oct/2005:14:21:09 +0200] ProcessIPPRequest: 5 status_code=406 D [24/Oct/2005:14:21:09 +0200] CloseClient: 5 D [24/Oct/2005:14:21:09 +0200] AcceptClient: 5 from localhost:631. D [24/Oct/2005:14:21:09 +0200] ReadClient: 5 POST /printers/y2test HTTP/1.1 D [24/Oct/2005:14:21:09 +0200] print_job: auto-typing file... D [24/Oct/2005:14:21:09 +0200] print_job: request file type is application/postscript. I [24/Oct/2005:14:21:09 +0200] print_job: destination 'y2test' is not accepting jobs. D [24/Oct/2005:14:21:09 +0200] Sending error: server-error-not-accepting-jobs D [24/Oct/2005:14:21:09 +0200] ProcessIPPRequest: 5 status_code=506 D [24/Oct/2005:14:21:09 +0200] CloseClient: 5
The funny thing is that I can print text files if I use nprint command (which is a part of ncpft package) directly:
nprint -S NAC_FIN -U podpecan -P MYPASSWORD -q HPLJ2200_Q2 filename.txt
You can also see my Netware print queues with pqlist command: thinkpad:~ # pqlist -S NAC_FIN -U podpecan Logging into NAC_FIN as PODPECAN Password:
Server: NAC_FIN Print queue name Queue ID ------------------------------------------------------------ HPLJ2100_Q FA860000 HPLJ2200_Q2 20840000 HPLJ4 78800000 HPLJ4250_Q CD860000 HPLJ4250_Q2 FF860000 HPLJ5 79800000
Is there something wrong with CUPS as it appears it doesn't understand the novell:// uri and refuses to add new printer? I also checked the cups backend folder in /usr/lib/cups/backend and it contains the novell executable: -rwxr-xr-x 1 root root 27507 2005-09-13 03:58 novell
Another interesting thing I noticed is that upon cupsd startup you can see in error_log file loading of all backends which are in backend directory except for the novell backend. D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "hp:/no_device_found"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "hal"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "ipp"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "lpd"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "smb"... D [24/Oct/2005:14:15:48 +0200] LoadDevices: Added device "usb:/dev/usb/lp0"... etc. etc. (but no LoadDevices: Added device "novell"...)
Please help.
1. Move to iPrint. Using Novell NetWare I would assume by now that you are running at least 5.1 (Hopefully newer) servers. IF so, iPrint is by far a better solution as it doesn't require anything special from the Linux box, nor does it require you to add IPX. You can setup an iPrint / NDPS printer to use a Queue for backward compatibility with older Clients as well. Or, 2. Use direct IP printing from the Linux box. This would mean bypassing your Novell NetWare print setup, and would require more manual intervention on the Linux box. Again, this would allow you to avoid the IPX protocol, and allow you to print to the network Printer. -- See Ya' Howard Coles Jr. John 3:16!