Settings PrinterSettings/en

Aus expecco Wiki (Version 2.x)
Wechseln zu: Navigation, Suche

Printer Settings

Printer Type

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.

Winprintersetup1.png

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

Print Command

Specifies the command for printing. Typically, this is "lp" or "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

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.

Margins

Margin setting is only possible (required) with a PostScript printer. You can set the margins either in inches or in millimeters.

Color Printing

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 "h_myHostName.rc" 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 dimensions in the screen settings 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.



Copyright © 2014-2016 eXept Software AG