Description of problem: CUPS seems to be having big problems! I've tried to set up my printers through the conventional s-c-p route and all seems to be fine, except that when I try to do a test print, nothing comes out. To see what was going on, I went through the web interface. No printers had been defined. I defined my USB inkjet (HP 980cxi) and my laser printer (/dev/lp0 - Samsung ML2250) and tried to do a test print. The message back was that /dev/lp0 permissiond denied and ""Filter "rastertoprinter" for printer "HP_DeskJet_980C_USB_1" not available: No such file or directory"" for the HP. Version-Release number of se lected component (if applicable): cups-1.2-0.1.b2.2 foomatic-3.0.2-33.2 How reproducible: Always Steps to Reproduce: 1. Define a printer using s-c-p 2. Define a printer using the web interface 3. Actual results: Under s-c-p, the printers appear to be defined and nothing happens with a test print. Under web interface, nothing was defined using s-c-p. If you add printers, no output is given Expected results: The printers should work Additional info: I have selinux switched off to ensure that is not the problem
It seems, that libraries from and and new cups binary incompatible, but soversion is the same. I failed to rebuild kdelibs with new cups. IMHO such great changes must be documented (and marked by '!!!') in changelog.
Anton: please file this as a separate bug. It is very important, so I want it to be tracked appropriately. Thanks.
Paul: upgrade to foomatic-3.0.2-34.
I'm on 3.0.2-34 and still cannot print. I've defined my printers using s-c-p and when asked, said yes to printing a test file. scp returned the following error There was a problem sending CUPS test page to 'ML2250' queue: /usr/bin/lpr: The printer or class was not found. (the printer is on /dev/lp0)
Downgrading to the version of CUPS in the stable release doesn't fix this problem, so the problem seems to be between foomatic and CUPS.
Please 1. upgrade to cups-1.2-0.2.rc1.1 from today's rawhide, and 2. run '/usr/sbin/printconf-backend --force-rebuild' as root or, alternatively, make some trivial change in s-c-printer and click Apply. Can you print now?
Done the upgrade, ran /usr/sbin/printconf-backend --force-rebuild, tried to print, nothing. Ran s-c-p, removed and added my current printers (Samsung ML2250, /dev/lp0 and HP-DJ980cxi on USB) again. Tried to test print. s-c-p came back with There was a problem sending CUPS test page to 'ML2250' queue: /usr/bin/lpr: The printer or class was not found.
I've checked, I don't have SELinux running and have no firewall running. I've tried to restart the CUPS server (worked fine) and then print, gave the same error as in #8
cups-1.2-0.2.rc1.2 now doesn't give the lpr error, but still doesn't print. I've wiped the old config and set up a new one and still zilch.
Please try these packages: ftp://people.redhat.com/twaugh/tmp/cups-devel/
Nope. Gave the /usr/bin/lpr error again. I'll try it at home later. What's the xinetd dep. for on these rpms?
(xinetd is required only for cups-lpd) 1. Please show me the output of this command: lpstat -s 2. Please attach /etc/cups/printers.conf Thanks.
lpstat -s system default destination: ML2250 device for DJ980cxi: usb:/dev/usb/lp0 device for ML2250: parallel:/dev/lp0 /etc/cups/printers.conf attached
Created attachment 127067 [details] printer configuration file As requested.
Does this work?: lp -dML2250 /usr/share/cups/data/testprint.ps Or in general, does printing work from other apps than system-config-printer?
I've issued the lp -dML2250 command remotely, so will know in an hour or so if it's worked (I'm at work currently). Printing is not working from any application at all.
File didn't print.
More test: 0. exist 1 physical printer (HP6L) on /dev/lp0 and 3 logical: {lp0 lp1 gimp} with drivers {ljet4, hpijs, gimp-print-ijs} 1. installed cups-1.2-0.2.rc1.3 (local rebuild) 2. run actions from POSTIN:foomatic-3.0.2-34 3. run s-c-p, try to print test page from all logical printers: no printout, but LED on printer flashes. 4. try lpr -P... test.ps : same result. 5. http://127.0.0.1:631, printers: see: printer with gimp-print-ijs dirver not functional, all other ok print test page on lp0 -- OK 6. log attached
Created attachment 127170 [details] error log from CUPS test from comment 19
rc1.4 seems to have fixed the problem. Next one, why is the USB printer not working, but I'll file the apart. If Anton doesn't have a problem, I'll close this bug later today
Tested cups-1.2-0.2.rc1.5. It seems, that pstops filter add bad (null) bytes to postscript. And LANG env. var. set incorrectly. Will be reported as soon as investigated.