Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I used Terminal on Mac to do some bioinformatics analysis. I'd like to save all my input and output as PDF. I could do it using

Shell ==> Print Selection ==> PDF ==> Save As PDF

or

Shell ==> Export Selected Text As ....

Since my output has many pages (more than 300 pages), the default printer would save only the first 224 pages as PDF.

So, I was wondering if could revise some settings and save all my 300 pages text as PDF.

share|improve this question
    
And "Export as text" (cmd-S) first into a file and print the file (maybe after splitting or editing it) doesn't helps? – jm666 Jul 16 '13 at 9:27
    
What you need isn't in .bash_history? – Raystafarian Jul 16 '13 at 10:28
    
@jm666 Yes, good idea. Thanks. – lzsph Jul 16 '13 at 12:43
    
@Raystafarian Because .bash_history just gives me the input command lines, I'd like to save both the input and output. – lzsph Jul 16 '13 at 12:45
    
Would it be ok to loose the SDTERR output? – Samoth Jul 17 '13 at 8:19

If you still have this terminal open, you can

  1. Press +a to select all the text in the window
  2. +c to copy it
  3. open text edit
  4. +p to paste in all the text you copied

Then use print + save as pdf from there

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .