Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can't printing in ubuntu 11.10 with the follow command: echo 'it's working' >/dev/usblp0 but in Ubuntu 11.04 works fine, I'm using an usb to parallel cable converter, my printer is EPSON, and the old version of Ubuntu this command works very well, but in Ubuntu 11.10 it is not working. What can i do?

share|improve this question

Echoing stuff directly to the printer's USB port device sounds troublesome. You may not have permission to write to it (can you post output of ls -la /dev/usblp0?). Or it may be locked by the printing daemon. Any of these things may have changed from 11.04 to 11.10; stable interfaces are provided farther up the stack, like the lpr command which has been present for decades and shields you from iffy low-level printing stuff like ports and formatting languages and even location of the printers.

Any reason why you're not using echo "it's working" |lpr instead? This uses the cupsd printing daemon which should do the right thing for you.

share|improve this answer
It might be in the OP's interest to issue ESC/P codes like half line feeds directly, which may be misinterpreted by CUPS. – aquaherd Mar 21 '12 at 20:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.