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.
|Published (Last):||18 September 2009|
|PDF File Size:||15.23 Mb|
|ePub File Size:||9.89 Mb|
|Price:||Free* [*Free Regsitration Required]|
As a default, enscript wraps long lines so no information is lost. If default linhx have been changed from the configuration files, some examples will behave differently.
In the following examples, replace printer with the network-connected PostScript printer of your choice e. 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. Here are some usable page device options which can be selected with the -D–setpagedevice option.
Unix printing using enscript, dvips, and psduplex
The psduplex command accepts PostScript format input, and should be the last filter used before the print command. Replace textfilename with the name of the file you want to convert and print.
AFM files for the most common PostScript fonts are included in the distribution; the program itself can download PostScript fonts. Number num can be given as a decimal number. Feedback Forums Private Messages Surveys.
The default value is 1. You are an Anonymous user. Media’s bounding box is specified by points llxlly and urxury. You can send the output of the dvips command to a file using the -o switch.
The number of the first line defaults to 1. It will work only with printers that support double-sided i.
Although the output of the dvips command can be redirected, its input cannot be taken from a pipe, but instead, must encript redirected from a file. Possible values for format are: Enscript pipes generated PostScript to command name.
enscript(1) – Linux man page
Two Unix commands, psselect and psrevcan reverse the output of a PostScript file. The default is 10 points.
There are also other ways to contact enacript FSF. The enscript command in Unix changes a text file to PostScript format and then sends it to the printer. If the width is negative, the value will be printed left- justified. I was able to linud this using a single command:. Header description file enscriipt PostScript code that paints the header.
It includes features for “pretty-printing” language sensitive code highlighting in several programming languages. It was a good balance between readability and saving paper.
Although all level 2 interpreters support page device, they do not have to support all page device options. The default is to pass other flags to the spooler command but they must be given before the queue switch.
This is a GNU package: Format string start from linuc first non-space character and it ends to the end of the line. For details on submitting a bug report, please see the section Report a Bug below. The configuration files have the following format: A copy will automatically be sent to the mailing list. Harvey King 1 1. You can browse the sources via the gitweb interface. For example ” Times-Roman12 ” selects “Times-Roman” font with size 12pt.
GNU Enscript can be found on http: In Debian at least, the pdftops utility is in poppler-utils package, and psnup is in psutils.