🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.ghostscript.bug
Article #404

Re: Beginner needs help...

#404
From: g.cameron
Date: Tue, 13 Oct 1992 09:45
48 lines
2812 bytes
Bruce Benson (bruce-b@cs.aukuni.ac.nz) writes:

> I
> tried various drivers (deskjet, cdeskjet, cdjmono, cdjcolor and
> paintjet[but I only tried this one once :-)] ). It worked OK for the
> colorcir.ps and tiger.ps examples which came with the distribution but with
> all my own postscript things and the other examples did not print
> completely. For instance a man page I had fed though groff to get
> postscript lost a couple of lines off the bottom and the printer stopped
> after only drawing the tops of the letters on the last line it did draw.
> Does anyone know what I'm doing wrong? Is it iwpr or gs causing this?

I'm assuming that there are not significant differences between the 
(Apple-oriented?) deskwriter C and the generic HP DeskJet 500C in the 
following ...

I think what you are seeing is simply the clipping of the page due to the
deskjet (deskwriter) margins. 

For the colour deskjet drivers (cdeskjet, cdjcolor, cdjmono), you can
simply edit the source code to reduce the top margin (the last
parameter of DESKJET_MARGINS_LETTER or DESKJET_MARGINS_A4) to minimise
the non-printing margin at the top of the page, as long as you make it
>= to the PRINT_LIMIT parameter. For these drivers, this will still
give you correct positioning on the page (however, with the monochrome
deskjet drivers, altering the top margin WILL change the position on
the page). The margins are set at present to conform (for US-Letter
paper size) to HP's recommendation on maximum page length (3100 raster
lines), but you will find that in practice, this can be exceeded
without problem.

For the bottom margin, however, there is a fundamental limitation in that the
printer cannot print the last half inch (due to the way it grabs the paper).
There is no easy way around this, other than to use larger paper (maybe use
A4 to preview US-Letter?) The only other thing I can think of would be to
use a postscript preamble to scale the page down slightly, so that your 
printable area doesn't intrude onto the bottom margin.

Hope that helps.

George

 ---------------------------------------------------------------------------
 George Cameron			 g.cameron@biomed.abdn.ac.uk
 Dept. BioMedical Physics
 Aberdeen University
 Foresterhill			 Fax:		+44 (0)224-685645
 Aberdeen AB9 2ZD		 Telephone:	+44 (0)224-681818 ext 53195
Technical Details
Message-ID: <8704.9210130945@athaena.biomed.abdn.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!bio-medical-physics.aberdeen.ac.UK!george

Show Full Headers
Complete Article Headers
Newsgroups: gnu.ghostscript.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!bio-medical-physics.aberdeen.ac.UK!george
From: george@bio-medical-physics.aberdeen.ac.UK (g.cameron)
Subject: Re: Beginner needs help...
Message-ID: <8704.9210130945@athaena.biomed.abdn.ac.uk>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Tue, 13 Oct 1992 09:45:14 GMT
Approved: bug-ghostscript@prep.ai.mit.edu
Lines: 50