Printing speed question
Can anyone offer any suggestions to speed up printing? Or to, at least, provide a clue as to why printing may either be abnormally slow or hanging the printer.
I have an HP LaserJet 1200 that sometimes takes forever to complete a print job. There's 72MB (8MB + 64MB added) of RAM in it but any print file that's larger than a few MB will cause the printer to spin its wheels until someone complains and I pause the queue, kill the current job, power cycle the printer, and restart the queue. Configuration: The print server is running as a plain 'ol lpd/lpr print server (using LPRng). The printer is, as I mentioned above, an HP LaserJet 1200. The PostScript level is `2014.116'. Jean-Serge Gagnon's PS printer test (ppst33.ps) reports an overall rating of 12.1 (with 1.0 = original Apple Laserwriter). Clients are running CUPS (except for one one Windows client) and treating the print server as an lpd/lpr server. One thing I've noticed is that printing from Okular seems to be less reliable than printing from Acrobat Reader. (So the speedier launch of Okular is wasted.) Printing from `gv' is generally reliable. Printing pure PostScript files from the command line nearly always results in a completed print job depending on what produced the PS file. For example, printing from Firefox mostly works but not always; it looks like FF is producing PS v3.x output, some of which which may be confusing the printer. LibreOffice printing has not been a problem; neither has anything that comes out of LaTeX+dvips. Thoughts on ways to speed up printing or to make it more reliable -- and by reliable, I mean `doesn't cause the printer to go catatonic? (Short of buying a newer printer, that is.) TIA... -- Rick |
Have you tried installing and using HPLIP? That's H-P's free Linux printing and imaging software that supports pretty much every printer they've ever made. It builds your CUPS interface for you (you can, of course, use lp too).
Have a look at http://hplipopensource.com/hplip-web/index.html and maybe give it shot; WFM. Hope this helps some. |
Quote:
The problem isn't that printing isn't working... unless the printer is fed one of those really large files. Perhaps the problem is not so much the printer and the drivers as the applications that are generating crappy output files. I know one thing that'll cause the printer to choke is when a PDF is a collection of raster scanned images. Those files are huge and that's when printing seems to get either extremely slow or hung. (Makes me really wish there was a port on the printer that I could hang a terminal on to monitor what's going on.) If I'm aware that the file is composed of a series of images -- happily they're not common -- I'll print them 1-2 pages at a time. They still print very slowly but at least breaking the job up into small chunks doesn't cause the printer to hang. There's another memory slot available on the printer. Anyone feel that adding another 64MB would help? I can probably scare up another chunk of RAM amongst my spare parts. (Frankly I'm doubting that it'll help when an 8MB job chokes when there's 72MB available.) What would be nice for debugging purposes if it would be possible to append a bit of PostScript to each print job (or embed the job in a PS wrapper via a shell script or a header and trailer that could be configured in LPRng) that would print a trailer page showing performance statistics -- processing time, memory used, etc. -- after the job completes. Anyone know of such a thing? (Haven't tried Googling for that yet to see what I can find or dug into my old Adobe PS books to see if the language offers any bits to get that information.) So, it appears that I'm still looking for a solution. -- Rick |
Well, one of the reasons I suggested a look-see at HPLIP is that I have some enormous image files to print every so often (plus large PDF files with and without embedded images) and my H-P Photosmart C-4680 with USB (which does not have PostScript in it) and my H-P Business Inkjet 2280 tn (Ethernet card and the PostScript engine in it) handle either with ease; the 2280 tn has 32 M of RAM installed. Between CUPS and HPLIP, which provides the print "model," I have no problem printing things like hi-resolution topographic maps (created with software). Prior to HPLIP, I had essentially the same problem with it taking forever and week to print image files and now I don't.
What the heck, it's free and you can always uninstall it if it doesn't work for you. |
Hi
+1 on hplip and just to be blunt Quote:
Your cups configuration page can also change your resolution or DPI settings. In other words if you don't mind a loss of quality, you can really really speed up printing by printing at less DPI setting ---the printer will drop less ink onto the page so will be much faster. YMMV your distro may have multiple ways of installing cups and hplip but once downloaded --check that your cups daemon is running go into FF and go to http://localhost:631/ ensure you know your root password Click on add printer ---NOT search printer that will bring up the root login dialog box for cups enter root and your root password cups will then find your printer if turned on cups will then offer hplip driver if found etc etc or you could try Code:
sudo hp-setup |
Quote:
If by `modern' you mean `what's being shoved down our throats', then, yeah, I agree... it's the modern way. Doesn't mean it's better, IMHO. I do get miffed when I cannot install some packages without some RPM dependency getting in the way when the actual dependency should be `a printing subsystem', not `the CUPS printing subsystem'. Much the same way as when I'm forced to install MySQL by some package when I'm already using PostgreSQL; the requirement should be `an RDBMS' and not a specific one. (Wait until the fun begins when old RPMs that require MySQL start getting used on systems that have migrated to MariaDB.) It's a waste of resources to have both. But I digress... Quote:
Quote:
You guys are obviously having some luck with CUPS so maybe it's worth giving it another chance. Later... -- Rick |
ahh ok
you may like to peruse the comments herer http://www.openprinting.org/printer/HP/HP-LaserJet_1200 in particular using cups, someone found the hp drivers slow but gutenprint also supplies a PPD and that was good YMMV Incidently online viewing of PPDs show you need the foomatic-rip package as well as cups pxlmono PPD---needs foomatic-rip as well http://www.openprinting.org/ppd-o-ma...et_1200&show=1 PS PPD --fooetc http://www.openprinting.org/ppd-o-ma...et_1200&show=1 I upload a gutenprint to show needs gutenprint https://www.dropbox.com/s/vi0xa5uw5eit3gt/hp.ppd and as I don't have a laser jet but a inkjet...giggles this is the best I can show https://www.dropbox.com/s/wwnm6wd729ag0m8/hp.jpg |
Quote:
According to the comments/review it appears that I have maxed out the amount of RAM that can be installed. I generated the status page from the printer and it says: Code:
DIMM Slot 1: Side 1: 64 Mbyte RAM DIMM From the review: Quote:
I've done the obvious things -- tweaking applications to send grayscale information to the printer (and not color), reducing the resolution in CUPS (hey... we all lived with 300DPI for years and thought it was good enough), etc. -- and that's likely about as good as I'll be able to get. Quote:
Quote:
Thanks for the tip(s)... -- Rick |
Seems like the 1200 dates from sometime around 2000/2001 (earlier?)? Kinda a older/slower box with graphics, but not shabby with text; but no speed demon in any case. I have noticed that the PostScript "engine" in the Business Inkjet can take forever and week to process some images that get sent to it; particularly a 66MB PostScript full-color map of Cold War Europe which takes 9.19 s to render with gv on a pretty darn fast 64-bit box with 16G of RAM. That same file takes about 2.5 minutes to render on the printer. On the C4680 Photosmart it renders in 45 seconds. Newer engine, quicker results, I suppose. The Business Inkjet is about 15 years old, the Photosmart is about 3 (and gv is going to a display). Oh, yeah, that same file takes about 10 minutes on the plotter; lots of detail, lots of text, lots of color layers (but an E-size drawing sure is pretty).
Cut down the DPI (you can't really see the difference between 600 dpi and 300 dpi in most circumstances anyway), you go faster. It's probable that throwing RAM at LJ1200 could help -- but not much, you're limited by the engine. I watch the lights blink on the router sending a big job to the Inkjet, spit some, wait, spit some more, wait, repeat. It's just not going to be a speed demon. I have found that HPLIP/CUPS is a good pair, that Inkjet is more efficient with that combination than it ever was with lp. The Photosmart with the same combination pumps along at a good rate (and the thing only cost $65!). The Photosmart gets a lot more use nowadays than the Inkjet but the Inkjet has been reliable and useable for a long, long time and has a warm place in my heart (and a lot less twiddling with HPLIP/CUPS, too, set it up and go in about a minute). Can't hurt, just might help. |
ok so some comments on printing PDFs
you may like to look at ghostscript. the command to run is gs ref http://linux.about.com/library/cmd/b...hostscript.htm online help http://www.ghostscript.com/doc/9.07/Use.htm the main issue is finding a "device" friendly enough to use in the commmands to print without using a file manager or web browser etc Code:
gs --help |
Quote:
Quote:
Quote:
Quote:
Quote:
Well, I have a couple of things to check out and reconfigure so I'm going to get on that. Later... -- Rick |
Quote:
(And gs still supports the DEC LN03? Those printers would be over 20 years old by now!) -- Rick |
All times are GMT -5. The time now is 04:35 AM. |