[nflug] Print Queue ID

Robert F. Stockdale IV javabob at adelphia.net
Tue May 9 04:50:51 EDT 2006


I know the symptoms are painful. I have the 895cse and don't use it any more. My daughter will 
if she can't get to the network printer for some reason. But the cost of the print cartridges 
almost on a monthly basis lead me to get a laser printer. What CUPS is doing is first 
converting your document to a postscript format, which takes a lot of processor/memory and io. 
This is usually done through ghostscript. It then pipes that output through the printer driver 
to send instructions to the printer that it will understand. Adding Kprint manager just adds 
another layer of overhead, not to mention you probably now have two print dialog boxes to click 
on to get printing started with many applications. I've also thought kprint was quite buggy. 
There are other kde apps I feel that way about so I don't use kde
I believe if you restart cupsd the print jobs start over. Don't know for sure with kprint also 
running. The first 2 things I'd consider are 1.) dump kprint. You don't need the additional 
overhead. 2.) consider building a print server out of an old computer to off load the print 
processing from your workstation.(or you could upgrade your printer).
Have you tried running top in a xterm prior to issuing the print command?  That could direct 
you to what cups is calling. I believe if you print from the shell or a script a gui print 
manager doesn't intercept the print command.
JUST SOME THOUGHTS
Bob

Joe wrote:
> I'm running lp (cups) on Mandrake 9.1 (kde3.1).  When I print something 
> in a terminal, the system issues a message giving me the queue id of the 
> print job.
> I can see jobs in the queue using lpstat
> 
> bigbird ~/Documents/HOWTO/Manuals: $lpstat
> HPDESKJET895C-19379     bigbird       225410048   Sat 29 Apr 2006 
> 03:04:22 PM EDT
> 
> I have a few questions:
> 
> 1) How can I reset the next print job number to 1?  It's getting kind of 
> old typing lprm 19379 when something goes wrong.
> 
> 2) When I submit a bunch of print jobs (from applications or from my 
> duplex printing scripts), and then I run kjobviewer, nothing ever shows 
> up.  Is there something I'm doing wrong, or is there another gui utility 
> I could use to manage my print jobs?
> 
> 3) The job above is printing the first 40 pages of my new modem/router 
> manual (originally printed to disk in sections using xpdf).  It actually 
> appears to be working, but it's printing at about 0.3 ppm (yup, that's 
> really a decimal point in there!)
> 
> The manual (in pdf form) does have a lot of graphics in it, but the size 
> is apparently totally choking my system.  (I'm running sysinfo, and 
> every time it gets finished printing a page, cpu usage hits the roof and 
> pretty much stays there for a long time before the next page is ready.)
> 
> I can go back and try printing in smaller chunks, but I know there are a 
> bunch of utilities for manipulating postscript files.
> 
> If I don't care how good the pictures, etc. look and just want something 
> I can read with recognizable graphics, what could I do (e.g. cut down 
> resolution, etc.) to make printing monsters like this faster?
> 
> Joe
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
> 
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list