You need to set up a mapping in the printer control panel, under the
"Properties" window for the printer you want to use:
1) Set up a TCP/IP port "Standard TCP/IP Port" specifying the
network address of the printer (Properies->Ports).
2) Share the printer under a name you choose
(Properties->Sharing), e.g., "Shared as: HPLaserJet", on
machine "ALEX".
Then configure printer support in emacs as follows (note the multiple
backslashes):
(let ((printer "\\\\ALEX\\HPLaserJet"))
(set-variable 'ps-use-face-background nil)
(setq ps-printer-name printer)
(setq printer-name printer))
This is for Emacs 21 but should be the same for Emacs 20. Setting
ps-use-face-background to nil may or not be necessary depending on how
your emacs faces are set up.
If you can't get this to work, there is a more complicated solution
using an external program called "enscript" set up to pass the
PostScript through unchanged, but it should not be necessary.
--
Alexander G. Burchell
Wilshire Associates
address@hidden
*----*
This message is intended only for the use of the person(s) listed above
as the intended recipient(s), and may contain information that is
PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient,
you may not read, copy, or distribute this message or any attachment.
If you received this communication in error, please notify us immediately
by e-mail and then delete all copies of this message and any attachments.
In addition you should be aware that ordinary (unencrypted) e-mail sent
through the Internet is not secure. Do not send confidential or sensitive
information, such as social security numbers, account numbers, personal
identification numbers and passwords, to us via ordinary (unencrypted)
e-mail.