ENSCRIPT PS PDF

In Unix, the enscript command changes a text file to PostScript format file of the text file and save it as , you would enter. By default, enscript only makes postscipt file (ps). Your command line is missing two flags: small -p and capital -P. The command line must be. Hi, I have ps file, I want to print with diffrent font, is it possible to print like this? enscript -fCourier9 how to find enscript is installed or not? if I enter man.

Author: Nikor Telmaran
Country: Australia
Language: English (Spanish)
Genre: Business
Published (Last): 15 February 2018
Pages: 344
PDF File Size: 19.21 Mb
ePub File Size: 5.48 Mb
ISBN: 197-2-22870-650-4
Downloads: 44838
Price: Free* [*Free Regsitration Required]
Uploader: Brarn

By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. In gedit, printing a file gives an option of printing to file where the file can be saved as a pdf.

How can I do the same thing from the command line? There are more options to enscripte. See man enscript for enscrippt of the options.

A printer with description PDF was created when you installed cups-pdf, when you use enscript with that printer your document will be sent to the PDF printer and will be printed to file, created as. You can use unoconv in standalone mode, this means that in absence of an OpenOffice listener, it will start its own:.

Pandoc is a must have swiss knife tool when it comes to conversion between various markup languages. To get you started first install pandoc converter:.

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

Please note that you need texlive-latex-base package to be installed first, before you can convert to PDF format. Otherwise you will get a following error:. As posted above, enscript is a popular way to convert text to postscript, which can then be further converted to PDF. A similar tool, which has been around for a long time, is a2ps.

  INSTALACIONES Y EQUIPOS PARA PORCICULTURA PDF

It has a large number of options, including putting multiple pages ehscript a physical page. Install ap2s with sudo apt-get install a2ps.

Or, in the case of paps, the resulting PDF does not have a text layer.

How to print a regular file to pdf from command line – Ask Ubuntu

The best solution for me enacript to use wkthmltopdf. It seems to be not documented, but you can easily convert text files into PDF files by using this syntax:. By clicking “Post Your Encsript, 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.

Home Questions Tags Users Unanswered. How to print a regular file to pdf from command line Ask Question. Here’s a solution that doesn’t involve OpenOffice: Isn’t there any inbuilt bash programme or command to do this? In the directory where your file is located run: Abel Tom 2 The enscrip answer here that handled my UTF8 text files without problems: Zanna 50k 13 Not what OP asked for.

To get you started first install pandoc converter: Otherwise you will get a following error: Compared to the other answers, pandoc plus texlive produces bad output not respecting newlinesand is overkill and confusing to boot.

  LEOPOLD KOHR PDF

Lots more packages are needed, pulling in texlive, texlive-fonts-recommended, ruby, etc.

This is on trusty. Welcome to Ask Ubuntu hwc! While your post does answer the question, it’s always better to include more information.

For example, why is paps a better alternative? And if paps is not installed by default, what is the command to install it?

UNIX for Dummies Questions & Answers

You can always edit your answer by clicking on edit right underneath the body of the answer. An example of using a2ps would help. The –delegate option seems to be needed for pdf, but the man page doesn’t really help there. It seems to be not documented, but you can easily convert text files into PDF files by using this syntax: This has been fixed in the latest version of paps, which is able to output selectable pdf.

Can I print ps file using enscript?

Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name.

Email Required, but never shown. 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.

Ask Ubuntu works best with JavaScript enabled.