Introduction; Using dvips; Using enscript; Using psduplex; Examples The enscript command feeds to the standard output, psrev or psselect. enscript -o – | ps2pdf – Then run enscript on your file with the -P switch and the printer description PDF in this case. get_sign.c. /* * First KLEE tutorial: testing a small function */ int get_sign(int x) { if ( x == 0) return 0; if (x < 0) return -1; else return 1; } int main() { int a;.

Author: Targ Kigajind
Country: Germany
Language: English (Spanish)
Genre: Health and Food
Published (Last): 28 January 2010
Pages: 293
PDF File Size: 9.80 Mb
ePub File Size: 3.15 Mb
ISBN: 624-9-61260-684-1
Downloads: 47738
Price: Free* [*Free Regsitration Required]
Uploader: Kekora


As posted above, enscript is a popular way to convert text to postscript, which can then be further converted to PDF. Last modified on Steel is replaced by IU’s newest supercomputer, Quarry. You can send the output of the dvips command to a file using the -o switch. Last modified on In the directory where your file is located run: On June 23,Steel will become read-only; you will be able to access your files there but not change them or add new files.

Sign up or log in Sign up encript Google. This has been fixed in the latest version of paps, which is able to output selectable pdf.


ARCHIVED: What is enscript, and how can I use it to print text files in PostScript?

About the Steel retirement. For example, to convert the DVI file myfile.

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. Resources linked from this page may no longer be available or reliable. For example, you could enter:.

This will convert myfile. In all examples, replace printername with the defined name of the printer. The general format is:. To get you started first install pandoc converter: The psduplex command accepts PostScript format input, and should be the last filter used before the print command.

Ask Ubuntu works best with JavaScript enabled. This is on trusty. And if paps is not installed by default, what is the ouyput to install it? This would convert myfile. In gedit, printing a file gives an option of printing to file where the file can be saved as a pdf. A single switch, -tumblecauses files printed in landscape mode to be rotated along the short side of the paper to keep the text upright.


To make a PostScript file of the text file myfile. To get you started first install pandoc converter:. Following is information about the commands dvips lutput 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.

This content has been archivedand is no longer maintained by Indiana University.

See man enscript for all of the options. For example, on a enscirpt using BSD -compatible printing, to take the output of the enscript command converting a text file named myfile. To redirect the output of enscript as input for another command, append another dash to the -p option, for example:. Resources linked from this page may no longer be available or reliable.

Enscript Output

Lots more packages are needed, pulling in texlive, texlive-fonts-recommended, ruby, etc. How to print a regular file to pdf from command line Ask Question. Email Required, but never shown.