how do I send a file to /dev/lpt0

Tom Sparks tom_a_sparks at yahoo.com.au
Sun Apr 17 08:11:21 UTC 2011


--- On Sun, 17/4/11, Todd A. Jacobs <codegnome.consulting+ubuntu at gmail.com> wrote:

> From: Todd A. Jacobs <codegnome.consulting+ubuntu at gmail.com>
> Subject: Re: how do I send a file to /dev/lpt0
> To: "Ubuntu user technical support, not for general discussions" <ubuntu-users at lists.ubuntu.com>
> Received: Sunday, 17 April, 2011, 12:06 PM
> On Sat, Apr 16, 2011 at 6:24 PM, Tom
> Sparks <tom_a_sparks at yahoo.com.au>
> wrote:
> >
> > how do I send a file to /dev/lpt0 ?
> > the file is ASCII text if that makes a difference
> 
> What you probably want to do is actually print the file,
> using the lp
> command, once you've set up a printer. However, the answer
> to your
> original question is to redirect output to the device. For
> example:
> 
>     cat <file> > /dev/lpt0

I get permission denied
even when using sudo

> 
> That said, I still think you're generally better off using
> CUPS and lp or lpr.

if you can find PPD for a Roland DXY-1300 then I'll use it

I know about Chiplotle: an HPGL (Hewlett-Packard Graphics Language) Python API (chiplotle.org) but that use a serial cable

> 
> -- 

tom_a_sparks
"It's a nerdy thing I like to do"





More information about the ubuntu-users mailing list