[Bug 679488] New: CUPS cannot see Brother MFC 8420
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c0 Summary: CUPS cannot see Brother MFC 8420 Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Major Priority: P5 - None Component: Printing AssignedTo: jsmeix@novell.com ReportedBy: bkorb@gnu.org QAContact: jsmeix@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b12) Gecko/20110222 Firefox/4.0b12 Worked like a charm with 11.3. The printer is just a paperweight for 11.4. It's not that old. Reproducible: Always Steps to Reproduce: 1. install 11.4 2. try to configure it -- it is not seen. 3. Actual Results: unusable printer Expected Results: usable printer -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c1 --- Comment #1 from Bruce Korb <bkorb@gnu.org> 2011-03-14 18:14:42 UTC --- Just to be clear, I copied /etc/cups/ppd/brothermfc8420.ppd from the old installation and added the entry to /etc/cups/printers.conf: <Printer brothermfc8420> Info Brother MFC-8420 BR-Script3 MakeModel Brother MFC-8420 BR-Script3 DeviceURI usb://Brother/MFC-8420 State Idle StateTime 1286042213 Type 8392772 Filter application/vnd.cups-raw 0 - Filter application/vnd.cups-command 0 commandtops Filter application/vnd.cups-postscript 0 - Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer </Printer> but that did not work, either. The daemon is running. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |bkorb@gnu.org -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c2 --- Comment #2 from Bruce Korb <bkorb@gnu.org> 2011-03-15 10:05:03 UTC --- I can't give you more info without knowing what you need. If you can get a Brother MFC 8420 working, please tell me how. The CUPS stuff cannot work with it, even when I provide the "ppd" file that worked with 11.3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c3 --- Comment #3 from Johannes Meixner <jsmeix@novell.com> 2011-03-15 15:58:21 UTC --- We do not have such kind of printer model (we have no Brother MFC device at all). You need to describe in much mode deatil what exactly you did and what exactly was shown by the system to you, in particular exact (error)-messages - you may have to provide screenshots. I cannot know what you mean with "try to configure it -- it is not seen". Which printer setup tool are you using? We have many printer setup tools which could be launced via various ways regardless which desktop is currently used: - YaST printer setup tool - KDE printer setup tool - Gnome printer setup tool - CUPS web frontend - anything else? If you don't know which printer setup tool or application the desktop magic runs, provide a screenshot or try if there is a "help" or "about" info in your printer setup tool. Perhaps http://en.opensuse.org/YaST_Printer in particular the section about "Connection" might help you? Copying CUPS config files from other systems or manual editing CUPS config files is a bad idea unless you know exactly what you do, see in http://en.opensuse.org/SDB:CUPS_in_a_Nutshell in particular the section about "Command-line Tools". Did you notice the # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING comment in /etc/cups/printers.conf? Note that the Novell/Suse Bugzilla is a bug-tracking tool and not meant as some kind of support forum, have a look at http://en.opensuse.org/openSUSE:Submitting_bug_reports For support questions (e.g. how to set up a particular piece of hardware), you may use our mailing lists, see http://en.opensuse.org/openSUSE:Mailing_lists -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c4 --- Comment #4 from Bruce Korb <bkorb@gnu.org> 2011-03-15 19:40:53 UTC --- Created an attachment (id=419499) --> (http://bugzilla.novell.com/attachment.cgi?id=419499) tarball of kscreenshot png files (8 of 'em) This is a sequence of .png images, stored in order. The first two are from Yast showing the 11.4 print config and config of the configured-by-default printer. The next shows what CUPS thinks about printers in general and the default one in particular. Then I told cups to print a test page, 1 image shows the result, the other the hung queue. After that, I switched to openSuSE 11.3 and the png files show the printer config (looking identical to the 11.4 config) and the successful printing of the test page. Responses to some of your questions will be posted momentarily. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c5 --- Comment #5 from Bruce Korb <bkorb@gnu.org> 2011-03-15 19:52:51 UTC --- (In reply to comment #3)
We do not have such kind of printer model (we have no Brother MFC device at all).
How unfortunate. I would expect recent Brother MFC's to all pretty much work the same, but you don't have one.
You need to describe in much mode deatil what exactly you did ... Which printer setup tool are you using? ... - YaST printer setup tool Tried it. - KDE printer setup tool This also. - Gnome printer setup tool - CUPS web frontend And this as well. - anything else? Copying the config from 11.3 *with cups shut down*. :)
Perhaps http://en.opensuse.org/YaST_Printer in particular the section about "Connection" might help you?
usb/lpr neither protocol seems to work. it *is* a usb connection:
$ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 04f9:0142 Brother Industries, Ltd MFC-8420 Bus 001 Device 003: ID 041e:404b Creative Technology, Ltd Bus 001 Device 004: ID 041e:4048 Creative Technology, Ltd Bus 001 Device 005: ID 041e:4045 Creative Technology, Ltd Live! Cam Voice Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 002: ID 046d:c068 Logitech, Inc.
Copying CUPS config files from other systems or manual editing CUPS config files is a bad idea unless you know exactly what you do, see in http://en.opensuse.org/SDB:CUPS_in_a_Nutshell in particular the section about "Command-line Tools".
I agree!! First, I used the installation's find & configure printers. It did not find one (the above "lsusb" notwithstanding). So then I told it to look for a Brother MFC-8420, but it was blind and couldn't come up with a ppd file. I happened to have one (on the "old" installation partition), so I fed it that. With that, it "sees" the printer (per the .png files) but cannot actually talk to the device. So, some capability got lost between 11.3 and 11.4 and this printer is not so old that it should be de-supported.
Did you notice the # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING comment in /etc/cups/printers.conf?
Yep:
sudo /etc/init.d/cups stop <fiddle, fiddle> sudo /etc/init.d/cups start
Note that the Novell/Suse Bugzilla is a bug-tracking tool
This reports one of two bugs: 1. openSuSE 11.4 does not support a 4 year old printer and openSuSE 11.3 does (a regression) -- OR -- 2. It is massively too difficult for mere mortals to configure a Brother printer. Either one is a bug, beit usability or functionality. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c6 --- Comment #6 from Johannes Meixner <jsmeix@novell.com> 2011-03-16 12:33:58 UTC --- Yast-edit-brothermfc8420.png from attachment #419499 shows that CUPS cannot detect the printer device. See in http://en.opensuse.org/YaST_Printer in particular the section about "Connection" what this means (here an excerpt): -------------------------------------------------------------- The YaST printer module does not implement any printer autodetection on its own. It only shows those printer connections which were already autodetected by CUPS (i.e. what the CUPS command line tool "lpinfo -l -v" shows when you run it as root, see http://en.opensuse.org/SDB:CUPS_in_a_Nutshell When CUPS cannot detect a local printer connection, it cannot send data to it so that it cannot print. Therefore it would not make sense when the YaST printer module would somehow show local printer connections which are not autodetected by CUPS. Initially only connections for local printers (i.e. USB printers and parallel port printers) are shown and for HP devices the "hp:/..." connection is preferred. Clicking the "Detect More" button shows all connections which are autodetected by CUPS. If a local printer is not shown even after clicking the "Detect More" button, the device cannot be autodetected by CUPS. In this case the root cause is usually a low-level communication problem with the device (perhaps the printer may only need to be switched on). For example when an USB printer is not autodetected by CUPS but listed in the output of the "lsusb" command, one of the usual reasons is that the kernel module "usblp" is not loaded, see http://en.opensuse.org/SDB:Installing_a_Printer -------------------------------------------------------------- To verify this: What is the output of the comand lpinfo -l -v when you run it as root? For background information see in http://en.opensuse.org/SDB:CUPS_in_a_Nutshell in particular the section about "How to set up a print queue in full compliance with CUPS". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c7 --- Comment #7 from Bruce Korb <bkorb@gnu.org> 2011-03-16 14:49:48 UTC ---
To verify this: What is the output of the comand lpinfo -l -v when you run it as root?
Here are the results for 11.3 and 11.4, with a reboot in between. Also:
$ lsmod |fgrep usblp usblp 13705 0
so that module seems to be loaded. Gotta go now. I'll poke into the rest of your references tomorrow. *NOTE*: both of these outputs are on the *SAME* hardware platform:
cat /etc/SuSE-release;uname -sr;sudo lpinfo -l -v openSUSE 11.3 (x86_64) VERSION = 11.3 Linux 2.6.34.7-0.7-desktop Device: uri = socket class = network info = AppSocket/HP JetDirect make-and-model = Unknown device-id = location = Device: uri = smb class = network info = Windows Printer via SAMBA make-and-model = Unknown device-id = location = Device: uri = lpd class = network info = LPD/LPR Host or Printer make-and-model = Unknown device-id = location = Device: uri = usb://Brother/MFC-8420 class = direct info = Brother MFC-8420 make-and-model = Brother MFC-8420 device-id = MFG:Brother;CMD:HBP,PJL,PCL,PCLXL;MDL:MFC-8420;CLS:PRINTER; location = Device: uri = beh class = network info = Backend Error Handler make-and-model = Unknown device-id = location = Device: uri = scsi class = direct info = SCSI Printer make-and-model = Unknown device-id = location = Device: uri = ipp class = network info = Internet Printing Protocol (ipp) make-and-model = Unknown device-id = location = Device: uri = http class = network info = Internet Printing Protocol (http) make-and-model = Unknown device-id = location = Device: uri = pipe class = direct info = Forward print job data like a pipe to another command make-and-model = Unknown device-id = location = Device: uri = hp class = direct info = HP Printer (HPLIP) make-and-model = Unknown device-id = location = Device: uri = hpfax class = direct info = HP Fax (HPLIP) make-and-model = Unknown device-id = location = openSUSE 11.4 (x86_64) VERSION = 11.4 CODENAME = Celadon Linux 2.6.37.1-1.2-desktop Device: uri = lpd class = network info = LPD/LPR Host or Printer make-and-model = Unknown device-id = location = Device: uri = http class = network info = Internet Printing Protocol (http) make-and-model = Unknown device-id = location = Device: uri = scsi class = direct info = SCSI Printer make-and-model = Unknown device-id = location = Device: uri = ipp class = network info = Internet Printing Protocol (ipp) make-and-model = Unknown device-id = location = Device: uri = pipe class = direct info = Forward print job data like a pipe to another command make-and-model = Unknown device-id = location = Device: uri = socket class = network info = AppSocket/HP JetDirect make-and-model = Unknown device-id = location = Device: uri = hp class = direct info = HP Printer (HPLIP) make-and-model = Unknown device-id = location = Device: uri = beh class = network info = Backend Error Handler make-and-model = Unknown device-id = location = Device: uri = smb class = network info = Windows Printer via SAMBA make-and-model = Unknown device-id = location = Device: uri = hpfax class = direct info = HP Fax (HPLIP) make-and-model = Unknown device-id = location =
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c8 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|CUPS cannot see Brother MFC |CUPS cannot detect USB |8420 |printer Brother MFC 8420 --- Comment #8 from Johannes Meixner <jsmeix@novell.com> 2011-03-16 15:29:51 UTC --- As expected CUPS can no longer detect your USB printer in case of openSUSE 11.4. Usually the root cause is a lower-level USB issue. But I am no USB expert to really debug lower-level USB issues. Some best-effort attempts: Are there any (error)-messages when you re-load the usblp kernel module and then run the CUPS backend "usb" directly as root as follows: rmmod usblp modprobe usblp /usr/lib/cups/backend/usb On my system this results (too long line wrapped here): ------------------------------------------------------------- # rmmod usblp # modprobe usblp # /usr/lib/cups/backend/usb direct usb://HP/LaserJet%201020 "HP LaserJet 1020" "HP LaserJet 1020" "MFG:Hewlett-Packard; MDL:HP LaserJet 1020;CMD:ACL;CLS:PRINTER; DES:HP LaserJet 1020;FWVER:20080222;" "" ------------------------------------------------------------- Are there USB related (error)-messages in the output of the command "dmesg" or in /var/log/messages? Perhaps the commands (as root) dmesg | grep -i 'usb' or grep -i 'usb' /var/log/messages show something of interest? Can you send ASCII text directly to the printer using the following command (as root): echo -en "\rHello\r\f" >/dev/usb/lp0 see http://en.opensuse.org/SDB:Installing_a_Printer If the above "echo ..." command results something like "/dev/usb/lp0: Device or resource busy": Is there perhaps another process which may use /dev/usb/lp0 exclusively? Does the command (you must run it as root) fuser -v /dev/usb/lp0 show something? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c9 --- Comment #9 from Bruce Korb <bkorb@gnu.org> 2011-03-17 17:59:02 UTC ---
# rmmod usblp # modprobe usblp # /usr/lib/cups/backend/usb # grep -i 'mar 17 .*usb' /var/log/messages Mar 17 10:50:43 beethoven kernel: [ 4492.574286] usbcore: deregistering interface driver usblp Mar 17 10:50:53 beethoven kernel: [ 4502.257313] usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0142 Mar 17 10:50:53 beethoven kernel: [ 4502.257364] usbcore: registered new interface driver usblp Mar 17 10:50:53 beethoven udev-configure-printer: add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/usb/lp0 Mar 17 10:50:53 beethoven udev-configure-printer: parent devpath is /devices/pci0000:00/0000:00:02.1/usb1/1-2 # lsusb|fgrep -i brother Bus 001 Device 002: ID 04f9:0142 Brother Industries, Ltd MFC-8420 # echo -en "\rHello\r\f" >/dev/usb/lp0 bash: /dev/usb/lp0: Device or resource busy # lpstat # lpq brothermfc8420 is ready and printing Rank Owner Job File(s) Total Size active anonymo 6 Test Page 1024 bytes # lprm 6 # lpq brothermfc8420 is ready no entries # echo -en "\rHello\r\f" >/dev/usb/lp0 bash: /dev/usb/lp0: Device or resource busy # fuser -v /dev/usb/lp0 #
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c10 --- Comment #10 from Bruce Korb <bkorb@gnu.org> 2011-03-17 23:37:50 UTC --- Created an attachment (id=420084) --> (http://bugzilla.novell.com/attachment.cgi?id=420084) brothermfc8420.ppd Just in case the ppd file is helpful. To reiterate and be as clear as I can: This file is identical in both 11.4 and 11.3 and, of course, comes from /etc/cups/ppd in both cases. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c11 --- Comment #11 from Johannes Meixner <jsmeix@novell.com> 2011-03-18 08:44:53 UTC --- The root cause is not the driver or the PPD file. The Brother MFC-8420 is a "BR-Script3" printer. As far as I know "BR-Script3" is Brother's own implementation of PostScript so that your printer is a PostScript printer and such printers do not have driver issues with Linux, see http://en.opensuse.org/Concepts_printing Likely the root cause is not in CUPS because --------------------------------------------------------- # echo -en "\rHello\r\f" >/dev/usb/lp0 bash: /dev/usb/lp0: Device or resource busy # fuser -v /dev/usb/lp0 # --------------------------------------------------------- looks like a contradiction in itself for me (the device file is "busy" but according to "fuser -v" there is no process which uses it) which indicates that "something is wrong" with /dev/usb/lp0 but I am no USB expert to make a final statement here. As long as # echo -en "\rHello\r\f" >/dev/usb/lp0 does not work, it is not possible to communicate with the printer so that any kind of CUPS setup cannot work. Therefore first and foremost # echo -en "\rHello\r\f" >/dev/usb/lp0 must work. To get CUPS out of the way for now, delete all your current print queues using as root # lpadmin -x <queue_name> in particular for example # lpadmin -x brothermfc8420 then stop and disable the cupsd using as root # rccups stop # insserv -r cups finally reboot to make 100% sure to have a clean state. After the reboot try again if # echo -en "\rHello\r\f" >/dev/usb/lp0 works. If it does not work, try # rmmod usblp # modprobe usblp # echo -en "\rHello\r\f" >/dev/usb/lp0 If this still does not work it proves that there is a low level issue (probably USB and/or kernel related). If # echo -en "\rHello\r\f" >/dev/usb/lp0 works, re-enable and start cupsd # insserv cups # rccups start and check if the CUPS usb backend recognizes your printer # /usr/lib/cups/backend/usb If the CUPS usb backend recognizes your printer you can set up the printer using any printer setup tool you like. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #420084|application/octet-stream |text/plain mime type| | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c12 --- Comment #12 from Bruce Korb <bkorb@gnu.org> 2011-03-19 18:02:47 UTC ---
# ls -l /dev/usb/lp0 ls: cannot access /dev/usb/lp0: No such file or directory # rmmod usblp # modprobe usblp # ls -l /dev/usb/lp0 crw-rw---- 1 root lp 180, 0 Mar 19 10:59 /dev/usb/lp0 # printf '\rHello\r\f' > /dev/usb/lp0 << 'Hello' prints out >> # insserv cups # rccups start Starting cupsd done # /usr/lib/cups/backend/usb #
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c13 --- Comment #13 from Bruce Korb <bkorb@gnu.org> 2011-03-19 18:18:13 UTC --- # grep -i 'mar 19 .*usb' /var/log/messages Mar 19 10:59:31 beethoven kernel: [ 124.059357] usbcore: deregistering interface driver usblp Mar 19 10:59:41 beethoven kernel: [ 134.185333] usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0142 Mar 19 10:59:41 beethoven kernel: [ 134.185381] usbcore: registered new interface driver usblp Mar 19 10:59:41 beethoven udev-configure-printer: add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/usb/lp0 Mar 19 10:59:41 beethoven udev-configure-printer: parent devpath is /devices/pci0000:00/0000:00:02.1/usb1/1-2 The printer connection wizard (part of printer config under YaST) does not see any USB printer.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c14 --- Comment #14 from Johannes Meixner <jsmeix@novell.com> 2011-03-22 11:27:54 UTC --- Regarding YaST, remember comment #6: ------------------------------------------------------------ The YaST printer module does not implement any printer autodetection on its own. It only shows those printer connections which were already autodetected by CUPS ------------------------------------------------------------ Regarding "udev-configure-printer", you may have a look at the section "Automated Printer Configuration" in http://en.opensuse.org/YaST_Printer I am at my wit's end. I have no idea why "/usr/lib/cups/backend/usb" cannot detect it. Let's wait if your mail "How can I configure a Brother MFC-8420?" on cups@easysw.com shows a reason. A workaround: Because "printf '\rHello\r\f' > /dev/usb/lp0" works, you could use a selfmade replacement backend, see in http://en.opensuse.org/SDB:Using_Your_Own_Backends_to_Print_with_CUPS the section "A careless backend for a single USB printer". When you have such a selfmade "/usr/lib/cups/backend/usblp0" backend as described in the article, you could set up a print queue e.g. manually using as root lpadmin -p mfc8420 -v usblp0:/dev/usb/lp0 \ -P /path/to/your/ppd_file.ppd[.gz] -E As long as "printf '\rHello\r\f' > /dev/usb/lp0" works, you should be able to print via this "mfc8420" queue. You could test printing via the "mfc8420" queue with echo "Hello" | lp -d mfc8420 and echo "Hello" | a2ps -1 -o- | lp -d mfc8420 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c15 --- Comment #15 from Lewis Wolfgang <wolfgang@nosc.mil> 2011-03-23 20:08:32 UTC --- This is quite possibly a repeat of a cups bug I noticed in 11.3 and still exists in 11.4. My symptom was cups not being able to add a Xerox Phaser 6280 as a USB-connected device. The cups error log complained: [cups-deviced] Bad line from "usb": direct usb://Xerox/Phaser%206280DN "Xerox Phaser 6280DN" "Xerox Phaser 6280DN" "MFG:Xerox;CMD:Adobe PostScript 3, PCL;MDL:Phaser 6280DN;DES:Xerox Phaser 6280 Color Laser Printer, PostScript 3, Letter/A4 Size;CLS:PRINTER;STS:AAARAQD/AP8AAAAAAQgAATwDPAM8AwUGZANkM2IaAAAAALCGAAAAAAAAAAAAAAAAAAAAAAAAAAAA Folks on the ubuntu list isolated the issue as the printer including a new-line character in it's USB identification string and is discussed here: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/468701 The workaround for me was to manually add the uri of the printer in the cups connection wizard thusly: parallel:/dev/usb/lp0 This could be a show-stopper for most casual users. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
manually add the uri of the printer in the cups connection wizard thusly: parallel:/dev/usb/lp0 leaves me just a wee bit puzzled. It is a USB printer
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c16 --- Comment #16 from Bruce Korb <bkorb@gnu.org> 2011-03-23 22:00:09 UTC --- I surely wish I were a casual user. :) Your comment: plugged into the usb port. Does this incantation tell the driver to send parallel port output through the USB port? And this works? Weird, indeed. Next time I want to go bang my head on a wall, I'll give this a try...... Also puzzling is:
repeat of a cups bug I noticed in 11.3 and still exists in 11.4. It cannot be the same bug, because I do not see this symptom in 11.3. Seems like there was some issue that caused the USB printer "Xerox Phaser 6280" to go unnoticed that expanded its scope via some mechanism to include a "Brother MFC-8420" next time around.
This is, actually, a show stopper for me. But there is still a sound issue that is only solved by downloading some weirdo app that seems to fix it, but you have to manually fire it up. With quite a bit of pain, I got Alsa sound to work in 11.3, but again that was not for the feint of heart. 11.4 video is also choppy. Summary: 11.4 still needs work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c17 --- Comment #17 from Bruce Korb <bkorb@gnu.org> 2011-03-23 23:27:41 UTC --- OK, show stopper (for me) no more: HAND EDIT /etc/cups/printers.conf
DeviceURI parallel:/dev/usb/lp0 # DeviceURI usb://Brother/MFC-8420
and my printer test page printed after several days in the queue. "Icky, poo." 11.4 needs work (Though I am sure Apple needs to be the ultimate fixer of this issue.....) RE: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/468701
# usb_printerid bash: usb_printerid: command not found Must be an Ubuntu-ism.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c18 --- Comment #18 from Johannes Meixner <jsmeix@novell.com> 2011-03-24 09:20:56 UTC --- FYI: In /etc/cups/printers.conf DeviceURI parallel:/dev/usb/lp0 does basically the same as a selfmade "/usr/lib/cups/backend/usblp0" as described in comment #14 (except that the selfmade backend seems to be a bit more clean than to misuse the "parallel" backend). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c19 --- Comment #19 from Bruce Korb <bkorb@gnu.org> 2011-04-05 22:46:42 UTC --- It also might be that with the selfmade backend it would not be necessary to: sudo rmmod usblp sudo modprobe usblp in order to get the printer started. A really awful nuisance, but still I think Brother printers are common enough that they ought to be more directly supported. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c20 Dr. Dwight Scott Miller <jdecs@mssblue.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jdecs@mssblue.net --- Comment #20 from Dr. Dwight Scott Miller <jdecs@mssblue.net> 2011-04-18 16:23:02 UTC --- The same bug affects Brother HL-1440 B/W laser and Brother HL-4070CDW laser. Yast -> Printer goes into permanent "wait cursor" with blank printer list and has to be killed. CUPS interface through localhost:613 shows CUPS home page, but localhost:632/printers (andf all other sub pages) get a permanent "connecting to localhost" with no screen change. I get the same (well, parallel for printer model diff's) results from the various query command that Bruce did above. I had the 4070 plugged in to parallel port as well as configured on the local wireless router for various laptops. The laptops continue to work addressing the printer directly via wireless, but cannot see the printers on http://. I had the 1440 plugged in to a USB on the back of the PC. Adding a USB cable to the 4070 and un-plugging and re-plugging the 1440 activated the KDE auto-config applet and both printers now respond to print requests ... BUT Yast and CUPS in browser still freeze and printers cannot be found by remotes on IP address:631. KDE applet also "forgets" the printer part of job information as soon as the print job is finished. Editing printers.conf as noted above made no difference in behaviour, so I put it back the wasy it was. System was SuSE 11.3 KDE 4.6 64bit AMD Athlon 3000+, zypper dup to 11.4. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c21 --- Comment #21 from Bruce Korb <bkorb@gnu.org> 2011-04-18 17:33:45 UTC --- (In reply to comment #19)
.... A really awful nuisance,
Well, it turns out to be more than a simple nuisance. I hadn't noticed, but configuring the printer in this fashion seems to move the text down about 1/2 to 3/4 of an inch. Why am I noticing now? I'm in the U.S. Notice today's date? IT IS TAX DAY AND ALL MY FORMS CAME OUT WITH THE LAST 1/4 INCH SLICED OFF. That makes for about 40 pages of wasted paper plus the time it will take to produce pdf, reboot into 11.3 and print again. I'll leave it to your imagination to think about the mood it puts me in...... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c22 --- Comment #22 from Bruce Korb <bkorb@gnu.org> 2011-04-18 17:36:26 UTC --- P.S. are you really still needing more information, or are you ready to accept the fact that there is severe breakage? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c23 --- Comment #23 from Bruce Korb <bkorb@gnu.org> 2011-06-09 16:17:27 UTC --- Surly, you do not need any more information. Brother makes a lot of printers. I am not going to go out and spend hundreds of dollars on a new laser printer, and I am sure as heck not going to go through all this hassle ever again. PLEASE FIX THIS PROBLEM. Thank you. P.S. I found *three* more places where paper size defaulted to A4 without any reference to LC_LANG or anything else. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c24 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|bkorb@gnu.org | Resolution| |WORKSFORME --- Comment #24 from Johannes Meixner <jsmeix@novell.com> 2011-06-16 13:59:19 UTC --- I am sorry that I didn't reply sooner. When a bug report is in state "needinfo" it means that the info provider should check the "This comment provides the needed information" check box see "Bug Status NEEDINFO" at http://en.opensuse.org/openSUSE:Bug_reporting_FAQ Of course we do not need more information to understand that you have issues with those particular printers. But as long as we cannot reproduce it (we have no Brother MFC device, see comment #3) and as long as also CUPS upstream seems to be clueless what goes wrong in your particular case, there is currently nothing what we could fix here. In such cases all we can do is to close the issue at least for now as "worksforme", see https://bugzilla.novell.com/page.cgi?id=fields.html#status ---------------------------------------------------------------- WORKSFORME All attempts at reproducing this bug were futile, and reading the code produces no clues as to why the described behavior would occur. If more information appears later, the bug can be reopened. ---------------------------------------------------------------- For a possible workaround see comment #14. Regarding the separated papersize issue, see "Different default paper size settings" at http://en.opensuse.org/SDB:Print_Settings_with_CUPS -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c25 --- Comment #25 from Johannes Meixner <jsmeix@novell.com> 2011-06-28 10:03:26 UTC --- FYI: Regarding comment #15 which reads in particular: ------------------------------------------------------------------------------ Bad line from "usb": direct usb://Xerox/Phaser%206280DN "Xerox Phaser 6280DN" ------------------------------------------------------------------------------ see the "Xerox Phaser 6010 usb id string not recognized by cups" mail thread at cups-bugs@easysw.com http://www.cups.org/newsgroups.php?gcups.bugs+T+Q%22Xerox+Phaser+6010+usb+id... In this particular case there is a device URI "usb://Xerox/Phaser%206280DN" and then one can use it to set up a print queue manually via the "lpadmin" command as described in the section regarding "How to set up a print queue in full compliance with CUPS" in http://en.opensuse.org/SDB:CUPS_in_a_Nutshell In contrast when the CUPS "usb" backend does not detect a device URI for a USB printer which is actually accessible via /dev/usb/lp0 the probably best workaround for now is to use a selfmade "careless backend for a single USB printer" as described in http://en.opensuse.org/SDB:Using_Your_Own_Backends_to_Print_with_CUPS Finally: If a printer is not accessible at all, it is useless to set up a print queue for it, see http://en.opensuse.org/SDB:Installing_a_Printer -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c26 --- Comment #26 from Bruce Korb <bkorb@gnu.org> 2011-06-28 13:34:28 UTC --- (In reply to comment #24)
When a bug report is in state "needinfo" it means that the info provider should check the "This comment provides the needed information" check box see "Bug Status NEEDINFO" at http://en.opensuse.org/openSUSE:Bug_reporting_FAQ
I do the best I can to report issues. I am not paid for this and I was trying to be helpful.
Of course we do not need more information to understand that you have issues with those particular printers.
But as long as we cannot reproduce it (we have no Brother MFC device, see comment #3)
It would set Novell (or whoever owns SuSE now) back a couple hundred bucks, but I'd bet that Brother would be happy to send you one, if you were to ask.
and as long as also CUPS upstream seems to be clueless what goes wrong in your particular case, there is currently nothing what we could fix here.
You/they are going to remain clueless unless and until you get your hands on a printer that fails. Actually, my expectation is not that you (SuSE) would necessarily pull apart the protocols and find the cause of the problem and feed it back to Apple. Rather, my expectation is that you would pursue the issue with Apple: ``We have customers unable to use CUPS because CUPS is not recognizing Brother printers.''
---------------------------------------------------------------- WORKSFORME All attempts at reproducing this bug were futile,
Ask Brother for a printer.
Regarding the separated papersize issue, see "Different default paper size settings" at http://en.opensuse.org/SDB:Print_Settings_with_CUPS
The problem there is that every application under creation seems to have private places where they squirrel away their default paper size. If I set LC_ALL to EN_us, then my sorting is completely screwed over. If I set it to C or POSIX, then all these applications decide that A4 is the right way to go and they ignore LC_PAPER=EN_us. Too new, I suppose. There are too many applications with too many private copies of "default paper size". My hope would be that distributions in general (not just SuSE) would have a hook for each application that has a paper size setting and one could just: set-default-paper-size letter or: set-default-paper-size A4 and have that script invoke all the hooks to just do the right thing so I don't have to have the bottoms of my pages cut off any more, and folks in Europe would not be missing the right edge of their printouts. Consider this an RFE. One that you could start with by fixing /etc/cups, /etc/enscript*, and /usr/share/enscript/* files and add more as folks stub their toes. Thank you! :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c27 --- Comment #27 from Johannes Meixner <jsmeix@novell.com> 2011-07-07 14:44:33 UTC --- Probably you overestimate what a single employee who does not work exclusively for printing could do to solve printing issues. Even if SUSE got printers for free, there never was and probably there never would be the manpower available to test them. You got the software from us so that it is of course perfectly right to ask for help or support on our mailing lists and to file bug reports using our Bugzilla (but please don't use Bugzilla as support forum). Nevertheless have in mind that openSUSE mainly distributes software "as is" from the various upstream projects. This means that often the actually right addressee is an upstream project - in particular when an issue was not introduced by openSUSE (e.g. by faulty packaging or by bad patches which were made by openSUSE). What I like to say is: Even if you got the software from openSUSE, please do not expect that it is openSUSE which can solve any issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c28 --- Comment #28 from Dr. Dwight Scott Miller <jdecs@mssblue.net> 2011-07-07 15:04:32 UTC --- While I do not have the full set of information for every change made, the last two SuSE and KDE 4 updates I applied made this problem go away for me. Yast and CUPS browser interface now see and administer all printers. I am still experimenting to see if the remote access to :631 is working again but, on the server at least, it is WAD. kernel 2.6.37.6-0.5.1 kernel firmware 2.6.38-1.2.1 SuSE 11.4-54.68.1 KDE 4.6.4 release 8 CUPS 1.4.6-7.8.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c29 --- Comment #29 from Johannes Meixner <jsmeix@novell.com> 2011-07-12 07:51:47 UTC --- For openSUSE 11.4 there was nothing changed in our cups packages regarding USB or parallel port or printer detection in general (neither do we have any patches which change the CUPS upstream behaviour for USB or parallel port etc. or printer detection) and there was no yast2-printer update at all so that whatever change elsewhere let it now work in you particular case. To get more information what was changed by package updates: A command like rpm -qa --last | head -n20 shows you the last 20 installed/updated packages. A command like rpm -q --changelog <package_name> | head -n20 shows you the last 20 lines of the RPM changes for a particular package named <package_name>. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679488 https://bugzilla.novell.com/show_bug.cgi?id=679488#c30 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rkoppelh@exemail.com.au --- Comment #30 from Johannes Meixner <jsmeix@suse.com> 2012-01-27 13:53:31 UTC --- *** Bug 743747 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=743747 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com