Review your favorite Linux distribution.
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
Location: Normandy, France
Distribution: Debian buster/sid
Posts: 549
Blog Entries: 18

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
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] merge pdf files with each file as a index entry in the big pdf ununun Linux - General 4 12-08-2017 08:23 AM
[SOLVED] Combining Xournal annotations with original PDF to get single PDF file kev717 Linux - Software 1 04-06-2015 05:11 PM
[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 > Forums > Linux Forums > Linux - Newbie

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

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