Searching \ for '[OT] Printing source code' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=printing+source
Search entire site for: 'Printing source code'.

Exact match. Not showing close matches.
PICList Thread
'[OT] Printing source code'
2005\04\18@100435 by Dave VanHorn

flavicon
face

Once in a while, it's good to print out the code and have a look.
Unfortunately, code is very sparse on the page, and I'd rather eat a
few less forests this year..

There used to be a utility that would print code two pages per page,
in a smaller font, landscaped.
I still have a copy, "2Faced", but it doesn't work under XP.

Any suggestions on a utility to print source in a more dense and
visually effective manner?


2005\04\18@103127 by Josh Koffman

face picon face
I think Acrobat will let you print that way...maybe even Word.

Josh
--
A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete
fools.
       -Douglas Adams

On 4/18/05, Dave VanHorn <spam_OUTdvanhornTakeThisOuTspamdvanhorn.org> wrote:
{Quote hidden}

2005\04\18@103658 by Chris

flavicon
face
Hi,

Many modern printer drivers have a "2-up" option that will do this for you.
Check your printer settings and see. You could also paste the code into a
word processor and do 2 column printing. I do this frequently and it works
great.

Chris





--Chris
http://www.rocklizard.org
<myname>@rocklizard.org
myname = chris
------------------------------------
12x2 LCD displays & serial LCD
interface chips available.
Visit http://pic.rocklizard.org
------------------------------------
{Original Message removed}

2005\04\18@105016 by Spehro Pefhany

picon face
At 09:04 AM 4/18/2005 -0500, you wrote:

>Once in a while, it's good to print out the code and have a look.
>Unfortunately, code is very sparse on the page, and I'd rather eat a few
>less forests this year..
>
>There used to be a utility that would print code two pages per page, in a
>smaller font, landscaped.
>I still have a copy, "2Faced", but it doesn't work under XP.
>
>Any suggestions on a utility to print source in a more dense and visually
>effective manner?

Ultraedit does this - will also (optionally) print line numbers, syntax
highlighting and allows you to choose whether to wrap or truncate the odd
line which may be too long to fit on the page (or 1/2 page).

Best regards,

Spehro Pefhany --"it's the network..."            "The Journey is the reward"
.....speffKILLspamspam@spam@interlog.com             Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog  Info for designers:  http://www.speff.com




2005\04\18@110005 by Wouter van Ooijen
face picon face
> There used to be a utility that would print code two pages per page,
> in a smaller font, landscaped.
> I still have a copy, "2Faced", but it doesn't work under XP.

I have a utility called gprint32.exe which does this pretty well. I can
send it (offlist) if you want it.

Note: it is shareware. I never payed for it. I have used it for years
and I use it a lot so would like to pay, but have been unable to locate
the author! So if anyone knows where the author can be found....

Wouter van Ooijen

-- -------------------------------------------
Van Ooijen Technische Informatica: http://www.voti.nl
consultancy, development, PICmicro products
docent Hogeschool van Utrecht: http://www.voti.nl/hvu


2005\04\18@110302 by Alan B. Pearce

face picon face
>I think Acrobat will let you print that way...maybe even Word.

Word certainly will - I have used it to put 2 pages onto a side to make
folded pamphlets foe handing out at shows and the like. It all occurs in the
print options where you "put pages on a side" or some such.

For the purposes of code listings it should not be too hard to import it in
a courier font and get it to print how you want.

2005\04\18@110913 by Mark Scoville

flavicon
face
I've noticed a lot of printer drivers have an option to do this "squash 2
pages onto 1" mode. When I need to print to a printer whose driver doesn't
support this I use an editor called UltraEdit. UltraEdit costs about $40. If
you just want "2 pages on 1" printing you can probably find a way to do this
for free though.

-Mark

> {Original Message removed}

2005\04\18@113010 by SM Ling

picon face
>There used to be a utility that would print code two pages per page,
in a smaller font, landscaped.
I still have a copy, "2Faced", but it doesn't work under XP.
>Any suggestions on a utility to print source in a more dense and
visually effective manner?

This is quite popular and good.
http://www.fineprint.com/

Ling SM


2005\04\18@113208 by John J. McDonough

flavicon
face
Years ago I wrote a little C program that would do 2-up on an HP Deskjet.
It's pretty basic and has worked on quite a few Deskjets.  However, the
newer ones allow you to print 2 up from the printer settings, so I haven't
used it lately.

A while back I remember running across some PostScript macros for doing that
as well.  Seems like I may have a script for doing that with Ghostscript as
well.

If you have a Deskjet, or if you are interested in tweaking my C with the
codes for your printer, you are welcome to the C source.  It will also print
only odd or even pages and reverse the order, so you can print both sides on
a one side printer.

--McD

{Original Message removed}

2005\04\18@130328 by Peter

picon face

On Mon, 18 Apr 2005, Dave VanHorn wrote:

>
> Once in a while, it's good to print out the code and have a look.
> Unfortunately, code is very sparse on the page, and I'd rather eat a few less
> forests this year..
>
> There used to be a utility that would print code two pages per page, in a
> smaller font, landscaped.
> I still have a copy, "2Faced", but it doesn't work under XP.
>
> Any suggestions on a utility to print source in a more dense and visually
> effective manner?

a2ps + gs (ghostscript), enscript, states and others will do that and
more. Including line numbering and some pretty-printing ('highlighting
keywords' etc) with the appropriate command line options and filters.
Come standard on all linux distributions. The assembly highlighting
rules for state are installed at /usr/share/enscript/hl/asm.st by
default and can be edited a little to suit your needs. These programs
have the ability to handle huge amounts of source (10,000 lines of C
works for sure - although this is not 'huge').

hopes this helps,
Peter

2005\04\18@210130 by Kelly Kohls

picon face
Dave,

Have a look at: http://www.fineprint.com/

Kelly Kohls, N5TLE
Bedford, Texas
There never enough time to do it right, but plenty of time to do it over.


{Original Message removed}

2005\04\18@214846 by Jinx

face picon face
> There never enough time to do it right, but plenty of time to do it over

Curious - ironic typo or intentional ?

2005\04\18@221622 by Kelly Kohls

picon face
Jinx,

>> There never enough time to do it right, but plenty of time to do it over

>Curious - ironic typo or intentional ?

Intentional.  That was a quote from my Dad on how management never
understands how long a project should really take.

Kelly Kohls, N5TLE
Bedford, Texas
There never enough time to do it right, but plenty of time to do it over.

2005\04\18@222700 by Jinx

face picon face
> >> There never enough time to do it right, but plenty of time to do it
over
>
> >Curious - ironic typo or intentional ?
>
> Intentional.  That was a quote from my Dad on how management never
> understands how long a project should really take.

Ah, as in "Pobody's Nerfect"

2005\04\19@023056 by Jose Da Silva

flavicon
face
On April 18, 2005 07:26 pm, Jinx wrote:
> > >> There never enough time to do it right, but plenty of time to do
> > >> it
>
> over
>
> > >Curious - ironic typo or intentional ?
> >
> > Intentional.  That was a quote from my Dad on how management never
> > understands how long a project should really take.
>
> Ah, as in "Pobody's Nerfect"

Thimk!

More... (looser matching)
- Last day of these posts
- In 2005 , 2006 only
- Today
- New search...