LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-12-2004, 05:33 AM   #1
IBKnobel
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
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
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 07-12-2004, 06:12 AM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
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
 
2 members found this post helpful.
Old 07-12-2004, 07:51 AM   #3
IBKnobel
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Need the PDF to be formatted as well
 
Old 07-12-2004, 09:29 PM   #4
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

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

--Ian
 
2 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Merge Of Html Files Into A Single Html (or Pdf) fiomba Linux - Software 6 06-20-2011 07:28 PM
CMD line tool for PDF -> HTML or JPG/PNG/GIF ilhbutshm Linux - Software 5 10-23-2004 04:18 AM
How can I read pdf files at the command line? hansi umayangan Linux - General 8 09-02-2004 07:27 AM
Control print output from PHP/HTML... PDF? alar Linux - General 1 08-05-2004 01:20 AM
Command line tool to print length of mp3 files? J_Szucs Linux - Software 3 05-04-2004 05:01 AM


All times are GMT -5. The time now is 10:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration