LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-16-2004, 10:37 AM   #1
ttilt
Member
 
Registered: Dec 2003
Location: Campinas, Brasil
Distribution: slackware 10
Posts: 150

Rep: Reputation: 15
printing an info file


Hi, I was just wondering if there's a way to print an info file? For example I want to create a gdb manual by printing the stuff in the gdb.info, instead of having to type 'info gdb' at the computer everytime i want to read about it.

Thanks
 
Old 06-16-2004, 10:48 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
To print info pages:
In this example, using tar info pages.

cp /usr/share/info/tar.info.gz /home/<user>

Copy the info page to another location to avoid breaking
your on-line documentation.

gunzip /home/<user>/tar.info.gz

After decompressing the file, use a2ps to convert to PostScript.

a2ps tar.info

This produces a PostScript formatted file called tar.info.
Open in your favorite editor and print from there.
 
Old 06-16-2004, 12:29 PM   #3
ttilt
Member
 
Registered: Dec 2003
Location: Campinas, Brasil
Distribution: slackware 10
Posts: 150

Original Poster
Rep: Reputation: 15
After uncompressing the info file i ran the a2ps and here's what i got:

[ttilt@localhost download]$ a2ps gdb.info
[gdb.info (binary): ignored]
[No output produced]
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
printing info files ttilt Linux - Software 1 01-09-2012 04:43 PM
Printing Info Pages TGWDNGHN Linux - Software 3 10-07-2005 06:52 PM
Convert an info file(bash.info.gz) to a single html file Darwish Linux - Software 2 09-24-2005 06:51 AM
Getting info from text file alts Programming 16 11-19-2004 01:03 AM
XMMS file info TheRealDeal Linux - General 2 09-21-2003 08:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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