🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #5930

Re: How 2 view full portrait page with Ghostscript 2.5 (PC)

#5930
From: Siming Zhan
Date: Tue, 15 Dec 1992 06:57
50 lines
2533 bytes
In article <ej.723827271@cc.univie.ac.at> ej@cc.univie.ac.at (Ewald Jenisch) writes:
>
>I'm having somewhat difficulties in making Ghostscript work the way I
>want.
>
>For my setup: I'm using Ghostscript 2.5 on a SunRace Notebook. This
>machine is equipped with a greyscale LCD. GS2.5 should be used for
>previewing TeX/LaTeX-output made into Postscript by dvips.
>
>However I can only see parts of the actual portrait page, i.e. the image
>of the output pages is too large to fit on the screen. What I want
>however is output scaled down so that the entire page fits on the
>screen for previewing the layout of the overall page.
>
>First I thought this might be due to the machine I'm working on. I've
>tried that on other machines equipped with VGA-displays -- with the same
>results. Next I tried to fiddle with the "resolution" (-r) options of GS
>-- to no extent.
>
>Is it possible to scale-down a PS-file by changing something within the
>file? If yes, WHAT should I look out for/change? (As a matter of fact,
>I'm no PS-programmer, only a "PS-user")


I am using both gs252286 and gs252386 on my 386 machine with a
VGA monitor. They work fine. You can use -g switch (the geometry switch)
to change the dimension of your window size. 

	gs -sDEVICE=VGA -g<width>x<height>+X+Y your.ps

For example, I can do:

	gs -sDEVICE=vga -g400x520 my.ps

or equivalently you can do:

	gs -sDEVICE=vga -dDEVICEWIDTH=400 -dDEVICEHEIGHT=520 your.ps

where the <width> and the <height> are the numbers of pixels per inch.
You can try different dimensions. +X+Y shall be the coodinates of the
lower-left corner of your display. I also use gs386. It works fine, too.

Happy Ghosting!

Siming Zhan (Waterloo).
-- 
_____________________________________________________________________
mail:  Siming Zhan, Dept C & O, Univ. of Waterloo, Waterloo, ON N2L 3B9
email: szhan@jeeves.uwaterloo.ca   OR  	 szhan@watdragon.uwaterloo.ca
phone: (519) 885-1211 ex      (office),         (519) 725-1802 (home)
Technical Details
Message-ID: <BzAGnM.5Dq@watdragon.uwaterloo.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!wupost!usc!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watdragon.uwaterloo.ca!szhan
References: <ej.723827271@cc.univie.ac.at>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!wupost!usc!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watdragon.uwaterloo.ca!szhan
From: szhan@watdragon.uwaterloo.ca (Siming Zhan)
Subject: Re: How 2 view full portrait page with Ghostscript 2.5 (PC)
Message-ID: <BzAGnM.5Dq@watdragon.uwaterloo.ca>
Keywords: ghostscript, pc, portrait, scaling, TeX
Organization: University of Waterloo
References: <ej.723827271@cc.univie.ac.at>
Date: Tue, 15 Dec 1992 06:57:21 GMT
Lines: 50