🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.linux.misc
2 messages
2 total messages Started by Matthew Leinhos Mon, 10 Apr 2000 00:00
Printer's memory usage
#1013
Author: Matthew Leinhos
Date: Mon, 10 Apr 2000 00:00
17 lines
1302 bytes
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...

Any suggestions would be appreciated.

-Matt

-- 
"Where have you gone, Joe DiMaggio?  |              Matthew Leinhos 
 Our nation turns its lonely eyes    |     leinhos@cs.colostate.edu
 to you."                            |    Colorado State University 
         --Paul Simon                | Computer Science, Math major
Re: Printer's memory usage
#1014
Author: Michael Dwyer
Date: Mon, 10 Apr 2000 00:00
43 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads