Problems printing via Novell Netware Print Server
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. Regards, Janez
Hello, it would help a lot if you told us the exact Suse Linux version. Before 10.0 it should work but in 10.0 there was a bug in the cups-backends package, see https://bugzilla.novell.com/show_bug.cgi?id=117887 and the fixed cups-backends package should be available at something like ftp://ftp.suse.com/pub/suse/i386/update/10.0/rpm/i586/ Often the ftp.suse.com server is overloaded so that you should use a mirror. If this doesn't help: On Oct 24 17:31 Janez Podpe?an wrote (shortened):
setting up printing via Novell Netware print server. Adding IPX printer ... 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/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"... ... "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"...
There is no Added device "novell", therefore any "novell..." DeviceURI cannot work:
E [24/Oct/2005:14:15:49 +0200] add_printer: bad device-uri attribute 'novell://podpecan:MYPASSWORD@NAC_FIN/HPLJ2200_Q2'!
The reason is either a bug in the backend or the backend is not installed at all. See http://portal.suse.com/sdb/en/2004/05/jsmeix_print-cups-in-a-nutshell.html "The Backends"
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
Alternatively you could make your own novell backend like -------------------------------------------------------------------- #! /bin/bash # see the "CUPS Software Programmers Manual": # "Writing Filters" and "Writing Backends" # and see the man page "man backend". # debug info in /var/log/cups/error_log set -x # output "Device Discovery" information on stdout if [ "$#" -eq "0" ] then echo 'network MyNovell:/HPLJ2200_Q2 "Unknown" "Novell Printer"' exit 0 fi # have the input at fd0 (stdin) in any case if [ -n "$6" ] then exec <"$6" fi echo 'INFO: sending the data to HPLJ2200_Q2' 1>&2 # forward the data from stdin to the device if nprint -S NAC_FIN -U podpecan -P MYPASSWORD -q HPLJ2200_Q2 then echo 'INFO:' 1>&2 exit 0 else echo 'ERROR: failed to send the data to HPLJ2200_Q2' 1>&2 exit 1 fi -------------------------------------------------------------------- Here everything (server, user, password, queue) is hardcoded in the backend. You may enhance it to let the backend parse it from the DEVICE_URI environment variable (see "man backend"). Save it as /usr/lib/cups/backend/MyNovell (the file name must match to the "Device Discovery" information so that cupsd can detect the backend name). Set read and execute permissions accordingly. Restart the cupsd. Verify that the new backend is shown in "lpinfo -v". Change the DeviceURI of the queue using lpadmin -p <queue> -v MyNovell Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/
On 10/24/05, Johannes Meixner
Hello,
it would help a lot if you told us the exact Suse Linux version. Before 10.0 it should work but in 10.0 there was a bug in the cups-backends package, see https://bugzilla.novell.com/show_bug.cgi?id=117887 and the fixed cups-backends package should be available at something like ftp://ftp.suse.com/pub/suse/i386/update/10.0/rpm/i586/ Often the ftp.suse.com server is overloaded so that you should use a mirror.
I noticed the error on SUSE LINUX 9.2 and 10.0 so I am suspecting it is also a part of 9.3 but it was not a part of 9.1 which was the previous version on my laptop. So it would be nice if you provided fixes for older distro versions. The fixed package you mentioned just recently appeared on my mirror and I updated cups-backends package and the error was fixed. Thank you, regards Janez
Hello, On Oct 25 08:20 Janez Podpe?an wrote (shortened):
The fixed package you mentioned just recently appeared on my mirror and I updated cups-backends package and the error was fixed.
The backend /usr/lib/cups/backend/novell is a simple perl script. It should work for all Suse Linux versions. Therefore use the backend from the updated cups-backends package for all other Suse Linux versions. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/
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!
participants (3)
-
Howard Coles Jr.
-
Janez Podpečan
-
Johannes Meixner