[Pine-info] Re: How to create a margin when printing?

Brian Spindel bspindel at runbox.com
Fri Aug 25 14:00:52 PDT 2006


Joe,

Wow, that's a lot of parameters.. I'd never tried all of that. I just
use:

a2ps -R --columns=1 [ gives portrait, one column]

and I have no problem with margins, etc.

I DO wish I could make that command 'stick,' i.e., be my default print
command. I've tried using Setup-Printer-Custom... to no avail. I'm sure
I'm just missing some simple instructions ;-)

TIA, Brian


On Fri, 25 Aug 2006, Joe(theWordy)Philbrook wrote:


> -----BEGIN PGP SIGNED MESSAGE-----

> Hash: SHA1

>

> It would appear that on Aug 21, Brian Spindel did say:

>

>> Bill,

>>

>> I use utility 'a2ps' to print messages with a nice margin (and message title and page numbers). See links for more:

>

> Wow! I don't know why I hadn't checked out a2ps before. I was about to

> suggest using pr to prettyprint pine messages but a2ps is a more

> powerful tool. Though it took a bit of reading to figure out how to get

> anything like the output I wanted...

>

> What I can't seam to find however is a way to suppress the the printing

> of an additional page with one line such as:

>

> request id is hp5650-227 (1 file(s))

>

> Which I don't get when I use pr... Would you happen to know how to ditch

> the request id info page???

>

> Otherwise I get fairly good results from:

>

> a2ps -1 -b"" -q --margin=13 --left-title=%E --center-title="pine via a2ps" --right-title="( page %p. of %p# )"|lpr -P hp5650

>

> I use -b"" instead of -B to suppress the sheet header line that defaults

> to "printed by" because -B caused the bottom border line to miss the

> printable part of the paper! ???

>

> I probably should ditch the -q as "-q, --quiet, --silent" doesn't

> suppress that follow up request id info page. <sigh>

>

> I used "pine via a2ps" because I couldn't figure out how you get an actual

> message title in the header. (If you mean you get pine to insert the

> text of the Subject: header line into the a2ps command it probably

> wouldn't fit half the time unless I moved the date and page numbers to

> page footers. But it'd be worth it if I knew how.)

>

>

> #############################################################

> ##_if_you'd_prefer_an_clearsigned_".asc"_text_file_of_this_##

> ##message_as_an_mime_encoded_attachment,just_ask_me_while__##

> ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_##

> #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE#

> # You can find my public gpg key at http://pgpkeys.mit.edu/ #

> #############################################################

> -----BEGIN PGP SIGNATURE-----

> Version: GnuPG v1.4.2.2 (GNU/Linux)

>

> iD8DBQFE71oDRZ/61mwhY94RAr86AJ4+XQ2Ayke29s9f29VAi+R/EuVZaACgrJns

> y6d8x/p4rbgx6GePkHsxXTQ=

> =g+Uq

> -----END PGP SIGNATURE-----

> --

> | ? ?

> |

> | -=- -=- I'm NOT clueless...

> | <?> <?> But I just don't know.

> | ^ Joe (theWordy) Philbrook

> | --- J(tWdy)P

> | <jtwdyp at ttlc.net>

> | ? ?

>

>

> _______________________________________________

> Pine-info mailing list

> Pine-info at u.washington.edu

> http://mailman1.u.washington.edu/mailman/listinfo/pine-info

>

>




More information about the Pine-info mailing list