TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [TCLUG:11173] PostScript Question...




I found a file landscap.ps file in the /usr/share/ghostscript.... directory.
Does anyone know how to use it?


> -----Original Message-----
> From:	psp@printwareinc.com [SMTP:psp@printwareinc.com]
> Sent:	Wednesday, December 15, 1999 2:38 PM
> To:	tclug-list@mn-linux.org
> Subject:	RE: [TCLUG:11173] PostScript Question...
> 
> There is a device-dependent level 1 PS op that will do this:
> setpageparams.
> It may or may not be supported by your interpreter, but give it a shot:
> 
>    statusdict begin 792 612 0 1 setpageparams end
> 
> will set the image region to 11 x 8.5 inches (72 points/inch) . The 4th
> arg
> (0/1) controls landscape/portrait orientation. 
> 
> Note that if you're putting this into PS created by some driver, your
> device
> coordinate system may have been changed from the native 72 point/inch, and
> also that this operator could be overridden or otherwise nullified by
> later
> code. PostScript written by a driver is not intended to be clear (that's
> an
> understatement) so it's often hard to tell.
> 
> 
	I'll give this a try....


> Phil Plumbo
> Printware
> 
> >	Is there a way to make the orientation of the page a part of the
> >posrtscript definition.  That way, the image that appears in gv as
> landscape
> >by default, will appear as landscape in PDF as well.
> >
> >	Thanks,
> >
> >	Mark
> >
> >> Have fun (if at all possible),
> >> -- 
> >> Its name is Public Opinion.  It is held in reverence. It settles
> >> everything.
> >> Some think it is the voice of God.  Loyalty to petrified opinion never
> yet
> >> broke a chain or freed a human soul.     ---Mark Twain
> >> -- Eric Hopper (hopper@omnifarious.mn.org
> >>                 http://ehopper-host105.dsl.visi.com/~hopper) --
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> >For additional commands, e-mail: tclug-list-help@mn-linux.org
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org