From: Thien-Thi Nguyen <ttn@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: ps-print cuts off footers
Date: Wed, 04 Mar 2015 20:43:49 +0100 [thread overview]
Message-ID: <87fv9k8s5m.fsf@zigzag.favinet> (raw)
In-Reply-To: <87zj7syd5q.fsf@gmail.com> (Rodolfo Medina's message of "Wed, 04 Mar 2015 15:50:57 +0000")
[-- Attachment #1.1: Type: text/plain, Size: 1611 bytes --]
() Rodolfo Medina <rodolfo.medina@gmail.com>
() Wed, 04 Mar 2015 15:50:57 +0000
a misunderstanding, my fault.
Well, let's share the fault, then we can share the (eventual)
glory of resolving the problem. :-D
The above settings are not the ones used for stampa.ps.
Instead, stampa.ps had the only setting:
(setq ps-print-footer t)
and nothing else. Besides, the footer is cut off - its upper
half, exactly - *also without* footer frame, i.e. with footer
frame set to `nil'.
It's really a problem because I've always been largely using
Emacs and ps-print package. Also from gv mailing list it
seems to turn out the ps file to be incorrect. It is
generated by ps-print, from whose maintainer I didn't yet get
a reply to my message. I really don't know what to do. What
do you suggest?
OK, i see in the original stampa.ps (at the top of the thread),
line 217 does indeed read:
/PrintFooterFrame false def
so that was a false alarm. Since clipping is the immediate
manifestation, one workaround is to disable clipping. You can
do that by the definition of ‘FooterText’ (line 1070) to:
/FooterText{
%gsave FooterClip
FooterLinesRight FooterLinesLeft
/FooterStart FooterLineHeight FooterPad
FooterFrameProperties 0 get
HeaderOrFooterText
%grestore
}def
(We just comment out ‘gsave FooterClip’ and ‘grestore’.)
For me, that change allows the full page number to show.
Here is a small sed script that you can use to automake the
workaround while you resolve things w/ the Author:
[-- Attachment #1.2: noclip.sed --]
[-- Type: application/x-sed, Size: 57 bytes --]
[-- Attachment #1.3: Type: text/plain, Size: 582 bytes --]
Save to file noclip.sed and run it like so:
$ sed -f noclip.sed stampa.ps > stampa-noclip.ps
I suspect the root cause is an OBOE in the calculation of the
‘FooterHeight’ but that again(!) is idle speculation... i'll
bow out of this thread now, but hope to see you post the nitty
gritty debugging and resolution findings, "infuturo". :-D
--
Thien-Thi Nguyen
GPG key: 4C807502
(if you're human and you know it)
read my lisp: (responsep (questions 'technical)
(not (via 'mailing-list)))
=> nil
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2015-03-04 19:43 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-27 13:08 Footers cut off in ps file Rodolfo Medina
2015-02-27 16:17 ` Dale Snell
2015-02-27 17:04 ` Rodolfo Medina
2015-02-27 20:44 ` Dale Snell
2015-02-28 9:09 ` Rodolfo Medina
2015-02-28 14:56 ` Dale Snell
2015-02-28 16:08 ` Rodolfo Medina
2015-02-28 17:53 ` Thien-Thi Nguyen
2015-03-03 10:37 ` ps-print cuts off footers (was: Footers cut off in ps file) Rodolfo Medina
2015-03-03 13:25 ` ps-print cuts off footers Rodolfo Medina
2015-03-03 21:46 ` Robert Thorpe
2015-03-03 23:24 ` Thien-Thi Nguyen
2015-03-04 15:50 ` Rodolfo Medina
2015-03-04 19:43 ` Thien-Thi Nguyen [this message]
2015-03-04 21:07 ` Robert Thorpe
2015-03-05 21:40 ` [solved] Re: Footers cut off in ps-print files Rodolfo Medina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fv9k8s5m.fsf@zigzag.favinet \
--to=ttn@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).