2010/8/13 Helmut Jarausch <jarau...@igpm.rwth-aachen.de>: > On 08/13/10 15:34:35, Wander Lairson wrote: >> 2010/8/13 Helmut Jarausch <jarau...@igpm.rwth-aachen.de>: >> > Hi, >> > >> > I'm very new to this busyness and I just need to send a file >> directly >> > to my USB printer (bypassing CUPS). >> > >> > Can anybody point me to a simple example, please? >> >> I think that if you need just that, it is easier to use >> /dev/usb/lp0... >> > > Unfortunately, I don't have that device node. > Helmut.
Generally when you plug an USB printer, linux kernel loads the usbprint driver, which creates that node. If it is not happening, the printer device may not be describing itself as a printer. If you can lsusb command to check that. But if you device to go ahead using PyUSB, apart from knowing about UBS Printer Class, you need to know the printer commands (which is vendor specific). > >> > >> > Many thanks, >> > Helmut. >> > >> > >> > -- >> > Helmut Jarausch >> > Lehrstuhl fuer Numerische Mathematik >> > RWTH - Aachen University >> > D 52056 Aachen, Germany >> > >> > >> > >> ------------------------------------------------------------------------------ >> > This SF.net email is sponsored by >> > >> > Make an app they can't live without >> > Enter the BlackBerry Developer Challenge >> > http://p.sf.net/sfu/RIM-dev2dev >> > _______________________________________________ >> > pyusb-users mailing list >> > pyusb-users@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/pyusb-users >> > >> >> >> >> -- >> Best Regards, >> Wander Lairson Costa >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by >> >> Make an app they can't live without >> Enter the BlackBerry Developer Challenge >> http://p.sf.net/sfu/RIM-dev2dev >> _______________________________________________ >> pyusb-users mailing list >> pyusb-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/pyusb-users > > > > -- > Helmut Jarausch > Lehrstuhl fuer Numerische Mathematik > RWTH - Aachen University > D 52056 Aachen, Germany > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > pyusb-users mailing list > pyusb-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pyusb-users > -- Best Regards, Wander Lairson Costa ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users