blob: fd574046bee28a5c359a0700a463c85ee5b4acd7 [file] [log] [blame]
Alexandre Julliardebfc0fe1998-06-28 18:40:26 +00001Printing in Wine
2================
3
4Printing in Wine can be done in one of two ways. Both of which are very alpha.
5
61. Use a windows 3.1 printer driver.
7
82. Use the builtin Wine Postscript driver (+ ghostscript to produce output for
9 non-postscript printers).
10
11
Huw D M Daviesf59b2151998-12-01 09:58:56 +000012Note that at the moment WinPrinters (cheap, dumb printers that require the host
13computer to explicitly control the head) will not work. It is unclear whether
14they ever will.
15
16
Alexandre Julliardebfc0fe1998-06-28 18:40:26 +0000171. External printer drivers
18---------------------------
Huw D M Davies395d3701999-11-13 20:55:31 +000019At present only 16 bit drivers will work (note that these include win9x
20drivers).
21
Alexandre Julliardebfc0fe1998-06-28 18:40:26 +000022Add
23
24printer=on
25
26to the [wine] section of wine.conf (or ~/.winerc). This lets CreateDC proceed
27if its driver argument is a 16 bit driver.
28
29You will probably also need to add
30
31TTEnable=0
32TTOnly=0
33
34to the [TrueType] section of win.ini .
35
36The code for the driver interface is in graphics/win16drv .
37
38
Huw D M Davies395d3701999-11-13 20:55:31 +0000392. Builtin Wine PostScript driver
Alexandre Julliardebfc0fe1998-06-28 18:40:26 +000040---------------------------------
Huw D M Davies395d3701999-11-13 20:55:31 +000041Enables printing of PostScript files via a driver built into Wine. See
42documentation/psdriver for installation instructions. The code for the
43PostScript driver is in graphics/psdrv .
Alexandre Julliardebfc0fe1998-06-28 18:40:26 +000044
45
46
47Spooling
48========
49Spooling is rather primitive. The [spooler] section of wine.conf maps a port
50(e.g. LPT1:) to a file or a command via a pipe. For example the following lines
51
52LPT1:=foo.ps
53LPT2:=|lpr
54
55map LPT1: to file foo.ps and LPT2: to the lpr command. If a job is sent to an
56unlisted port then a file is created with that port's name e.g. for LPT3: a
57file called LPT3: would be created.