Xref: utzoo comp.lang.postscript:7969 comp.sources.wanted:15812 Path: utzoo!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!timbuk!marc From: marc@sequoia.cray.com (Marc Bouron) Newsgroups: comp.lang.postscript,comp.sources.wanted Subject: Re: how do I find the real edges of printing on a PostScript printer? Message-ID: <111045.29249@timbuk.cray.com> Date: 18 Mar 91 19:06:21 GMT References: <1014@keele.keele.ac.uk> Reply-To: marc@sequoia.cray.com (Marc Bouron) Organization: Cray Research, Inc. Lines: 33 In article <1014@keele.keele.ac.uk>, gerry@seq1.keele.ac.uk (G.D.Pratt) writes: |> Does anyone have any ideas or code about how to find what the |> *real* edges of the printing area are on a PostScript printer. |> If I draw from 0,0 I have missing bits and need to find the |> real origin for a driver. |> |> cheers, |> gerry |> -- |> gerry pratt -- workstation support -- university of keele |> email: gerry@seq1.keele.ac.uk * tel: 0782 621111 x 3290 |> "these opinions are mine, mine, mine....ALL MINE I TELL YOU!" You could try translating to a known position in the centre of the page, and then draw graduated horizontal and vertical rules outwards to some place known to be off the page. Then just look to see where the lines stop! [M][a][r][c] ################################################################################ # # marc@sequoia.cray.com # . . # # Marc CR Bouron # M.Bouron@cray.co.uk (ARPA) # _|\ /|_ # # Cray Research (UK) Ltd. # M.Bouron@crayuk.uucp (DOMAIN) # (_|_V_|_) # # +44 344 485971 x2208 # M.Bouron@uk.co.cray (JANET) # | | # # # ...!ukc!crayuk!M.Bouron (UUCP) # # ################################################################################ -- [M][a][r][c] ################################################################################