Advertisement
Guest User

Untitled

a guest
Nov 19th, 2018
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  %!PS
  2.  /Courier             % name the desired font
  3.  20 selectfont        % choose the size in points and establish
  4.                       % the font as the current one
  5.  72 500 moveto        % position the current point at
  6.                       % coordinates 72, 500 (the origin is at the
  7.                       % lower-left corner of the page)
  8.  (árvíztűrő tükörfúrógép Hello world!) show  % stroke the text in parentheses
  9.  
  10.  
  11.  72 300 moveto        % position the current point at
  12.                       % coordinates 72, 500 (the origin is at the
  13.                       % lower-left corner of the page)
  14.  <00D6 00DC> show
  15.  (Hello world! 2) show  % stroke the text in parentheses
  16.  
  17.  72 200 moveto
  18.  
  19.  <0041 0065 006C 006F> show
  20.  
  21.  300 300 moveto
  22.  300 400 lineto
  23.  400 400 lineto
  24.  400 300 lineto
  25.  300 300 lineto
  26.  stroke
  27.  
  28. 0 1 3 {
  29.     1 dict begin
  30.     /q exch def
  31.     gsave
  32.    
  33.     q 100 mul 100 add 100 moveto
  34.     q 100 mul 100 add 200 lineto
  35.     q 100 mul 200 add 200 lineto
  36.     q 100 mul 200 add 100 lineto
  37.     q 100 mul 100 add 100 lineto
  38. } for
  39. stroke
  40.  
  41.  showpage             % print all on the page
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement