LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   print files in PDF or html format from the linux command line (https://www.linuxquestions.org/questions/linux-software-2/print-files-in-pdf-or-html-format-from-the-linux-command-line-204012/)

IBKnobel 07-12-2004 05:33 AM

print files in PDF or html format from the linux command line
 
In their software available that can be used to print files in PDF and html
format directly from the unix command line, i.e. to a system printer on the linux server

IBall 07-12-2004 06:12 AM

For PDF files, simply:
Code:

lpr -P "printerName" document.pdf
This can also be used for text files (and printing the actual html, java, c, whatever), but for formatted html you will need to print from a browser.

I hope this helps
--Ian

IBKnobel 07-12-2004 07:51 AM

Need the PDF to be formatted as well

IBall 07-12-2004 09:29 PM

The PDF file will be printed the same as you would see it in a PDF reader...

--Ian


All times are GMT -5. The time now is 10:33 PM.