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

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

RE: [h-e-w] How to setup network printer in GNU Emacs?


From: Sprenger, Karel
Subject: RE: [h-e-w] How to setup network printer in GNU Emacs?
Date: Fri, 8 Nov 2002 16:46:28 +0100

Raymond and all,

Yes, according to comment in the ps-print.el source you can also "print" to a 
PostScript file:

-----8<-----
;; Invoking Ps-Print
;; -----------------
;;
;; To print your buffer, type
;;
;;        M-x ps-print-buffer
;;
;; or substitute one of the other seven ps-print- commands.  The command will
;; generate the PostScript image and print or spool it as specified.  By giving
;; the command a prefix argument
;;
;;        C-u M-x ps-print-buffer
;;
;; it will save the PostScript image to a file instead of sending it to the
;; printer; you will be prompted for the name of the file to save the image to.
-----8<-----

Cheers,
Karel


-----Original Message-----
From: Raymond Zeitler [mailto:address@hidden
Sent: vrijdag 8 november 2002 16:33
To: address@hidden
Cc: address@hidden; Sprenger, Karel
Subject: RE:[h-e-w] How to setup network printer in GNU Emacs?


I'm not sure whether Zhang wants to print to a Postscript printer on the LAN or 
just send plain text to a LAN printer.  In the latter case, you can map the LAN 
printer to a local port on your computer by invoking the following at the 
Windows command prompt:

Net use LPT1: \\servername\printersharename

Then just Print Buffer (to LPT1, which Emacs assumes is the local printer.)

HTH

Karel, is it possible to cause the Postscript output to be sent to a file?  I'm 
just curious if I can create .PS files from the buffer contents.

 -----Original Message-----

--__--__--

Message: 16
Subject: RE: [h-e-w] How to setup network printer in GNU Emacs?
Date: Thu, 7 Nov 2002 11:22:21 +0100
From: "Sprenger, Karel" <address@hidden>
To: "zhang weifeng" <address@hidden>,
        <address@hidden>

Hi,

Use Options->Customize Emacs->Specific Option... and then customize
ps-printer-name to your hearts content.  You could also do C-h v
ps-printer-name RET and then select the customize "link".  In the =
customize
window you enter something like \\UTOPRNTSRV01\uto0309-1 and customize =
will
take care of doubling the backslashes.

Cheers,
Karel

-----Original Message-----
From: zhang weifeng [mailto:address@hidden
Sent: donderdag 7 november 2002 8:33
To: address@hidden
Subject: [h-e-w] How to setup network printer in GNU Emacs?


Hi:
        in Tools->print menu, I can only find a option named
"Postscript print buffer".
      =20
        How can use the printer in the LAN?

        My platform: winnt4
        GNU emacs ver:  20.4.1

        thanx




reply via email to

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