View Single Post

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

No_One wrote:
> I have my printer fuction set up to use lpr etc....
>
> I run wp5.1 in dosemu for business letters and have wp51 print the
> contents to a postscript file called output.ps. I simply switch to another
> window and run the command cat output > /dev/lp0
>
> I ran into a problem the other day, instead of running the correct command I
> ran cat output /dev/lp0 no redirect. Natually nothing printed, however, now
> nothing else will print as well, I get an error message Device or resource
> busy. I can't get the resource un-busy.
>
> I've deleted lock file, temp file, spooled files, I've tired lpc to kill the
> job, I've ps aux'd looking for a pid to kill, I started and stopped rc.lprng,
>
> I can't get rid of the error message, and nothing else will print.
>
> Naturally a reboot solves the problem but that can't be the solution.
>
> Any ideas


Have you ran checkpc ? That can fix many issues.
If you have parallel support as a module, did you try
unloading/reloading it ? Have you checked perms on /dev/lp0 ?

I would try running checkpc first, maybe with -V for more verbose
output. If that finds errors, fix them...Usually checkpc -f will do it.
If it doesn't find anything I'd start looking at the device ( lp0 ).

--
- Matt -
Reply With Quote