From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: Alain Muls <alain.muls@telenet.be>
Cc: emacs list <help-gnu-emacs@gnu.org>
Subject: Re: print from emacs
Date: Thu, 22 May 2008 10:39:45 +0200 [thread overview]
Message-ID: <87wslmpwa6.fsf@thievol.homelinux.org> (raw)
In-Reply-To: <48350F0C.5080601@telenet.be> (Alain Muls's message of "Thu, 22 May 2008 08:13:32 +0200")
Alain Muls <alain.muls@telenet.be> writes:
> Hi emacs-users
>
> I develop c++ using emacs, but I cannot set up to print the source
> code from emacs using 2 logical pages per physical page and with 98
> chars per line and using special fonts for the code. I also do not
> know how to specify which printer to use. My system uses the cupsys
> system for printing.
>
>
>
> mvg/Alain
>
Hello, you can use an external program that you launch from emacs,
i use gtklp, here is my config:(install first gtklp)
,----
| (setq lpr-command "gtklp")
| (setq-default ps-print-header nil)
| (set-variable 'lpr-switches '("-Pepson"))
| (global-set-key (kbd "<f12> p b") 'ps-print-buffer)
| (global-set-key (kbd "<f12> p r") 'ps-print-region)
`----
(i use an epson printer, you have to change that may be)
--
A + Thierry
Pub key: http://pgp.mit.edu
prev parent reply other threads:[~2008-05-22 8:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-22 6:13 print from emacs Alain Muls
2008-05-22 8:12 ` Peter Dyballa
2008-05-22 11:29 ` Reiner Steib
[not found] ` <4835460E.6060807@telenet.be>
2008-05-22 12:47 ` Peter Dyballa
2008-05-22 15:49 ` Joel J. Adamson
2008-05-22 8:39 ` Thierry Volpiatto [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wslmpwa6.fsf@thievol.homelinux.org \
--to=thierry.volpiatto@gmail.com \
--cc=alain.muls@telenet.be \
--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.
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.