home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / emacs / 3090 < prev    next >
Encoding:
Internet Message Format  |  1992-09-15  |  1.7 KB

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