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: Tojacage Tojakora
Country: Zambia
Language: English (Spanish)
Genre: Art
Published (Last): 2 November 2007
Pages: 72
PDF File Size: 13.14 Mb
ePub File Size: 11.9 Mb
ISBN: 688-3-44545-637-6
Downloads: 90017
Price: Free* [*Free Regsitration Required]
Uploader: Terg

You can send the output of the dvips command to a file using the -o switch. Further instructions on using git are available via Savannah. Navigation menu Personal tools Create account Log in.

enscript(1) – Linux man page

Please remember that development of Enscript is a volunteer effort, and you can also contribute to its development. Creation Submit a new entry Create a collection. Value false 0 generates 8-bit PostScript code leaving all characters untouched.

The Linux Tutorial is not responsible for the content of any such third-party site. If no input files are given, enscript processes standard input. 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.

As a default, enscript wraps long lines so no information is lost.

It includes features for “pretty-printing” language sensitive code highlighting in several programming languages. I am using CUPS printing system. You can choose larger fonts by selecting a different themes. You can create one. Feedback Forums Encsript Messages Surveys. In this case, enscript opens a pipe to the specified command and reads EPS data from pipe.


Format string start from the first non-space character and it ends to the end of the line. Home Questions Tags Users Unanswered. If the width is negative, the value will be printed left- justified.

Unix printing using enscript, dvips, and psduplex

Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies. 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. Possible values for Spool output to the printer name.

If you’re using some other printing system that does not include that functionality, you may have to construct a pipeline like this:. Currently enscript supports following escapes: Sign up using Email and Password.

The default underlay font is Times-Roman As a default, special escapes interpretation is off, so all ASCII files print out as everyone expects. Normally, the rotation is done along the long side of the page. Following options can be given for the epsf escape: The [switches] are optional settings, as follows:. The enscript command in Unix changes a text file to PostScript format and then sends it to the printer.

This will convert myfile. This allows enscript to use fonts which contain digit characters in their names. Just as Theophrastus indicated in a comment, you can use a job option: If you’re using CUPS printing system, this functionality is included; you won’t need any specific tool for that.

ARCHIVED: Unix printing using enscript, dvips, and psduplex

In Debian at least, the pdftops utility is in poppler-utils package, and psnup is in psutils. 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.


Unless you’re using a “raw” print queue in CUPS, yes. It can also be found on one of our FTP mirrors. Possible values for format are the same which can be given for the –non-printable-format option.

It then attempts to print the file on the default printer, unless told otherwise. Possible values for style are: If num is not given, the default value 2 is used. If you’re using some other printing system that does not include that functionality, you may have to construct a pipeline like this: You can register for free by clicking here.

User can select this media by giving option -M name. The copyright and license notices on this page only apply to the text on this page. This is a GNU package: For example, command enscript -Ssetpapertray: Number num can be given as a decimal number. Although all level 2 interpreters support page device, they do not have to support all page device options.

Here are some usable page device options which can be selected with the enscriot–setpagedevice option. The comments are property of their posters. The default value is 0 so no highlight bars are printed. The default is to pass other flags to the spooler command but enscrpt must linnux given before the queue switch. Possible values for method are: Options Help Chat with a consultant.