Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-13-2016, 04:35 AM   #1
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.
Old 02-13-2016, 06:00 AM   #2
Michael Uplawski
Registered: Dec 2015
Distribution: Debian stretch/sid
Posts: 436
Blog Entries: 9

Rep: Reputation: 276Reputation: 276Reputation: 276
Install a2ps and pdftk, then
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.


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 05:11 PM
[SOLVED] merge pdf files with each file as a index entry in the big pdf ununun Linux - General 3 05-12-2014 11:32 AM
[SOLVED] lp doesn't print file to pdf directory after installing cups-pdf using synaptic mrcj Debian 1 10-09-2013 08:18 PM
pdf Error splicing file: Input/output error PeterUK Ubuntu 7 04-04-2013 02:47 AM

All times are GMT -5. The time now is 02:49 PM.

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