[OS X TeX] Duplex printing using lp from command-line?
Bernhard Barkow
bb at creativeeyes.at
Sat Mar 19 18:20:54 EST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 19. Mär 2005, at 19:22, Johan Glimming wrote:
> Dear TeXperts,
>
> I want to duplex print a postscript file from command-line in Mac OS
> X. The printer
> is a LJ4000TN with duplex unit. I could change the printer into duplex
> mode, but this
> is not a good solution since occasionally I prefer to print in single
> page mode.
>
> Therefore, I wonder how to make "lp file.ps" change the printer to
> duplex mode...
Hi,
in addition to installing a second printer (as suggested by Pete
Dyballa; a good strategy if you don't need a lot of different option
sets), you can just use the usual CUPS printing options:
lp -o sides=two-sided-short-edge filename ENTER
lp -o sides=two-sided-long-edge filename ENTER
for more options, look at http://localhost:631/sum.html in your browser
(provided your web server is active and configured properly; otherwise,
open /usr/share/doc/cups/sum.html ).
HTH,
Bernhard
____________________________________________________
_________________________________ Bernhard Barkow __
__ __
__ mail bb at creativeeyes.at __ www.creativeeyes.at __
__ Phone +43 699 12660415 __ Fax +43 1 8775334 __
___________________ gpg key ID _ A89F09C45921020D __
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)
iD8DBQFCPLPbqJ8JxFkhAg0RAuW9AKCWplFtltsI59ZLX9KXePJr/RRZMACcDTQZ
8XmoWqnwIR202Wo671kd30g=
=o/4R
-----END PGP SIGNATURE-----
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the MacOSX-TeX
mailing list