LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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
Member
 
Registered: Dec 2015
Distribution: Debian stretch/sid
Posts: 446
Blog Entries: 9

Rep: Reputation: 278Reputation: 278Reputation: 278
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


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
[SOLVED] Combining Xournal annotations with original PDF to get single PDF file kev717 Linux - Software 1 04-06-2015 04:11 PM
[SOLVED] merge pdf files with each file as a index entry in the big pdf ununun Linux - General 3 05-12-2014 10:32 AM
[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


All times are GMT -5. The time now is 05:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration