help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: printing from within emacs


From: Michael Slass
Subject: Re: printing from within emacs
Date: Mon, 12 Jul 2004 17:13:34 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Lowell Kirsh <address@hidden> writes:

>I'm having trouble printing to a remote printer from within emacs. The
>command I normally use from the cmd line is 'ssh host print'. How can
>I get emacs to use this command?
>
>Lowell

Check out docs for the variable lpr-command
,----[ C-h v lpr-command RET ]
| lpr-command's value is "lpr"
| 
| Documentation:
| *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'.
`----

-- 
Mike Slass


reply via email to

[Prev in Thread] Current Thread [Next in Thread]