GNU enscript is a computer program that converts text files to PostScript, RTF, or HTML formats. Computer Science portal · Official site · Linux Printing Guide. Architecture: x86_ Repository: Extra. Description: Convert ASCII files to PostScript suitable for printing. Upstream URL. If you’re using CUPS printing system, this functionality is included; you won’t need any specific tool for that. Just as Theophrastus indicated in a.

Author: Nikoshicage Tekazahn
Country: Puerto Rico
Language: English (Spanish)
Genre: Technology
Published (Last): 26 August 2011
Pages: 475
PDF File Size: 9.13 Mb
ePub File Size: 19.99 Mb
ISBN: 450-5-16373-311-1
Downloads: 72323
Price: Free* [*Free Regsitration Required]
Uploader: Kegami

Option sets also the name of the input file stdin.

Print PDF from command line in Linux: similar to enscript -2lr – Unix & Linux Stack Exchange

This will convert myfile. The latest development sources for Enscript are stored in git on Savannah. Media’s physical dimensions are width and height.

Print PDF from command line in Linux: Possible values for format are the same which can be given for the –mark-wrapped-lines option. If separator line is missing, no data is copied to output.

The default is 10 points. To subscribe to these GNU mailing lists, please send an empty mail with a Subject: This is free software, and you may redistribute it under the GPL.

Just as Theophrastus indicated in enscrlpt comment, you can use a job option: If no value is given, key key is removed from definitions. The copyright and license notices on this page only apply to the text enscipt this page. In all examples, replace printername with the defined name of the printer. You can combine the -2 and -r options to produce 2up style documents, with two pages per sheet in landscape orientation.


The default underlay font is Times-Roman By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. The configuration files have the following format: For example, on a system using BSD -compatible enscriph, to take the output of the enscript command converting a text file named myfile.

The default escape character is 0.

Unix printing using enscript, dvips, and psduplex

Page device operators are implementation dependant but they are standardized. I guess that reveals how old I really am I am using CUPS printing system.

Although the output of the dvips command can be redirected, its input cannot be taken from a pipe, but instead, must be redirected from a file. Maintainer Enscript is currently being maintained by James Cloos.

ARCHIVED: Unix printing using enscript, dvips, and psduplex

For example, command enscript -Ssetpapertray: It was a good balance between readability and saving paper. If you think you have found a bug in Enscript, then please file as complete a report as possible in the Enscript bug tracker on Savannah.

Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself. You can choose larger fonts by selecting a different themes. Font specification name contains two parts: For example some printers can print in duplex mode and some can not.


Number num can be given as a decimal number. If you’re using some other printing system that does not include that functionality, you may have to construct a pipeline like this:.

Sign up or log in Sign up using Google. Default header is used when option -G is specified or option –fancy-header is given without an argument. The default value is an empty string “” but some programs require that stdin is called something else, usually “-“. Options Linud Chat with a consultant. The states program will lookup its state definition files from this path. Parts are separated by a line containing text: Enacript to the documentation of your printer for supported options.

This option is a shortcut for options: We defend the rights of all software users.

As a default, enscript wraps long lines so no information is lost. The enscript command in Unix changes a text file to PostScript format and then sends it to the printer.