home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / applicat / 8787 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  1.8 KB

  1. Path: sparky!uunet!ukma!darwin.sura.net!zaphod.mps.ohio-state.edu!ub!dsinc!pitt.edu!stern
  2. From: stern+@pitt.edu (Eric G Stern)
  3. Newsgroups: comp.sys.amiga.applications
  4. Subject: Re: Printing problems with Post V1.7
  5. Keywords: Post printer postscript
  6. Message-ID: <9860@blue.cis.pitt.edu.UUCP>
  7. Date: 18 Nov 92 21:01:10 GMT
  8. References: <charro.722047739@ee.ualberta.ca>
  9. Sender: news+@pitt.edu
  10. Organization: University of Pittsburgh
  11. Lines: 59
  12.  
  13.  
  14. Since people are having problems with Post, I thought I'd share
  15. some scripts which I use to print or display with Post.  I wrote
  16. them after I couldn't get Post to recognize my Prefs printer defaults,
  17. which I now think was a system bug in 1.3.
  18.  
  19. ====
  20. ;Here is displayPS which displays a postscript file on the screen
  21.  
  22. .key psfiles
  23.  
  24. ; echo "PSFILES is <psfiles>"
  25.  
  26. IF "<psfiles>" EQ ""
  27.     echo "usage: DISPLAYPS  files"
  28.     skip done
  29. endif
  30.  
  31. post:post post:init.ps <psfiles> screen size x612y792d72
  32.  
  33. lab done
  34.  
  35. ====
  36. ;here is printPS which prints to my epson compatible dot matrix
  37. ;printer at selectable density.  High density is 240x216, medium
  38. ;is 120x144.  The page size is 8.5x11 inches.
  39.  
  40. .key psfile1,psfile2,psfile3,psfile4,high/s,medium/s
  41.  
  42. ;echo "PSFILES is <psfiles>"
  43. ;echo "high is <high>"
  44.  
  45. IF "<psfile1>" EQ ""
  46.     echo "usage: PRINTPS  files HIGH/s MEDIUM/s"
  47.     skip done
  48. endif
  49.  
  50. if "<high>" eq "high"
  51.     post:post post:init.ps <psfile1> <psfile2> <psfile3> <psfile4> +
  52.         printer size x2040y2376xd240yd216p7
  53. else
  54. if "<medium>" eq "medium"
  55.     post:post post:init.ps <psfile1> <psfile2> <psfile3> <psfile4> +
  56.         printer size x1020y1584xd120yd144p2
  57. else
  58.     post:post post:init.ps <psfile1> <psfile2> <psfile3> <psfile4> +
  59.         printer size x1020y792xd144yd72p1
  60. endif
  61. endif
  62.  
  63. lab done
  64.  
  65. ====
  66. I just put them in my S: directory and make set the script bit so
  67. that they are executable.
  68.  
  69.  
  70.                 Eric Stern
  71.                 stern@unix.cis.pitt.edu
  72.