home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!munnari.oz.au!spool.mu.edu!agate!doc.ic.ac.uk!citycs!sheun
- From: sheun@cs.city.ac.uk (Sheun Olatunbosun)
- Subject: Postscript driver on WB3.0
- Message-ID: <sheun.726484349@barney>
- Sender: news@city.cs (News)
- Organization: City University
- Date: 8 Jan 93 09:12:29 GMT
- Lines: 74
-
- Problem
-
- Could somebody tell me if I'm doing something wrong here.
-
- I want to do a graphic dump of the workbench screen to a laser printer. The
- steps I take are
-
- 1. Select printer using Printer/PrinterGfx printer preference editors.
- 2. Select postscript output by using PrinterPS <ppe>
- (...therefore overriding any option made in 1.)
- 3. Use the CMD tool to redirect printer output to a file.
-
- 4. Move file to MS-DOS formatted disk.
- 5. Upload file at University and send to laser printer.
-
- After reaching step 3, I view the created file. It is unreadable! Basically,
- I thought that the file would contain device independent (DVI) o/p which
- could be sent to any postscript printer. A bit like the following...
-
- -----------------------------------------------------------------------------
- %!PS-Adobe-3.0
- %%Creator: groff version 1.04
- %%DocumentNeededResources: font Courier
- %%DocumentSuppliedResources: procset grops 1.04 0
- %%Pages: 1
- %%PageOrder: Ascend
- %%Orientation: Portrait
- %%EndComments
- %%BeginProlog
- %%BeginResource: procset grops 1.04 0
-
- /setpacking where {
- pop
- currentpacking
- true setpacking
- } if
-
- /grops 120 dict dup begin
-
- % The ASCII code of the space character.
- /SC 32 def
-
- /A /show load def
- /B { 0 SC 3 -1 roll widthshow } bind def
- /C { 0 exch ashow } bind def
- /D { 0 exch 0 SC 5 2 roll awidthshow } bind def
- /E { 0 rmoveto show } bind def
- /F { 0 rmoveto 0 SC 3 -1 roll widthshow } bind def
- /G { 0 rmoveto 0 exch ashow } bind def
- /H { 0 rmoveto 0 exch 0 SC 5 2 roll awidthshow } bind def
- /I { 0 exch rmoveto show } bind def
- /J { 0 exch rmoveto 0 SC 3 -1 roll widthshow } bind def
- /K { 0 exch rmoveto 0 exch ashow } bind def
- /L { 0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow } bind def
- /M { rmoveto show } bind def
- /N { rmoveto 0 SC 3 -1 roll widthshow } bind def
- /O { rmoveto 0 exch ashow } bind def
- /P { rmoveto 0 exch 0 SC 5 2 roll awidthshow } bind def
- /Q { moveto show } bind def
- /R { moveto 0 SC 3 -1 roll widthshow } bind def
- /S { moveto 0 exch ashow } bind def
- /T { moveto 0 exch 0 SC 5 2 roll awidthshow } bind def
-
- % name size font SF -
-
-
- etc,etc,etc
- -------------------------------------------------------------------------
-
- Have I misinterpreted the use of the PrinterPS tool on Workbench3? The manual
- helps but not enough. Any input from this group would be appreciated.
-
- Sheun
-
-