From MAILER-DAEMON Mon Oct 31 17:13:17 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1c1JtN-00085m-9v
	for mharc-bug-enscript@gnu.org; Mon, 31 Oct 2016 17:13:17 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:32788)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <md_berger@verizon.net>) id 1c1Jir-0003fB-Hw
	for bug-enscript@gnu.org; Mon, 31 Oct 2016 17:02:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <md_berger@verizon.net>) id 1c1Jio-0004ag-B4
	for bug-enscript@gnu.org; Mon, 31 Oct 2016 17:02:25 -0400
Received: from vms173023pub.verizon.net ([206.46.173.23]:64598)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <md_berger@verizon.net>)
	id 1c1Jio-0004a7-5f
	for bug-enscript@gnu.org; Mon, 31 Oct 2016 17:02:22 -0400
Received: from vz-proxy-m007.mx.aol.com ([64.236.83.14])
	by vms173023.mailsrvcs.net
	(Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16
	2014)) with ESMTPA id <0OFX00IFUJRKZY00@vms173023.mailsrvcs.net> for
	bug-enscript@gnu.org; Mon, 31 Oct 2016 16:02:08 -0500 (CDT)
X-CMAE-Score: 0
X-CMAE-Analysis: v=2.2 cv=daDw5Tfe c=1 sm=1 tr=0	a=MJxOpqxZADbEbEImuSX/mw==:117
	a=CH0kA5CcgfcA:10 a=DAwyPP_o2Byb1YXLmDAA:9	a=o83nqyVRAAAA:8
	a=ISbQbb1wAAAA:8
	a=KpQ8c4xGXFf8Fhe0MI0A:9	a=CjuIK1q_8ugA:10 a=yMhMjlubAAAA:8
	a=SSmOFEACAAAA:8
	a=Jik8mAJvcDs_waY1FrkA:9 a=1agEbb06usaYpUKO:21 a=gKO2Hq4RSVkA:10
	a=UiCQ7L4-1S4A:10 a=hTZeC7Yk6K0A:10 a=frz4AuCg-hUA:10
Received: by 71.246.219.24 with SMTP id 30e40188; Mon, 31 Oct 2016 21:02:08 GMT
From: "Michael D. Berger" <md_berger@verizon.net>
To: <bug-enscript@gnu.org>
Date: Mon, 31 Oct 2016 17:03:23 -0400
Message-id: <000001d233ba$37aa3180$a6fe9480$@verizon.net>
MIME-version: 1.0
Content-type: multipart/alternative;
	boundary="----=_NextPart_000_0001_01D23398.B0989180"
X-Mailer: Microsoft Outlook 15.0
Thread-index: AdIzt78fXwoSOB7MRvKdAkTTUegBiQ==
Content-language: en-us
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 206.46.173.23
X-Mailman-Approved-At: Mon, 31 Oct 2016 17:13:15 -0400
Subject: [bug-enscript] Space Under Header
X-BeenThere: bug-enscript@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: Bug reports for GNU Enscript <bug-enscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-enscript/>
List-Post: <mailto:bug-enscript@gnu.org>
List-Help: <mailto:bug-enscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-enscript>,
	<mailto:bug-enscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 31 Oct 2016 21:02:26 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0001_01D23398.B0989180
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

This is probably not a bug, but it is the only relevant list I found.

Please let me know if there is a better one.

 

Following advice on another list, I recently installed enscript on

my Fedora 23.  It does what I want, except that there is not

enough space below the header.  I tried several things, including

a look at simple.hdr .  While I have extensive experience with

several languages, unfortunately PostScript is not one of

them.

 

As I am sure you will know, the following code does not work as I 

hoped, but I think the last line will make clear what I am trying to do:

 

   #!/bin/bash

 

   test $# -ne 1 && echo "one argument required" && exit 1

 

   enscript -P $PRINTER --encoding=ascii --font=Courier10 \

         --newline=n --margins=54:54:9:54 \

         --header='$n|Page $% of $=|$E $T\n\n\n' $1

 

Thanks for your advice,

Mike.

-

Michael D. Berger

m.d.berger@ieee.org <mailto:m.d.berger@ieee.org> 

http://www.rosemike.net

 


------=_NextPart_000_0001_01D23398.B0989180
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 15 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US =
link=3D"#0563C1" vlink=3D"#954F72"><div class=3DWordSection1><p =
class=3DMsoNormal>This is probably not a bug, but it is the only =
relevant list I found.<o:p></o:p></p><p class=3DMsoNormal>Please let me =
know if there is a better one.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Following =
advice on another list, I recently installed enscript =
on<o:p></o:p></p><p class=3DMsoNormal>my Fedora 23.&nbsp; It does what I =
want, except that there is not<o:p></o:p></p><p class=3DMsoNormal>enough =
space below the header.&nbsp; I tried several things, =
including<o:p></o:p></p><p class=3DMsoNormal>a look at simple.hdr =
.&nbsp; While I have extensive experience with<o:p></o:p></p><p =
class=3DMsoNormal>several languages, unfortunately PostScript is not one =
of<o:p></o:p></p><p class=3DMsoNormal>them.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>As I am sure =
you will know, the following code does not work as I <o:p></o:p></p><p =
class=3DMsoNormal>hoped, but I think the last line will make clear what =
I am trying to do:<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span style=3D'font-family:"Courier =
New"'>&nbsp;&nbsp; #!/bin/bash<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span style=3D'font-family:"Courier =
New"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span style=3D'font-family:"Courier =
New"'>&nbsp;&nbsp; test $# -ne 1 &amp;&amp; echo &quot;one argument =
required&quot; &amp;&amp; exit 1<o:p></o:p></span></p><p =
class=3DMsoNormal style=3D'text-autospace:none'><span =
style=3D'font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal style=3D'text-autospace:none'><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; enscript -P $PRINTER =
--encoding=3Dascii --font=3DCourier10 \<o:p></o:p></span></p><p =
class=3DMsoNormal style=3D'text-autospace:none'><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;--newline=3Dn --margins=3D54:54:9:54 =
\<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span style=3D'font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;--header=3D'$n|Page $% of $=3D|$E $T\n\n\n' =
$1<o:p></o:p></span></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Thanks for your advice,<o:p></o:p></p><p =
class=3DMsoNormal>Mike.<o:p></o:p></p><p =
class=3DMsoNormal>-<o:p></o:p></p><p class=3DMsoNormal>Michael D. =
Berger<o:p></o:p></p><p class=3DMsoNormal><a =
href=3D"mailto:m.d.berger@ieee.org">m.d.berger@ieee.org</a><o:p></o:p></p=
><p class=3DMsoNormal><a =
href=3D"http://www.rosemike.net">http://www.rosemike.net</a><o:p></o:p></=
p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>
------=_NextPart_000_0001_01D23398.B0989180--



