1835592 Members
2411 Online
110079 Solutions
New Discussion

Spool files

 
Bolek Mynarski
Frequent Advisor

Spool files

I had a problem with one of our non-HP network printers (Zebra). So, I went ahead and copied /var/spool/lp/request/printer to printer.old and removed the queue using jetadmin. After re-adding the queue, copying the content from printer.old to printer does not result in printing those spooled files. I know now that I should have used lpmove command to do that. It's too late for that now, however.

My question is, is it still possible to print those spooled files? When you look inside of them, you can see print control characters so the printer should understand it, right? Everything is a file in UNIX so I don't see why not simple lp -dprinter printer.old/* wouldn't do the job. I haven't tried it yet but I would like to hear what is your take on this..

Thanks.
It'snever too late to learn new things...
1 REPLY 1
Tracey
Trusted Contributor

Re: Spool files

Can you see the print jobs when youdo a lpstat? If so, you may be able to just disable zebra, and then enable zebra.

This oftentimes helps me clear our zebras out when they are having difficulties.