all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Peter Dyballa <Peter_Dyballa@Web.DE>, Rami A <rami.ammari@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: RE: postscript printing in emacs
Date: Thu, 20 Jun 2013 06:21:16 -0700 (PDT)	[thread overview]
Message-ID: <52b37bf0-aab3-4d9e-8df5-6ad2789387cd@default> (raw)
In-Reply-To: <EA64C306-38EC-43AE-BF54-7326E55850DB@Web.DE>

> > How do I incorporate this functionality in emacs so I could choose a
> > region or simply print the whole buffer using "postscript print from
> > buffer/region" from inside emacs?
> 
> Have you tried to set ps-lpr-command and ps-lpr-switches via the
> customisation interface?
> 
> In ps-lpr-command instead of lpr you can either use "mp | lp", a pipe, and
> the also set ps-lpr-switches to become "-l -s" or use as ps-lpr-command
> directly "mp -l -s | lp".
> 
> A third option is to add an mp filter to Solaris' lpfilters. Then you could
> use as ps-lpr-command "lp -T MP". I am not sure where the mp options go.
> (too long ago)
> 
> When you are experimenting with printing options you can stop printing from
> the particular queue (or switch off the printer) and then use a PostScript
> viewer to see what the printer queue would send to the printer.

See also library printing.el, which provides a helpful interface to the ps-* features.



  reply	other threads:[~2013-06-20 13:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-19 23:46 postscript printing in emacs Rami A
2013-06-20  9:40 ` Peter Dyballa
2013-06-20 13:21   ` Drew Adams [this message]
     [not found] ` <mailman.2067.1371721274.22516.help-gnu-emacs@gnu.org>
2013-06-21 16:30   ` Rami A
2013-06-21 19:13     ` Peter Dyballa
     [not found]     ` <mailman.2158.1371842037.22516.help-gnu-emacs@gnu.org>
2013-06-21 19:58       ` Rami A
2013-06-21 20:21         ` Peter Dyballa
     [not found]         ` <mailman.2164.1371846141.22516.help-gnu-emacs@gnu.org>
2013-06-21 21:16           ` Rami A
2013-06-21 21:49             ` 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=52b37bf0-aab3-4d9e-8df5-6ad2789387cd@default \
    --to=drew.adams@oracle.com \
    --cc=Peter_Dyballa@Web.DE \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rami.ammari@gmail.com \
    /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.