LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 07-12-2004, 05:33 AM   #1
IBKnobel
LQ Newbie
 
Registered: Jul 2003
Posts: 2
Thanked: 0
print files in PDF or html format from the linux command line


[Log in to get rid of this advertisement]
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
IBKnobel is offline     Reply With Quote
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,085
Thanked: 3
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
IBall is offline     Reply With Quote
Old 07-12-2004, 07:51 AM   #3
IBKnobel
LQ Newbie
 
Registered: Jul 2003
Posts: 2
Thanked: 0

Original Poster
Need the PDF to be formatted as well
IBKnobel is offline     Reply With Quote
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,085
Thanked: 3
The PDF file will be printed the same as you would see it in a PDF reader...

--Ian
IBall is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 3 05-30-2007 01:37 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 02:32 PM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration