Article View: comp.lang.postscript
Article #5738Re: Conference name placards
From: Matthew D. Goldman
Date: Thu, 19 Nov 1992 17:02
Date: Thu, 19 Nov 1992 17:02
43 lines
2283 bytes
2283 bytes
In article <BxxIt6.3KI@news.cso.uiuc.edu> mkiteam@osiris.cso.uiuc.edu (Ed Japel) writes:
>Hi! I have been trying to write a postscript program to print
>a persons name on one long edge of a paper, and again along
>the opposite edge, rotated so that when the paper is folded in the middle (lengthwise, the name will be readable from either side. This should
>not be as difficult as I am trying to make it, I have a bad case
>of brain-block. Thanks for any help!
>
>Michael Moe
>mkiteam@osiris.cso.uiuc.edu
>
%!
/SectorTitle { % string x y r > -
gsave % save graphics state
/R exch def % Pull info off stack.
/Y exch def % remember first in and
/X exch def % last out queue.
0 setgray % color to black
/Times-Roman findfont % select font
32 scalefont % set pointsize
setfont % use this as the default font
/X /Y moveto % select x and y
/R rotate % orient text
currentpoint translate % orient new zero location.
show % put the letter on the page
grestore % put graphics state back
} def
(Test Info - 590 36 90) 590 36 90 SectorTitle
(Test Info - 75 600 270) 75 600 270 SectorTitle
showpage
That should do it.
Matt
--
Matthew Goldman E-mail: goldman@orac.cray.com
Fax: (612) 683-3099 Work: (612) 683-3061
"Say George, I don't mean to interrupt, but
there's a glowing red dot on your forehead."
Technical Details
Message-ID:
<1992Nov19.110259.21996@walter.cray.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!ornl!rsg1.er.usgs.gov!darwin.sura.net!spool.mu.edu!umn.edu!mmm.serc.3m.com!mmc.mmmg.com!timbuk.cray.com!walter.cray.com!orac.cray.com!goldmanReferences:
<BxxIt6.3KI@news.cso.uiuc.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript Path: arc1-ca.pugleaf.net!sparky!uunet!ornl!rsg1.er.usgs.gov!darwin.sura.net!spool.mu.edu!umn.edu!mmm.serc.3m.com!mmc.mmmg.com!timbuk.cray.com!walter.cray.com!orac.cray.com!goldman From: goldman@orac.cray.com (Matthew D. Goldman) Subject: Re: Conference name placards Message-ID: <1992Nov19.110259.21996@walter.cray.com> Keywords: placards Lines: 43 Nntp-Posting-Host: orac.cray.com Organization: Cray Research, Inc. References: <BxxIt6.3KI@news.cso.uiuc.edu> Date: 19 Nov 92 11:02:58 CST