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

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