home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.emacs:3090 comp.text.tex:11230 gnu.emacs.help:4138
- Newsgroups: comp.emacs,comp.text.tex,gnu.emacs.help
- Path: sparky!uunet!usc!rpi!sarah!fasolt.albany.edu!ju8025
- From: ju8025@fasolt.albany.edu (Johannes Ullrich)
- Subject: Re: Printing a LaTeX document within GNU Emacs
- Message-ID: <1992Sep15.133400.8608@sarah.albany.edu>
- Sender: news@sarah.albany.edu (News Administrator)
- Organization: State University of New York at Albany
- References: <1992Sep15.003720.28013@murdoch.acc.Virginia.EDU>
- Date: Tue, 15 Sep 92 13:34:00 GMT
- Lines: 32
-
- In article <1992Sep15.003720.28013@murdoch.acc.Virginia.EDU> awb7h@fermi.clas.Virginia.EDU (Andrew William Bartelt) writes:
- >
- >I use GNU Emacs in LaTeX mode to edit my LaTeX documents. The
- >TeX-dvi-print-command is "lpr -d" where -d indicates the printer
- >should print a .dvi file. Unfortunately the printer I am using can't
- >support this option. What I currently due is type
- >dvips file_name.dvi | lpr
- >from the shell in Unix.
- >Is there any way to change the Tex-dvi-print-command to
- >dvips $FILE | lpr
- >or something like that.
- >
- [stuff deleted]
- >Andrew W. Bartelt UVa: 325 Roberta Gwathmey
- >awb7h@virginia.edu Station #1 22904-0008
-
- There is a variable: TeX-dvi-print-command which is set by default to "lpr -d".
- If you change this variable in your .emacs file you have want you want.
-
- BTW there is also TeX-how-queue-command which ets the shell command to show the
- print queue.
-
- bye,
-
- Johannes.
-
-
- --
- Johannes Ullrich ju8025@csc.albany.edu
- SUNY Albany ju8025@albnyvms.bitnet
- Center for X-Ray Optics phone (518) 442 4496
- ************************ Have fun *********************************************
-