home *** CD-ROM | disk | FTP | other *** search
- % @(#) $Header: net23.card,v 1.1 90/06/11 02:56:09 jef Exp $
- %
- % net23.card - Network 23 ID
- %
- % Copyright (C) 1990 by Jef Poskanzer. All rights reserved.
-
- /net23-netxxiiisize 0.15 in def
- /net23-logowidth photowidth def
- /net23-logoheight photoheight def
- /net23-logolinewidth 0.05 in def
- /net23-logolinemargin net23-logolinewidth 2 div def
- /net23-boxheight cardheight cardmargin 2 mul sub photoheight sub 2 div def
- /net23-numwidth net23-boxheight diagoffsetfactor mul net23-logowidth add def
- /net23-namewidth cardwidth cardmargin 3 mul sub net23-numwidth sub def
-
- /net23-logo {
- gsave
- net23-logolinewidth setlinewidth
- cardwidth cardmargin sub net23-logowidth sub
- cardheight cardmargin sub net23-logolinewidth 2 div sub translate
- 0 0 moveto net23-logowidth 0 rlineto stroke
- 0 net23-logolinewidth 2 div net23-logolinemargin add net23-netxxiiisize add neg translate
- /Helvetica-Bold findfont 0.25 in scalefont setfont
- 0 0 moveto net23-logowidth net23-netxxiiisize (NETWORK) showboxed
- 0 net23-logolinemargin net23-logolinewidth 2 div add neg translate
- 0 0 moveto net23-logowidth 0 rlineto stroke
- /Times-Bold findfont 0.25 in scalefont setfont
- /23size
- net23-logoheight net23-logolinewidth 4 mul sub net23-logolinemargin 6 mul sub
- net23-netxxiiisize 2 mul sub
- def
- 0 net23-logolinewidth 2 div net23-logolinemargin add 23size add neg translate
- 0 0 moveto net23-logowidth 23size (23) showboxed
- 0 net23-logolinemargin net23-logolinewidth 2 div add neg translate
- 0 0 moveto net23-logowidth 0 rlineto stroke
- 0 net23-logolinewidth 2 div net23-logolinemargin add net23-netxxiiisize add neg translate
- 0 0 moveto net23-logowidth net23-netxxiiisize (XXIII) showboxed
- 0 net23-logolinemargin net23-logolinewidth 2 div add neg translate
- 0 0 moveto net23-logowidth 0 rlineto stroke
- grestore
- } def
-
- /net23-info {
- cardmargin cardmargin net23-boxheight add moveto
- net23-namewidth net23-boxheight (NAME)
- FirstName: ( ) LastName: strcat strcat diagbox
- cardmargin cardmargin moveto
- net23-namewidth net23-boxheight (SIGNATURE) () diagbox
- cardwidth cardmargin sub net23-numwidth sub
- cardmargin net23-boxheight add moveto
- net23-numwidth net23-boxheight (EMPLOYEE NO.)
- 4 randdigs diagbox
- cardwidth cardmargin sub net23-numwidth sub cardmargin moveto
- net23-numwidth net23-boxheight (CREDIT RATING)
- (ABC) randchar (123) randchar strcat diagbox
- } def
-
- /net23-asseenontv {
- gsave
- newpath
- 0.5 0 moveto
- 0.05 0 0 0.05 0 0.5 curveto
- 0 0.95 0.05 1 0.5 1 curveto
- 0.95 1 1 0.95 1 0.5 curveto
- 1 0.05 0.95 0 0.5 0 curveto
- black setgray fill
- white setgray
- /Helvetica-Bold findfont 0.25 in scalefont setfont
- 0.1 0.7 moveto 0.8 0.2 (AS SEEN ON) showboxed
- 0.1 0.1 moveto 0.8 0.5 (TV) showboxed
- grestore
- } def
-
- /net23-card {
- cardstart
- black setgray
- 0 setlinewidth
- cardticks
- cardmargin cardheight cardmargin sub photoheight sub moveto
- photowidth photoheight photo
- net23-logo
- gsave
- cardmargin net23-logowidth add cardmargin 2 mul add
- cardheight cardmargin sub net23-logoheight sub cardmargin 3 mul add
- translate
- cardwidth cardmargin 2 mul sub net23-logowidth sub cardmargin 4 mul sub photowidth sub
- net23-logoheight cardmargin 6 mul sub
- scale
- net23-asseenontv
- grestore
- net23-info
- cardend
- } def
-
- net23-card
-