View Single Post

   
  #10 (permalink)  
Old 02-20-2008, 09:05 AM
No_One
 
Posts: n/a
Default Re: Perplexing Printing Problem lprng

On 2005-06-06, William Hamblen <wrhamblen@comcast.net> wrote:
> On 2005-06-05, No_One <no_one@no_where.com> wrote:
>
>
> "cat output /dev/lp0" when you are an ordinary user gives you the error
> message "cat: /dev/lp0: Permission denied", unless you were naughty and
> changed the permissions on /dev/lp0 or are logged in as root. If you


Guilty

> did, cat will try to cat the output from /dev/lp0 until the cows come
> home, your shell prompt won't come back (unless you &'ed the command)
> and /dev/lp0 will be so busy with cat you can't print.


Yep

>There's more
> than one way to kill cat, but once you do that you can print.


Nope, can't do it. Killed cat, got rid of the "device busy" message but
still can't print.

Why are
> you catting the output file directly to the printer device?


Actually, setting up wp51 to print to lp0 was troublesome and erratic, maybe
a problem with dosemu. At any rate, I set up wp51 to use a wp51 ps driver
and set the printer output to file ( which you can do in wp51) instead of to
/dev/lp0, that's why cat a.ps > /dev/lp0, not elegant but works if you don't
forget the redirect.

>
> If you are pulling our legs you are doing a good job.


Not unless your legs are shaved, you're wearing nylons and william is
short for Julia.


ken
Reply With Quote