home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / hardware / 22611 < prev    next >
Encoding:
Text File  |  1993-01-08  |  2.6 KB  |  88 lines

  1. Newsgroups: comp.sys.amiga.hardware
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!spool.mu.edu!agate!doc.ic.ac.uk!citycs!sheun
  3. From: sheun@cs.city.ac.uk (Sheun Olatunbosun)
  4. Subject: Postscript tool on WB3
  5. Message-ID: <sheun.726485732@barney>
  6. Sender: news@city.cs (News)
  7. Organization: City University
  8. Date:  8 Jan 93 09:35:32 GMT
  9. Lines: 77
  10.  
  11.  
  12.  
  13. Problem
  14.  
  15. Could somebody tell me if I'm doing something wrong here.
  16.  
  17. I want to do a graphic dump of the workbench screen to a laser printer. The 
  18. steps I take are
  19.  
  20. 1. Select printer using Printer/PrinterGfx  printer preference editors (ppe).
  21. 2. Select postscript output by using PrinterPS <ppe> 
  22.    (...therefore overriding any option made in 1.)
  23. 3. Use the CMD tool to redirect printer output to a file.
  24.  
  25. 4. Move file to MS-DOS formatted disk.
  26. 5. Upload file at University and send to laser printer (can't afford one
  27.    of these!).
  28.  
  29. After reaching step 3, I view the created file. It is unreadable! Basically,
  30. I thought that the file would contain device independent (DVI) o/p which 
  31. could be sent to any postscript printer. A bit like the following...
  32.  
  33. -----------------------------------------------------------------------------
  34. %!PS-Adobe-3.0
  35. %%Creator: groff version 1.04
  36. %%DocumentNeededResources: font Courier
  37. %%DocumentSuppliedResources: procset grops 1.04 0
  38. %%Pages: 1
  39. %%PageOrder: Ascend
  40. %%Orientation: Portrait
  41. %%EndComments
  42. %%BeginProlog
  43. %%BeginResource: procset grops 1.04 0
  44.  
  45. /setpacking where {
  46.     pop
  47.     currentpacking
  48.     true setpacking
  49. } if
  50.  
  51. /grops 120 dict dup begin 
  52.  
  53. % The ASCII code of the space character.
  54. /SC 32 def
  55.  
  56. /A /show load def
  57. /B { 0 SC 3 -1 roll widthshow } bind def
  58. /C { 0 exch ashow } bind def
  59. /D { 0 exch 0 SC 5 2 roll awidthshow } bind def
  60. /E { 0 rmoveto show } bind def
  61. /F { 0 rmoveto 0 SC 3 -1 roll widthshow } bind def
  62. /G { 0 rmoveto 0 exch ashow } bind def
  63. /H { 0 rmoveto 0 exch 0 SC 5 2 roll awidthshow } bind def
  64. /I { 0 exch rmoveto show } bind def
  65. /J { 0 exch rmoveto 0 SC 3 -1 roll widthshow } bind def
  66. /K { 0 exch rmoveto 0 exch ashow } bind def
  67. /L { 0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow } bind def
  68. /M { rmoveto show } bind def
  69. /N { rmoveto 0 SC 3 -1 roll widthshow } bind def
  70. /O { rmoveto 0 exch ashow } bind def
  71. /P { rmoveto 0 exch 0 SC 5 2 roll awidthshow } bind def
  72. /Q { moveto show } bind def 
  73. /R { moveto 0 SC 3 -1 roll widthshow } bind def
  74. /S { moveto 0 exch ashow } bind def
  75. /T { moveto 0 exch 0 SC 5 2 roll awidthshow } bind def
  76.  
  77. % name size font SF -
  78.  
  79.  
  80. etc,etc,etc
  81. -------------------------------------------------------------------------
  82.  
  83. Have I misinterpreted the use of the PrinterPS tool on Workbench3? The manual
  84. helps but not enough. Any input from this group would be appreciated.
  85.  
  86. Sheun
  87.  
  88.