This is the blog of Peter Skarpetis. If you have something to say about mountain biking or Linux drop me a line or leave a comment.

One thought on “About”

  1. Hi!

    I need to integrate some thermal USB printer on Linux, and I just came up with an article on your site about it [1], in which you very quickly tiptoe over the Linux integration and move on to detail your battles against Windows in greater detail.

    Would it be possible to have some example, or some pointers, on how actually I need to go about the Linux implementation? I know I need to use some sort of ioctls and some of those urbs things, but I’m pretty lost beyond that point. So far I’ve only been able to open /dev/usb/lp2, write some stuff and get it printed, but I’m not able for example to retrieve the printer status (to get errors like thermal head open, out of paper, etc), because I try to write the same commands I write when talking to the printer over serial port (/dev/ttyUSB0 etc), but I receive no reply.

    Cheers, and thanks in advance,

    [1]: //blog.peter.skarpetis.com/archives/2005/04/07/getting-a-handle-on-usbprintsys/

Comments are closed.