[cups.general] How do I configure a local printer at /dev/lp0?

Johannes Meixner jsmeix at suse.de
Wed Apr 18 04:27:07 PDT 2012


Hello,

On Apr 14 09:45 Alan Mackenzie wrote (excerpt):
> How do I configure a local printer which is connected
> to /dev/lp0 with a USB cable?
....
> I know the printer works at a low level, because this works:
>    # echo printing^L > /dev/lp0

See
https://bugzilla.novell.com/show_bug.cgi?id=264219#c1
and
http://lists.opensuse.org/opensuse/2008-10/msg01527.html

Alternatively it might work to misuse the "parallel" backend
when you specify its device URI as parallel:/dev/usbp0
depending on to which extent parallel port communication
works even via an USB-to-parallel-port-converter.

Alternatively you may use a self-made backend as described in
http://en.opensuse.org/SDB:Using_Your_Own_Backends_to_Print_with_CUPS
provided there is a device node that can be used to send data to
the printer via an "echo -en '\rHello\r\f' >/dev/..." command as in
http://en.opensuse.org/SDB:Installing_a_Printer


Kind Regards
Johannes Meixner
-- 
SUSE LINUX Products GmbH -- Maxfeldstrasse 5 -- 90409 Nuernberg -- Germany
HRB 16746 (AG Nuernberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendoerffer





More information about the cups mailing list