Ken Moffat wrote:
At the moment, I'm playing on a clfs box, mainly because its desktop is quite sparse so I can get a better feel for exactly what I need. The really good news is that building with the blfs-svn instructions and versions (plus ijs) gave me a working printer, which is a huge advance on my previous attempts with cups.
ijs isn't really needed, both gimp-print and gutenprint support CUPS natively.
So, now for the questions: I've got exactly one physical printer (an epson stylus), and in cups I have to configure output mode, resolution, media size, media type, and I can play with colour settings for the gimp-print driver, and banners. For my typical printing, I can see that I'll want settings for draft (for speed), quality, and probably a couple of photo variants (high quality paper, and glossy paper). In cups terms, does it make sense to use a different "printer" for each of these, all pointing to the same physical printer, or is there a better way ? And can I do anything to enforce a maximum of one of these "printers" actually running at a time (i.e. all could be queueing jobs, but it would be unfortunate if text and photos were printed onto the same media).
You have to do exactly nothing. Just for a test, I configured two virtual printers pointing to the same physical device which is my Epson Stylus C84, and printed a test page on both simultaneously. No garbage was printed: just one grayscale and one color testpage, both at 720 dpi (i.e., quite slow).
My printer is one of those which needs to be initialised before it will do anything useful from linux (escputil -u -s -r /dev/usb/lp0)
Strange, please report it as a bug in gutenprint. OTOH, does it work without ijs?
- with udev, I suppose I can create a symlink to e.g. /dev/epson830u and use that as the device in cups, but can I also trigger this escputil command to run when the printer device appears, and if so, what's the simplest way to do that ?
Yes, add RUN+="/usr/bin/escputil ...", but don't please don't create workarounds instead of properly reporting a bug.
Also, CUPS has its own support for assigning persistent names to USB printers. Just configure it using the web interface when the printer is on.
-- Alexander E. Patrakov -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
