🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.ghostscript.bug
Article #599

Re: Problems with HP Laserjet

#599
From: L. Peter Deutsch
Date: Sat, 23 Jan 1993 02:10
29 lines
1632 bytes
Re <9301212310.AA29009@raisin-nut>
<1993Jan21.164257.9572@nas.nasa.gov>:

> I have been having trouble getting some postscript documents that print
> correctly on an Apple Laserwriter to print on an HP Laserjet+ using
> gs 2.5.2.  I have tracked down the source of the problem to the following
> line:
> 
> 	clippath pathbbox
> 
> This returns a box that is 11" by 8.5", and does not subtract the
> unprintable region of the page.  Am I mistaken in assuming that this is
> supposed to return a bounding box for the printable region, and not the
> physical page size?

When I executed this code on my copy of Ghostscript 2.5.2, it
correctly returned a clipping box that had been inset to reflect the
unprintable region.  I wonder why you get different results.  The
test I ran was:
	gs -sDEVICE=ljetplus
	GS>initclip clippath pathbbox pstack
	792.0
	586.8
	14.16
	24.96

L. Peter Deutsch :: Aladdin Enterprises :: P.O. box 60264, Palo Alto, CA 94306
ghost@aladdin.com, ...decwrl!aladdin!ghost ; voice 415-322-0103 ; fax 322-1734
	    "Implementation is the sincerest form of flattery."
Technical Details
Message-ID: <9301212203.1.UUL1.3#5127@aladdin.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!aladdin.COM!ghost
References: ghost@aladdin.COM (L. Peter Deutsch)

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!aladdin.COM!ghost
From: ghost@aladdin.COM (L. Peter Deutsch)
Newsgroups: gnu.ghostscript.bug
Subject: Re: Problems with HP Laserjet
Date: 22 Jan 1993 21:10:27 -0500
Organization: GNUs Not Usenet
Lines: 33
Sender: daemon@cis.ohio-state.edu
Approved: bug-ghostscript@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9301212203.1.UUL1.3#5127@aladdin.com>
References: ghost@aladdin.COM (L. Peter Deutsch)