[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [h-e-w] Printing to a print server
From: |
andrew . maguire |
Subject: |
RE: [h-e-w] Printing to a print server |
Date: |
Fri, 9 Aug 2002 14:16:31 -0400 |
I set the following:
(setq lpr-command "")
(setq lpr-switches nil)
(setq printer-name "\\\\UNC\\PRINTER NAME")
By setting lpr-command to "", the Emacs internal code on Windows,
will, I believe, be forced to use the DOS print command. I then use
backslashes in the printer-name so that I do not have to rely on automatic
conversion.
Note that printer-name can include spaces which is often just as well!
Andrew
> -----Original Message-----
> From: Yigal Hochberg [mailto:address@hidden
> Sent: 01 August 2002 14:34
> To: address@hidden
> Cc: address@hidden; Yigal Hochberg
> Subject: Re: [h-e-w] Printing to a print server
>
>
>
> Hi Warren,
>
> Have you been able to find a solution for the problem below.
> I am trying to solve this problem w/out much luck.
>
> When my printer was connected to the parallel port, the printer name
> for emacs was PRN. It worked ok. (print buffer, region etc.)
>
> I recently installed a network server printer connected to the LAN.
> I could not find a way to tell emacs to use this printer.
>
> Any idea?
>
> Regards,
>
>
> Warren Crews <address@hidden> wrote:
> >
> > The print server has an ip address on my local net. I have
> attempted to use
> > the ip address from emacs without success. Of course I may
> have done it
> > wrong. The format I tried was to set the printer to
> "//nnnn/p1". This also
> > brought about a "blue screen of death".
> >
> > Jeff Rancier asks
> > Is it an IP printer? Accessible via IP address and/or DNS name?
> >
> > Original question
> > What changes are necessary to print from emacs to a network
> print server
> > with Windows 98? My .emacs file sets printer-name to
> "//xxx/p1" where xxx Is
> > the print server name. The print server and the printer are
> visible in the
> > network neighborhood. An attempt to "print-buffer" causes a
> fault that
> > requires a reboot.
> > The hp driver is resident on the windows machine and not on
> the print
> > server. I can print from windows applications and even from
> linux. I suspect
> > that the problem is local processing, but I don't know how
> to fix it. I am
> > using emacs 21.2.1 but the problem occurred with an earlier
> release as well.
> > Thanks.
> >
> >
> >
> >
> >
>
>
> --
> - Yigal
>
>
>