Article View: comp.os.linux.misc
Article #1014Re: Printer's memory usage
From: Michael Dwyer
Date: Mon, 10 Apr 2000 00:00
Date: Mon, 10 Apr 2000 00:00
43 lines
2812 bytes
2812 bytes
In csu.unix.linux Matthew Leinhos <leinhos@cs.colostate.edu> wrote: : Hi everyone, : Could anyone tell me if there is a way to tell my printer is using its : on-board memory when I print something? I suspect that it isn't -- my : system "cat"s a file to the lp port until the print job is done, even : though I've 2M of mem on my HP LJ2P. I would like to fix this, but don't : know how... When you send a file to the printer, you send it in some printer language. In the case of your printer, it is probably HP PCL. The printer takes the commands in this language, and expands it into a bitmap the size of the page. Then, it spins up the engine, and dumps the whole bitmap to the printer. You need memory for the bitmap, memory for the commands, and memory for the various stacks and heaps used as part of the language. That said, your printer is most likely using its memory. However, it probably only fills its memory one printed page at a time. Or rather, the printer doesn't accept the entire job, then start working on it. It takes a page, generates the bitmap, prints it, then grabs the data for the next page. The printer is using its memory, but not as you think it should. The thing you are looking for is a print buffer. I'm not sure how much of your printer's 2M of memory is used for buffer, how much for bitmap, and how much for data... I don't know how to find out, either. Under PostScript, there are some commands you can use to get memory information from the rasterizer, and I expect that similar commands exist under PCL, but it would probably be more difficult than it is worth. If this annoys you, consider putting your cat process in the background (with an &), or setting up LPD, which handles this spooling for you. Otherwise, I think your printer isn't 'broken'. Its only a LJ2, after all. Poor thing. :) -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Michael J. Dwyer Digital Watches are a neat idea! mdwyer@holly.ColoState.edu http://WWW.CS.ColoState.EDU/~dwyer/ Computer Science Major Amateur Radio Tech N0ZAP
Technical Details
Message-ID:
<38f278fc@news.ColoState.EDU>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<Pine.LNX.4.21.0004101810001.17556-100000@res095052.halls.colostate.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1103af,9743f36bcf0be82
X-Google-Attributes: gid1103af,public
X-Google-Thread: 1159f7,9743f36bcf0be82
X-Google-Attributes: gid1159f7,public
From: Michael Dwyer <mdwyer@holly.ColoState.EDU>
Subject: Re: Printer's memory usage
Date: 2000/04/10
Message-ID: <38f278fc@news.ColoState.EDU>
X-Deja-AN: 609352368
References: <Pine.LNX.4.21.0004101810001.17556-100000@res095052.halls.colostate.edu>
X-Trace: 10 Apr 2000 18:59:40 -0700, holly.acns.colostate.edu
User-Agent: tin/pre-1.4-19990517 ("Psychonaut") (UNIX) (AIX/4-3)
Newsgroups: comp.os.linux.misc,csu.unix.linux