LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2016, 03:35 AM   #1
electrocad
LQ Newbie
 
Registered: Jul 2005
Posts: 3

Rep: Reputation: 0
Output to PDF File


Hi all, I want to redirect the output of lshw to a PDF File.
Thanks
 
Old 02-13-2016, 05:00 AM   #2
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,623
Blog Entries: 40

Rep: Reputation: Disabled
Install a2ps and pdftk, then
Code:
user@machine:~$ lshw | a2ps -o - | ps2pdf - out.pdf
the parameter '-' to a2ps indicates output to STDOUT, for ps2pdf it means input from STDIN.
 
1 members found this post helpful.
  


Reply



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
[SOLVED] merge pdf files with each file as a index entry in the big pdf ununun Linux - General 4 12-08-2017 07:23 AM
[SOLVED] Combining Xournal annotations with original PDF to get single PDF file anon112 Linux - Software 1 04-06-2015 04:11 PM
[SOLVED] lp doesn't print file to pdf directory after installing cups-pdf using synaptic mrcj Debian 1 10-09-2013 07:18 PM
pdf Error splicing file: Input/output error PeterUK Ubuntu 7 04-04-2013 01:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:14 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration