On Mon, 16 Jul 2001, Tim Winter wrote:
- On Sun, 15 Jul 2001, Stephen Carville wrote:
-
- > This has to have been covered but I can't find it. How can I print
- > business envelopes? Small envelopes I can print but my printer
- > (Brother 1240) will only accept business size envelopes edge first.
- > I cannot figure out how to get LyX to rotate the print.
-
- I use plain latex for envelopes, see the following files called 'envelope'
- and 'envelope.tex'. The package envbig is required.
That was very helpful, thank you. I created a makefile that does
basically the same thing and, after a little fiddling with margins I
can now print business envelopes.
bigenv: envelope-large.lyx
lyx --export latex envelope-large.lyx
latex envelope-large.tex
dvips -m -O 1in,2in -t landscape envelope-large.dvi
- ==========================================
- \documentclass[12pt]{article}
- \usepackage{envbig}
- %
- \begin{document}
- %
- \sffamily
- %\from{Me at\\My Address}
- \to{\large{
- \hspace {-25mm}Name\\
- \hspace {-25mm}Address 1\\
- \hspace {-25mm}Address 2\\
- \hspace {-25mm}Address 3\\
- \hspace {-25mm}Address 4\\
- \hspace {-25mm}Address 5\\
- %\hspace {-25mm}\\
- }}
- \envelope
- \rmfamily
- \end{document}
- =============================================
- #!/bin/bash
- #
- rm envelope.dvi
- rm envelope.ps
- latex envelope.tex
- dvips -m -t landscape envelope.dvi
- lpr envelope.ps
- ===========================================
-
- HTH
- Tim
-
--
--Stephen Carville
http://www.heronforge.net/~stephen/gnupgkey.txt
==============================================================
Government is like burning witches: After years of burning young women
failed to solve any of society's problems, the solution was to burn more
young women.
==============================================================