If an ordinary user tries to write to lp0, this is the result:
$ cat > /dev/lp0
bash: /dev/lp0: Permission denied
Using a large club results in this:
$ su root -c "cat > /dev/lp0"
Password:
more stuff
$ ls -l /dev/lp*
-rw-r--r-- 1 root root 11 Mar 11 11:49 /dev/lp0
$ cat /de
>> Hi All,
>>
>> How do I output data to a printer on /dev/lp0 (LPT1)?
>>
>> Many thanks,
>> -T
>>
On 3/10/19 11:28 AM, Parrot Raiser wrote:
Do you have the printer set up in CUPS? (Common Unix Printing System.)
See "man cups".
Applicati
Do you have the printer set up in CUPS? (Common Unix Printing System.)
See "man cups".
Applications shouldn't normally be writing to explicit device IDs.
On 3/10/19, ToddAndMargo via perl6-users wrote:
> Hi All,
>
> How do I output data to a printer on /dev/lp0 (LPT1)?
>
> Many thanks,
> -T
>
Hi All,
How do I output data to a printer on /dev/lp0 (LPT1)?
Many thanks,
-T