4 When complete this will allow Wine to generate Postscript files without needing
5 an external printer driver. It should be possible to print to a non Postscript
6 printer by filtering the output through ghostscript.
12 At the moment the driver will only work for 16 bit apps, the move to 32 bit
13 should be quite easy, I'd just like to improve it first. The driver behaves as
14 if it were a DRV file called WINEPS.DRV . To install it as the default printer
17 device=Wine Postscript Driver,WINEPS,LPT1:
19 to the [windows] section of win.ini . You may prefer to add
21 Wine Postscript Driver=WINEPS,LPT1:
23 to the [devices] section of win.ini instead.
25 You will need Adobe Font Metric (AFM) files for the (type 1 Postscript) fonts
26 that you wish to use. You can get these from
28 ftp://ftp.adobe.com/pub/adobe/type/win/all/afmfiles . The directories base17 or
29 base35 are good places to start.
31 Note that these are only the font metrics and not the fonts themselves. At
32 present the driver does not download additional fonts, so you can only use
33 fonts that are already present on the printer.
35 Then create a [afmfiles] section in your wine.conf (or ~/.winerc) and add a
38 file=/unix/path/name/filename.afm
40 for each AFM file that you wish to use. [This might change in the future]
42 Note that you need not set printer=on in the [wine] section of wine.conf, this
43 enables printing via external printer drivers and does not affect wineps.
45 If you're lucky you should now be able to produce PS files from Wine!
47 I've tested it with win3.1 notepad/write, Winword6 and Origin4.0 with some
48 degree of success - you should be able to get something out, it may not be in
54 Driver doesn't read PPD files - it should.
56 A4 portrait mode is hard coded in at the moment.
58 Graphics are basically non-existent. Only MoveTo/LineTo/Rectangle with a thin
63 AFM parsing is not finished (or ideal).
67 Many partial-implemented functions.
72 Since the driver is very very alpha, things are likely to change quickly.
73 Please contact me if you want to help so that we can avoid duplication.
75 Huw Davies <h.davies1@physics.ox.ac.uk>