Include the font description file of the font fontname to the generated output. EscapeChar: num Specify the escape character for the special escapes. The default value is 0. FormFeedType: type Specify what to do when a formfeed character is encountered from the input. The possible values for type are: column move to the beginning of the next column default page move to the beginning of the next page GeneratePageSize: bool Specify whether the PageSize page device setting is generated to the PostScript output. The default value is true 1.
|Published (Last):||14 August 2016|
|PDF File Size:||18.6 Mb|
|ePub File Size:||16.93 Mb|
|Price:||Free* [*Free Regsitration Required]|
Include the font description file of the font fontname to the generated output. EscapeChar: num Specify the escape character for the special escapes. The default value is 0. FormFeedType: type Specify what to do when a formfeed character is encountered from the input. The possible values for type are: column move to the beginning of the next column default page move to the beginning of the next page GeneratePageSize: bool Specify whether the PageSize page device setting is generated to the PostScript output.
The default value is true 1. HighlightBarGray: gray Specify the gray level which is used to print the highlight bars. HighlightBars: num Specify how high the highlight bars are in lines. The default value is 0 which means that no highlight bars are printed.
MarkWrappedLines: style Mark wraped lines in the output with the style style. The possible values for the format are the same which can be given for the --mark-wrapped-lines option.
Media: name width height llx lly urx ury Add a new output media with the name name. The physical dimensions of the media are width and height. The bounding box of the Media is specified by the points llx, lly and urx, ury. Enscript prints all graphics inside the bounding box of the media.
User can select this media with option -M name. NoJobHeaderSwitch: switch Specify the spooler option to suppress the print job header page. NonPrintableFormat: format Specify how the non-printable characters are printed. The possible values for format are the same which can be given for the --non-printable-format option.
The default value is PS-Adobe Since some printers do not like DSC levels greater than 2. PageLabelFormat: format Set the page label format to format. The possible values for format are the same which can be given for the --page-label-format option. The default value is false 0. PostScriptLevel: level Set the PostScript language level, that enscript uses for its output, to level. The possible values for level are the same which can be given for the --ps-level option.
Printer: name Names the printer to which the output is spooled. QueueParam: name The spooler command switch to select the printer queue, e. This option can also be used to pass other flags to the spooler command. These options must be given before the queue switch. Spooler: name Names the printer spooler command. Enscript pipes generated PostScript to the command name. StatesBinary: path Define an absolute path to the states program. StatesColor: bool Should the states program generate color outputs.
StatesConfigFile: file Read highlighting states configuration from the file file. StatesHighlightStyle: style Set the highlight style to style. StatesPath: path Define the path for the states program. The states program will lookup its state definition files from this path. StatusDict: key[:value] Pass a statusdict definition to the generated PostScript output. TOCFormat: format Format table of contents entries with the format string format. Underlay: text Print string text under every page.
UnderlayAngle: num Set the angle of the underlay text to num. UnderlayFont: fontspec Select a font for the underlay text. UnderlayGray: num Print the underlay text with the gray value num. Header description file contains PostScript code that paints the header. Header description file contains two parts: comments and code.
The comments part can contain any data, it is not copied. If separator line is missing, no data is copied to output.
enscript(1) [redhat man page]
Specify a printer BSD-compatible systems -d Specify a printer System V systems -2 Print two columns per page -r Rotate the output 90 degrees -G Print "gaudy" headers, with large page numbers and filenames -l lowercase L Simulate a line-per-page line printer -p lowercase p Direct output to standard output or to a file Note: You can combine the -2 and -r options to produce 2up style documents, with two pages per sheet in landscape orientation. For more information about enscript, read its man page by entering: man enscript Printing a file beginning with the last page and ending with the first page Two Unix commands, psselect and psrev, can reverse the output of a PostScript file. In the following examples, replace printer with the network-connected PostScript printer of your choice e. To use psselect on a BSD system, at the Unix prompt, enter: enscript -p - filename psselect -r lpr -Pprinter To use psselect on a System V system, enter: enscript -p - filename psselect -r lp -d printer To use psrev on a BSD system, at the Unix prompt, enter: enscript -p - filename psrev lpr -Pprinter To use psrev on a System V system, enter: enscript -p - filename psrev lp -d printer The enscript command feeds to the standard output, psrev or psselect reverses the order of the PostScript file, and then this is fed to the printer via lpr or lp.
enscript(1) - Linux man page
Password Linux - Software This forum is for Software issues. Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
ARCHIVED: Unix printing using enscript, dvips, and psduplex
Sets in 1 column the default. Normally, long lines are wrapped around to the following line on the page. This allows simple documents such as program listings in a single font to print somewhat faster by keeping the printer running between pages. The enscript command cannot report on pages, destination, omitted characters, and so on. Fatal errors are still reported to the standard error output. Use this flag for output that requires a wide page or for program listings when used in conjunction with the -2 flag. The following example shows one way to get program listings: enscript -2r File.
Questions tagged [enscript]