[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: print from emacs
From: |
Thierry Volpiatto |
Subject: |
Re: print from emacs |
Date: |
Thu, 22 May 2008 10:39:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
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
- print from emacs, Alain Muls, 2008/05/22
- Re: print from emacs,
Thierry Volpiatto <=