all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Thor Nordstrand <thnords@online.no>
Cc: help-gnu-emacs@gnu.org
Subject: Re: SV: Post script printing from emacs
Date: Thu, 3 Jan 2008 23:53:09 +0100	[thread overview]
Message-ID: <9D74C25E-D939-4AAE-9410-4DF75B3CA97F@Web.DE> (raw)
In-Reply-To: <13353527.1670351199343550657.JavaMail.adm-moff@moffice8.nsc.no>


Am 03.01.2008 um 07:59 schrieb Thor Nordstrand:

> I am using GNU Emacs 20.7.1 for VHDL coding.


I'm not sure whether your problem is really an Emacs problem – I have  
an old Emacs 20.7 ... and I can't make it happen! So I assume two  
causes:

  • your system's printing subsystem
  • VHDL mode

Third cause can be

  • your own or your system's customisation

The tests are simple. For example, still in VHDL, print a buffer not  
with the ps-print-<whatsoever> command, but use the ps-spool-<the  
same> command, i.e. "print" substituted with "spool." This will  
create a *PostScript* buffer instead of putting the output into the  
printer queue. This buffer you can save as <some file>.ps. Using gv  
or whatever you can check what the Emacs print output looks like  
before it was fed into the printer queue. If you see a difference,  
then it's due to the printing subsystem, i.e. filters in that printer  
queue, or some "mode" in the physical printer (which one is it?),  
cause that the queue input's two (or more) pages in portrait mode get  
printed side by side on one sheet of paper in landscape mode. (You  
might also be able to stop the printer queue from sending its  
contents to the printer. Then you could inspect the queue's contents  
and compare that with what you've saved in Emacs. For both you'll  
need system administrator's privileges, i.e. root access.)

If the PS file looks exactly like the sheet of paper, then you should  
try to print some simple text or some dired or the *Messages* or  
*shell* buffer, again with the spool command, to save some paper.  
Again two pages on one sheet of landscape paper? Then it must be your  
customisation.

Launching GNU Emacs with -q or --no-init-file will disable it from  
loading your init file. Then spool something *before* you opened any  
VHDL file. How does it look? If it's still in landscape, then it's  
likely that the system's init file is doing something. It's name is  
site-init.el, somewhere in load-path. If not, then it's likely your  
own customisation.

I don't have any VHDL by hand so I can't do all the tests myself ...

--
Greetings

   Pete

I love deadlines. I love the whooshing noise they make as they go by.
				– Douglas Adams

  reply	other threads:[~2008-01-03 22:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-31 13:16 Post script printing from emacs Thor Nordstrand
2008-01-02 19:52 ` Peter Dyballa
2008-01-03  6:59   ` SV: " Thor Nordstrand
2008-01-03 22:53     ` Peter Dyballa [this message]
2008-01-04 12:42       ` Thor Nordstrand
2008-01-04 15:04         ` Peter Dyballa

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9D74C25E-D939-4AAE-9410-4DF75B3CA97F@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=thnords@online.no \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.