help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [h-e-w] print-NT.el


From: Jeff Rancier
Subject: RE: [h-e-w] print-NT.el
Date: Thu, 11 Oct 2001 13:20:16 -0400

Well, I think we're getting closer, I shared it and did use the name of my
PC and share name, as follows:

\\\\JRANCIER\hp_laser_jet.

When I selected Tools->Print->Print Buffer, I get the buffer in a large font
with no wrapping.  It appears to be courier new, font size about 14 or 16.
When I did Tools->Print->Postscript Print Buffer, I get printed out:

ERROR: undefined
OFFENDING COMMAND: DefFont

STACK:

/Helvetica-Bold
/14
h0

Any ideas?

-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: Thursday, October 11, 2001 12:33 PM
To: Jeff Rancier
Cc: Emacs Help (Windows)
Subject: Re: [h-e-w] print-NT.el


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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]