>> 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".

Applications shouldn't normally be writing to explicit device IDs.

On 3/10/19, ToddAndMargo via perl6-users <perl6-users@perl.org> wrote:

Hi Parrot,

I mean writing directly to /dev/lp0.

This is my example that does not work as I have a kernel problem
with lp0 at the moment:

p6 '"/dev/lp0".IO.spurt( "abc"~chr(12) );'

But it would also be nice to know how to write to cups as well
for my notes.

-T
  • lp0 ToddAndMargo via perl6-users
    • Re: lp0 Parrot Raiser
      • Re: lp0 ToddAndMargo via perl6-users

Reply via email to