S
S
simplecode2011-09-22 19:34:02
linux
simplecode, 2011-09-22 19:34:02

printer file in linux

Hello!
There is Ubuntu linux.
How can I find out which file is associated with a printer?

I think
/dev/lp0
but trying to print text
#sudo date > /dev/lp0
bash: /dev/lp0: Permission denied

#sudo ls -l /dev/lp0
crw-rw---- 1 root lp 6, 0 2011-09-22 19:24 /dev/lp0

help figure it out...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
m08pvv, 2011-09-22
@m08pvv

Maybe it's easier to print text with lp rather than directly to a printer file?
Read man lp - there are many useful options.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question