OVH Cloud OVH Cloud

Printing in emacs

1 réponse
Avatar
bruno.chauchaix
Bonjour,

J'utilise essentiellement emacs 21.3.1 (dans windows XP) pour
programmer en Jython.
Mon problème: je n'arrive pas à faire de print sur mon imprimante qui
est connectée sur un réseau.
- un Print Postcript Print Buffer donne le message: Printing....done
, mais aucun résultat
- un Print Buffer bloque mon emacs !!!!!
Depuis DOS la commande >lpr -S server -P printerName fonctionne
parfaitement !
avec emacs j'ai essayé de paramétrer les variables ps-printer-name,
ps-lpr-command, ps-printer-name-option, ps-lpr-switches, mais sans
succès....

Merci d'avance pour les conseils.
Bruno

1 réponse

Avatar
Xavier Maillard
On 28 sep 2004, Bruno wrote:

Bonjour,



Plop,

avec emacs j'ai essayé de paramétrer les variables ps-printer-name,
ps-lpr-command, ps-printer-name-option, ps-lpr-switches, mais
sans



Cf lpr-command:

,----[ C-h v lpr-command RET ]
| lpr-command's value is "lpr"
|
| *Name of program for printing a file.
|
| On MS-DOS and MS-Windows systems, if the value is an empty string then
| Emacs will write directly to the printer port named by `printer-name'.
| The programs `print' and `nprint' (the standard print programs on
| Windows NT and Novell Netware respectively) are handled specially, using
| `printer-name' as the destination for output; any other program is
| treated like `lpr' except that an explicit filename is given as the last
| argument.
|
| You can customize this variable.
|
| Defined in `lpr.el'.
|
| [back]
`----

De rien.
--
GNUSFR.ORG http://gnusfr.org/
EMACSFR.ORG http://emacsfr.org/
Xavier Maillard Tel: +33 6 68 04 64 37