Re: How to create a margin when printing?

"Joe(theWordy)Philbrook" <[email protected]>
Newsgroups gmane.mail.pine.general
Message-ID <[email protected]>
-----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
|			  <[email protected]> 
|      ?           ?		


_______________________________________________
Pine-info mailing list
[email protected]
http://mailman1.u.washington.edu/mailman/listinfo/pine-info
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.