unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: David Penton <djp@arqux.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: landscape postscript printing
Date: Sat, 18 Dec 2010 16:48:07 +0100	[thread overview]
Message-ID: <1037AEC7-0BF1-44B5-BAE2-98DD66EF97A8@Web.DE> (raw)
In-Reply-To: <48774E86-51B9-4C8B-8096-6E9738917E1C@arqux.com>


Am 18.12.2010 um 15:16 schrieb David Penton:

> Could some other setting be interfering?


Of course: The Mac OS X printing system. With Carbon Emacs or Aquamacs  
Emacs you have an integration into the system's printing system, at  
least when you print with ⌘-P. I don't know how the ps-print-*  
commands interact with it, it might be documented. If you haven't  
discovered this, try it and see what the system can do for you (in  
Leopard and before you could save different setups and retrieve one of  
them easily).

The effective values for PS printing can be determined by ps-spooling  
or ps-printing a first time something. Then you can invoke

	M-x apropos-variable RET ^ps-print-.*$ RET

and the next time

	M-x apropos-variable RET ^ps-.*$ RET

to get the whole list of corresponding variable names. In the  
resulting *Apropos* buffer you can click with the mouse cursor on the  
bold variable names to get their values displayed in a *Help* buffer.


I usually use the ps-spool-* commands and save the *PostScript*  
buffers, sometimes after editing. Try this! This is the (only) way to  
know exactly what Emacs produces as PostScript output, it should write  
a line like this quite early into the header:

	%%Orientation: Landscape

I think among the customisation this line is necessary:

	 '(ps-landscape-mode t)

Check its existence! And look into the file the variable user-init- 
file points to! Also try to save the resulting *PostScript* buffer  
into a PS file and view it with Ghostscript, gv, Preview, Skim – the  
latter two might fail to display all!

To summarise: First find out what exactly Emacs produces! (Then we can  
check the OS' printing system.)

--
Greetings

   Pete

A morning without coffee is like something without something else.




      reply	other threads:[~2010-12-18 15:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-18  5:07 landscape postscript printing David Penton
2010-12-18 10:26 ` Peter Dyballa
2010-12-18 14:16   ` David Penton
2010-12-18 15:48     ` Peter Dyballa [this message]

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=1037AEC7-0BF1-44B5-BAE2-98DD66EF97A8@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=djp@arqux.com \
    --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).