Posted in : Art

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: Gromi Yozshule
Country: Guinea-Bissau
Language: English (Spanish)
Genre: Automotive
Published (Last): 20 March 2018
Pages: 371
PDF File Size: 4.25 Mb
ePub File Size: 16.56 Mb
ISBN: 710-7-38577-373-6
Downloads: 72833
Price: Free* [*Free Regsitration Required]
Uploader: Nekazahn

To check out an anonymous copy of the repository, use: Slice numbers start from 1. If no value is given, key key is removed from definitions.

This is free software, and you may redistribute it under the GPL. Enscript can be easily extended to handle different output media and it has many options that can be used to customize printouts. Option sets also the name of the input file stdin. I guess that reveals how old I really am Help if you can! It supports ten different input encodings, Adobe Font Metrics files, and user defined fancy headers.

Page device operators are lijux dependant but they are standardized. I was able to do this using a single command:. The option sets the linu type to horizontal-columns. Sign up using Email and Password.

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

Retrieved from ” https: Currently enscript supports following escapes: As a default, special escapes interpretation is off, so all ASCII files print out as everyone expects. The psduplex command in Unix makes a file print on both sides of the paper. Following is information about the commands dvips which converts DVI files to PostScript and prints themenscript which converts text files to Postscript and prints themand psduplexwhich makes a file print on both sides of the page.


Post as a guest Name. Statusdict operators are implementation dependant; see printer’s documentation for details. Although enscrlpt output of the dvips command can be redirected, its input cannot be taken from a pipe, but instead, must be redirected from a file.

Header description file contains PostScript code that paints the header.

enscript(1) – Linux man page

I was able to do this using a single command: Enscript can be extended to handle different output media and it has many options which can be used to customize printouts. As a default, no highlight bars are printed. This is valid only for the toc entries, it can’t be used in header strings. Development The latest development sources for Enscript are stored in git on Savannah. Following options can be given for the epsf escape: For example, command enscript -Ssetpapertray: PHP-Nuke comes with absolutely no warranty, for details, see the license.

If no input files are given, enscript processes standard input. The default value is 0 so no highlight bars are printed.

For example, to convert the DVI file myfile. Possible values for Spool output to the printer name.

If you’re using CUPS printing system, this functionality is included; you won’t need any specific tool for that. The default escape character is 0. Normally, the linuux is done along the long side of the page.

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. Please remember that development of Enscript is a volunteer effort, and you can also contribute to its development. Enscript defines following constants which can be used in header description files: Not all utilities are available on all Unix systems.


Here are some examples of printing files with various combinations of the lprenscript2updvipsand psduplex commands. As a default, enscript wraps long lines so no information is lost. 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:.

For example ” Times-Roman12 llnux selects “Times-Roman” font with size 12pt.

The default value is false 0. In Unix, how do I print files and list or remove print jobs? Special font specification default can be used to select the default body font enscript ‘s default or the one specified by the command line option -f–font. Possible values for format are: If default actions have been changed from the configuration files, some examples will behave differently.

Other features include language sensitive highlighting, N-up printing, inlined EPS images, comments, and the ability to change body color and font on the fly.

The copyright and license notices on this page only apply to the text on this page. Since user’s can create their own headers, enscript don’t know what resources those headers use. Replace textfilename with the name of the file you want to convert and print.

Feedback Forums Private Messages Surveys.