Choose the type of printer you have here.
For Windows systems, please choose "Windows Printer" here. Unix (and Linux) users, should select "Postscript Printer".
The "Postscript Printer" generates a postscript file which can be sent to a printer, mailed or embedded into another document. Likewise, a PDF document can be generated by selecting the "PDF Printer".
Depending upon installed expecco plugins and additions, you may find additional entries for other printer types here.
Windows Printer Settings
On the Windows operating system, a printer choice dialog will be shown when expecco is about to print for the first time, then remembers those settings as default value for the next print operation.
This dialog allows for the selection of a printer among the list of available printers, the page format, the number of copies etc.
Via the "Setup" button, it also provides access to a printer-type-specific dialog to change the color, resolution and other printer-type-specific attributes.
Postscript Printer Settings
Specifies the command for printing. Typically, this is
"lpr". However, for previewing, or if you do not
have a postscript printer available, you can also define it to save the
output in some file:
cat > preview.ps
or filter it through ghostscript with:
cat > tmp.ps; ghostview tmp.ps
Processing the output with a postscript filter (like a2ps or enscript) is done by setting the printers type to dumb, and defining a command like:
a2ps | lpr
Page format setting is only possible (required) with a postscript printer.
Various standard formats are offered: the US formats letter,
legal and ledger (which is landscape 17x11).
The DIN formats include A3 through A6 and B5.
Margin setting is only possible (required) with a postscript printer. You can set the margins either in inches or in millimeters.
Tells the system that the attached printer is a color printer.
If turned off, documents are printed in black and white (b&w).
Notice that most b&w postscript printers DO interpret color information, and use dithering techniques to simulate greyscales. Often, this does not produce the desired output, and better results may be obtained, by disabling this to force printing in black & white mode.
(for example: the HTML documents' blue anchor texts looks ugly on a low resolution b&w printer).
Changing the Default Settings
The default settings and the list of offered print-commands can be
defined in a host-specific startup file. The original defaults are set in the
"host.rc" startup file.
To change these, create a file called "
and add printer setup to this file (take the stuff found in
"host.rc" as a starting point.
To provide an example, our in-house setup is included (within a conditional based upon the systems domainName) in that file.
Special Note on Postscript Printing
The ST/X postscript printing classes currently do not know about correct font sizes on your printer (it will parse postscript font metrics files in later versions - if your system provides those metrics files).
In order to find out a font's size (especially height), ST/X asks the display for the size of the corresponding screen font, and scales the returned value for the printer, using the display's resolution as a scaling factor. If your screen size in the display settings is wrong, that computation will lead to wrong results - be certain to give the correct dimension in the screen setting dialog. Wrong printer font sizes are also computed, if the display's font sizes are not correct (for example, when using 75dpi fonts on a 100dpi display).
We recommend generating PDF as output, if possible.