[opensuse] Wow, now I'm impressed
I just bought a new printer, a Samsung ML-2851ND. Thought "OK, let's install that thing". Just out of curiosity I watched /var/log/messages when I connected it (it has network, but I'm using USB at the moment). What do I see? Feb 24 21:27:01 snoopy udev-configure-printer: URI matches without serial number: usb://Samsung/ML-2850%20Series Feb 24 21:27:01 snoopy udev-configure-printer: No serial number URI matches so using those without Feb 24 21:27:01 snoopy udev-configure-printer: About to add queue for usb://Samsung/ML-2850%20Series Feb 24 21:27:01 snoopy udev-add-printer: add_queue: URIs=['usb://Samsung/ML-2850%20Series'] Feb 24 21:27:01 snoopy udev-add-printer: D-Bus method call failed: org.freedesktop.DBus.Error.ServiceUnknown: The name com.redhat.NewPrinterNotification was not provided by any .service files Feb 24 21:27:11 snoopy udev-add-printer: PPD: Samsung/ML-2850D-Postscript.ppd.gz; Status: 0 Uh. Ok, lets see: snoopy:~% lpq ML-2850-Series is ready no entries Wow. No, WOW! I knew it's a PostScript printer and expected little work. But that was an absolute zero-conf thing. Just plug it in and print. As I said - I'm *really* impressed.... Pit -- Dr. Peter "Pit" Suetterlin http://www.astro.su.se/~pit Institute for Solar Physics Tel.: +34 922 405 590 (Spain) P.Suetterlin@royac.iac.es +46 8 5537 8507 (Sweden) Peter.Suetterlin@astro.su.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, 2010-02-24 at 21:55 +0000, Pit Suetterlin wrote:
I just bought a new printer, a Samsung ML-2851ND. Thought "OK, let's install that thing". Just out of curiosity I watched /var/log/messages when I connected it (it has network, but I'm using USB at the moment). What do I see?
Feb 24 21:27:01 snoopy udev-configure-printer: URI matches without serial number: usb://Samsung/ML-2850%20Series Feb 24 21:27:01 snoopy udev-configure-printer: No serial number URI matches so using those without Feb 24 21:27:01 snoopy udev-configure-printer: About to add queue for usb://Samsung/ML-2850%20Series Feb 24 21:27:01 snoopy udev-add-printer: add_queue: URIs=['usb://Samsung/ML-2850%20Series'] Feb 24 21:27:01 snoopy udev-add-printer: D-Bus method call failed: org.freedesktop.DBus.Error.ServiceUnknown: The name com.redhat.NewPrinterNotification was not provided by any .service files Feb 24 21:27:11 snoopy udev-add-printer: PPD: Samsung/ML-2850D-Postscript.ppd.gz; Status: 0
I wish I could say the same for an Epson all-in-one wireless. It only works when I connect via USB. I have not figured out why. Epson provide some brain dead software to set it up. It wants to connect to another computer, not the printer. Even though it says it supports wireless access to the printer. -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, On Feb 24 21:55 Pit Suetterlin wrote:
I just bought a new printer, a Samsung ML-2851ND. Thought "OK, let's install that thing". Just out of curiosity I watched /var/log/messages when I connected it (it has network, but I'm using USB at the moment). What do I see?
Feb 24 21:27:01 snoopy udev-configure-printer: URI matches without serial number: usb://Samsung/ML-2850%20Series Feb 24 21:27:01 snoopy udev-configure-printer: No serial number URI matches so using those without Feb 24 21:27:01 snoopy udev-configure-printer: About to add queue for usb://Samsung/ML-2850%20Series Feb 24 21:27:01 snoopy udev-add-printer: add_queue: URIs=['usb://Samsung/ML-2850%20Series'] Feb 24 21:27:01 snoopy udev-add-printer: D-Bus method call failed: org.freedesktop.DBus.Error.ServiceUnknown: The name com.redhat.NewPrinterNotification was not provided by any .service files Feb 24 21:27:11 snoopy udev-add-printer: PPD: Samsung/ML-2850D-Postscript.ppd.gz; Status: 0
Uh. Ok, lets see: snoopy:~% lpq ML-2850-Series is ready no entries
Wow. No, WOW! I knew it's a PostScript printer and expected little work. But that was an absolute zero-conf thing. Just plug it in and print. As I said - I'm *really* impressed....
Nothing else but pure luck ;-) See the details below. By the way: Does it even actually print correctly? It is not really a big problem to implement an automated print queue setup which uses whatever random driver. The crucial point regarding any kind of print queue setup is how to automatically determine an appropriate driver according to the model strings which whatever autodetected printer device out there in the wild reports via USB. There is no such thing as authoritative lists where USB IDs for USB printers are mapped to appropriate driver descriptions (i.e. PPD files). Of course the printer manufacturers could provide this data but they just insist not to do it, compare http://en.opensuse.org/SDB:Information_for_Printer_Manufacturers_Regarding_L... Therefore each print queue setup tool implements its own kind of best-effort/best-guess magic to automatically determine appropriate drivers (actually PPD files) according to the model strings which an autodetected printer device reports. Therefore it is crucial that whatever "smart" automated printer setup tool does not set up print queues with blind guessed drivers. Instead any automated printer setup tool must give up whenever something looks fishy while it tries to find an appropriate driver. In your particular case the device reports to be a "Samsung ML-2850 Series" and udev-configure-printer determines that Samsung/ML-2850D-Postscript.ppd.gz is an appropriate driver description file but this is only a best-effort/best-guess attempt. Of course all those best-effort/best-guess attempts work well in very most cases where "works well" also means when a printer setup tool just gives up because something looks fishy while it tries to find an appropriate driver. Nevertheless from a strict theoretical point of view, when an automated queue setup is actually successful, it is nothing else but pure luck. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, too! Johannes Meixner wrote:
Hello,
On Feb 24 21:55 Pit Suetterlin wrote:
Wow. No, WOW! I knew it's a PostScript printer and expected little work. But that was an absolute zero-conf thing. Just plug it in and print. As I said - I'm *really* impressed....
Nothing else but pure luck ;-)
Well, yes and no. Of course one reason is that I picked a printer specified as 'works perfectly' in the openprinting database. And knowing that in the past, printer setup of this kind of well-behaved printers was just starting yast-printer and confirm the autodetected configuration options it is easy to imagine that the whole thing can be completely automated without any user interaction. Just the fact that this actually had been done was unexpected. I'm long enough with Linux (reg. Linux user #3595) and Suse to know that this cannot be generalized, and that it even might cause more problems with unsupported printers - though I really hope the developers made this 'AI' smart enough to know when it should rather NOT do anything.... And yes, it does print correctly. Very nice printer, I can recommend it to anyone not needing color.
Nevertheless from a strict theoretical point of view, when an automated queue setup is actually successful, it is nothing else but pure luck.
Hey, you're a pessimist!? Has the advantage that being proven wrong is a good thing, I know. But the ease of nowadays Linux installs seems to indicate that 'pure luck' gets more and more common. And from your mail address and footer I conclude you're one of those responsible for it ;^> Cheers, Pit -- Dr. Peter "Pit" Suetterlin http://www.astro.su.se/~pit Institute for Solar Physics Tel.: +34 922 405 590 (Spain) P.Suetterlin@royac.iac.es +46 8 5537 8507 (Sweden) Peter.Suetterlin@astro.su.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Johannes Meixner
-
Peter Suetterlin
-
Pit Suetterlin
-
Roger Oberholtzer