/usr/share/xtrkcad/html/Linux.html is in xtrkcad 1:4.0.2-2+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=US-ASCII">
<title>Linux</title>
<link rel="previous" href="printSetup.html">
<link rel="ToC" href="contents.html">
<link rel="index" href="IndexPage.html">
<link rel="next" href="MS-Windows.html">
<link rel="stylesheet" type="text/css" href="xtrkcad_lin.css"></head>
<body>
<h1><a name="Linux"></a>2.5.7.1 <a name="i0"></a>Linux</h1>
<p>
<img src="png.d/printset.png">
</p>
<p>
The <strong>Printer Setup</strong> dialog allows you to configure the application's use of the printer.
</p>
<p>
The <strong>Printer Setup</strong> window contains:
</p>
<dl><dd>
<strong>Printer</strong> - a list to select a particular printer. The entries on this list are defined by <code>printer</code> lines in the <code>~/.xtrkcad/xtrkcad.rc</code> file. The first entry, 'File', causes printouts to be sent to a file. You will be prompted for a file name when doing a print.
</dd>
</dl>
<p>
</p>
<dl><dd>
<strong>Paper Size</strong> - a list of various North American and European paper sizes.
</dd>
</dl>
<p>
</p>
<dl><dd>
<strong>Margins</strong> - non-printable margins for particular printers. You can adjust these entries or select a printer type from the list. To add margins for a new printer, enter the printer's name and then enter the margin for each edge. You can use <strong>Print Test Page</strong> to determine the margins for your printer.
</dd>
</dl>
<p>
</p>
<dl><dd>
The <strong>Delete</strong> button removes a printer from the margin list.
</dd>
</dl>
<p>
</p>
<dl><dd>
<strong>Format</strong> - a Radio button to select either Landscape or Portrait format.
</dd>
</dl>
<p>
</p>
<dl><dd>
<strong>X Font</strong> and <strong>PS Font</strong> - specifies the mapping between the displays X Font and the corresponding Postscript Font. You can change the Postscript font for a specified X Font by typing the new font name in the <strong>PS Font</strong> field. The <em>font alias</em> map will be printed on the <strong>Print Test Page</strong>.
</dd>
</dl>
<p>
</p>
<dl><dd>
<strong>Factor</strong> - adjusts the scaling between X Font and Postscript Font sizes. Due to differences between the two font systems, text size may be of slightly different between the display and printer. This option allows you to adjust the font size. Normally only a small adjustment is required, (like 0.950).
</dd>
</dl>
<p>
</p>
<dl><dd>
<strong>OK</strong> - updates the data and ends the dialog.
</dd>
</dl>
<p>
</p>
<dl><dd>
<strong>Cancel</strong> - ends the dialog without update.
</dd>
</dl>
<p>
</p>
<dl><dd>
<strong>Print Test Page</strong> - prints a test page you can use to determine the printer margins.
</dd>
</dl>
<p>
</p>
<p>
The formats of the <em>printer</em> entries are:
</p>
<dl><dd>
PRINTER.Iprinter-num: Iprinter-name<em>=</em>Icommand
</dd>
</dl>
<p>
</p>
<dl><dd>
where:
<dl><dd>
<code>Iprinter-num</code> is the next value in a sequential list (starting at <strong>1</strong>, <strong>0</strong> is reserved for <strong>FILE</strong>). <strong>printer.1</strong> is predefined as <code>lp=lpr -P%s</code>.
</dd>
<dd>
<code>Iprinter-name</code> is the name of the printer as it appears in the <strong>Printer</strong> selection list.
</dd>
<dd>
<code>Icommand</code> is the command to invoke where <em>%s</em> will be replaced by the <code>Iprinter-name</code>.
</dd>
</dl>
</dd>
</dl>
<p>
To add a new printer, select the next value for Iprinter-num and add the printer line with the name and print command.
</p>
<p>
Printing generates Postscript data which is sent to the specified printer (or File). The names of fonts differs between the X Window System and Postscript and there is no formula to convert them. The printing system uses a <em>font alias</em> map to convert from X font names to Postscript font names. Font aliases for the common Postscript fonts are predefined but you must supply an alias for unknown fonts. The 'Font Alias' window will be shown whenever you are printing an unknown font. You will be asked to supply a Postscript font name for a X font. You can change the <em>font alias</em> mapping by using the <strong>X Font</strong> and <strong>PS Font</strong> entries on the <strong>Printer Setup</strong> dialog.
</p>
<hr>
</body>
</html>
|