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.
|Genre:||Health and Food|
|Published (Last):||18 October 2019|
|PDF File Size:||10.14 Mb|
|ePub File Size:||12.48 Mb|
|Price:||Free* [*Free Regsitration Required]|
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.
Back to top Using psduplex The psduplex command in Unix makes a file print on both sides of the paper. It will work only with printers that support double-sided i. The psduplex command accepts PostScript format input, and should be the last filter used before the print command. A single switch, -tumble, causes files printed in landscape mode to be rotated along the short side of the paper to keep the text upright. Normally, the rotation is done along the long side of the page.
For example, on a system using BSD-compatible printing, to take the output of the enscript command converting a text file named myfile. Because psduplex is actually just an executable Perl script, you can easily install it on your own system by copying the text in between the lines into a file:!
Not all utilities are available on all Unix systems. In all examples, replace printername with the defined name of the printer. Also, in examples using the lpr commands, you could use the equivalent lp commands. On a BSD-compatible system, convert and print a text file without a banner page: enscript -Pprintername -h myfile. Print a text file, one page per sheet, one-sided: lpr -Pprintername -h filename.
Z lpr -Pprintername -h Print a compressed PS file as in step zcat filename. Z 2up lpr -Pprintername -h Print a PS file as in step 10, but double-sided: cat filename.
Enscript for Windows
enscript(1) - Linux man page