all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
@ 2009-04-06 16:06 ChristopherL
  2009-04-06 17:05 ` Peter Dyballa
                   ` (3 more replies)
  0 siblings, 4 replies; 27+ messages in thread
From: ChristopherL @ 2009-04-06 16:06 UTC (permalink / raw)
  To: help-gnu-emacs

How do I setup Emacs to be able to print to a printer. Currently, I
have to copy everything to notepad and print from there.

Thank you,
Chris


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
  2009-04-06 16:06 How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE ChristopherL
@ 2009-04-06 17:05 ` Peter Dyballa
       [not found] ` <mailman.4719.1239037549.31690.help-gnu-emacs@gnu.org>
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 27+ messages in thread
From: Peter Dyballa @ 2009-04-06 17:05 UTC (permalink / raw)
  To: ChristopherL; +Cc: help-gnu-emacs


Am 06.04.2009 um 18:06 schrieb ChristopherL:

> How do I setup Emacs to be able to print to a printer.


By reading the documentation. (And setting an environment variable  
PRINTER.)

GNU Emacs can either create a text output or a PostScript output (you  
can check this output by using ps-spool-* instead of the ps-print-*  
commands, later you can use ps-despool-* to print). Both are fed to  
the user's default printer.

--
Greetings

   Pete

There's something the technicians need to learn from the artists. If  
it isn't aesthetically pleasing, it's probably wrong.






^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
       [not found] ` <mailman.4719.1239037549.31690.help-gnu-emacs@gnu.org>
@ 2009-04-06 17:51   ` ChristopherL
  2009-04-06 19:20     ` ChristopherL
  0 siblings, 1 reply; 27+ messages in thread
From: ChristopherL @ 2009-04-06 17:51 UTC (permalink / raw)
  To: help-gnu-emacs

On Apr 6, 10:05 am, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 06.04.2009 um 18:06 schrieb ChristopherL:
>
> > How do I setup Emacs to be able to print to a printer.
>
> By reading the documentation. (And setting an environment variable  
> PRINTER.)
>
> GNU Emacs can either create a text output or a PostScript output (you  
> can check this output by using ps-spool-* instead of the ps-print-*  
> commands, later you can use ps-despool-* to print). Both are fed to  
> the user's default printer.

I am really new to setting variables and controlling the setup and
it's vague to me. Can you post a detailed step-by-step description of
how to print.

Again thanks,
Chris



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
  2009-04-06 17:51   ` ChristopherL
@ 2009-04-06 19:20     ` ChristopherL
  0 siblings, 0 replies; 27+ messages in thread
From: ChristopherL @ 2009-04-06 19:20 UTC (permalink / raw)
  To: help-gnu-emacs

On Apr 6, 10:51 am, ChristopherL <clusard...@aol.com> wrote:
> On Apr 6, 10:05 am, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
>
> > Am 06.04.2009 um 18:06 schrieb ChristopherL:
>
> > > How do I setup Emacs to be able to print to a printer.
>
> > By reading the documentation. (And setting an environment variable  
> > PRINTER.)
>
> > GNU Emacs can either create a text output or a PostScript output (you  
> > can check this output by using ps-spool-* instead of the ps-print-*  
> > commands, later you can use ps-despool-* to print). Both are fed to  
> > the user's default printer.
>
> I am really new to setting variables and controlling the setup and
> it's vague to me. Can you post a detailed step-by-step description of
> how to print.
>
> Again thanks,
> Chris

M-x customize-variable
printer-name

Did not work when I set the "name" and "saved it for future settings"

Chris


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
  2009-04-06 16:06 How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE ChristopherL
  2009-04-06 17:05 ` Peter Dyballa
       [not found] ` <mailman.4719.1239037549.31690.help-gnu-emacs@gnu.org>
@ 2009-04-06 20:33 ` Eli Zaretskii
  2009-04-06 20:51   ` Lennart Borgman
       [not found]   ` <mailman.4732.1239051102.31690.help-gnu-emacs@gnu.org>
       [not found] ` <mailman.4730.1239050120.31690.help-gnu-emacs@gnu.org>
  3 siblings, 2 replies; 27+ messages in thread
From: Eli Zaretskii @ 2009-04-06 20:33 UTC (permalink / raw)
  To: help-gnu-emacs

> From: ChristopherL <clusardi2k@aol.com>
> Date: Mon, 6 Apr 2009 09:06:37 -0700 (PDT)
> 
> How do I setup Emacs to be able to print to a printer. Currently, I
> have to copy everything to notepad and print from there.

Did you try the advice in the node "Windows Printing" of the Emacs
manual (that is part of the distribution)?




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
  2009-04-06 20:33 ` Eli Zaretskii
@ 2009-04-06 20:51   ` Lennart Borgman
  2009-04-08 12:49     ` Jonathan Groll
       [not found]   ` <mailman.4732.1239051102.31690.help-gnu-emacs@gnu.org>
  1 sibling, 1 reply; 27+ messages in thread
From: Lennart Borgman @ 2009-04-06 20:51 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs

On Mon, Apr 6, 2009 at 10:33 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: ChristopherL <clusardi2k@aol.com>
>> Date: Mon, 6 Apr 2009 09:06:37 -0700 (PDT)
>>
>> How do I setup Emacs to be able to print to a printer. Currently, I
>> have to copy everything to notepad and print from there.
>
> Did you try the advice in the node "Windows Printing" of the Emacs
> manual (that is part of the distribution)?

Eli: How about a link from "Printing" to "Windows Printing" in the manual?

That said there is a very simple way to get basic printing in colours
on all platforms that has a web browser, see
http://www.emacswiki.org/emacs/PrintWithWebBrowser




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
       [not found] ` <mailman.4730.1239050120.31690.help-gnu-emacs@gnu.org>
@ 2009-04-07 13:19   ` ChristopherL
  2009-04-07 19:14     ` Eli Zaretskii
  2009-04-08  3:18     ` B. T. Raven
  0 siblings, 2 replies; 27+ messages in thread
From: ChristopherL @ 2009-04-07 13:19 UTC (permalink / raw)
  To: help-gnu-emacs

On Apr 6, 1:33 pm, Eli Zaretskii <e...@gnu.org> wrote:
> > From: ChristopherL <clusard...@aol.com>
> > Date: Mon, 6 Apr 2009 09:06:37 -0700 (PDT)
>
> > How do I setup Emacs to be able to print to a printer. Currently, I
> > have to copy everything to notepad and print from there.
>
> Did you try the advice in the node "Windows Printing" of the Emacs
> manual (that is part of the distribution)?

My company does not make it available.

Chris


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
       [not found]   ` <mailman.4732.1239051102.31690.help-gnu-emacs@gnu.org>
@ 2009-04-07 13:19     ` ChristopherL
  2009-04-07 13:48       ` Lennart Borgman
       [not found]       ` <mailman.4784.1239112139.31690.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 27+ messages in thread
From: ChristopherL @ 2009-04-07 13:19 UTC (permalink / raw)
  To: help-gnu-emacs

On Apr 6, 1:51 pm, Lennart Borgman <lennart.borg...@gmail.com> wrote:
> On Mon, Apr 6, 2009 at 10:33 PM, Eli Zaretskii <e...@gnu.org> wrote:
> >> From: ChristopherL <clusard...@aol.com>
> >> Date: Mon, 6 Apr 2009 09:06:37 -0700 (PDT)
>
> >> How do I setup Emacs to be able to print to a printer. Currently, I
> >> have to copy everything to notepad and print from there.
>
> > Did you try the advice in the node "Windows Printing" of the Emacs
> > manual (that is part of the distribution)?
>
> Eli: How about a link from "Printing" to "Windows Printing" in the manual?
>
> That said there is a very simple way to get basic printing in colours
> on all platforms that has a web browser, seehttp://www.emacswiki.org/emacs/PrintWithWebBrowser

I just checked, my employeer does not allow be to use it.

Chris


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
  2009-04-07 13:19     ` ChristopherL
@ 2009-04-07 13:48       ` Lennart Borgman
       [not found]       ` <mailman.4784.1239112139.31690.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 27+ messages in thread
From: Lennart Borgman @ 2009-04-07 13:48 UTC (permalink / raw)
  To: ChristopherL; +Cc: help-gnu-emacs

On Tue, Apr 7, 2009 at 3:19 PM, ChristopherL <clusardi2k@aol.com> wrote:
> On Apr 6, 1:51 pm, Lennart Borgman <lennart.borg...@gmail.com> wrote:
>> On Mon, Apr 6, 2009 at 10:33 PM, Eli Zaretskii <e...@gnu.org> wrote:
>> >> From: ChristopherL <clusard...@aol.com>
>> >> Date: Mon, 6 Apr 2009 09:06:37 -0700 (PDT)
>>
>> >> How do I setup Emacs to be able to print to a printer. Currently, I
>> >> have to copy everything to notepad and print from there.
>>
>> > Did you try the advice in the node "Windows Printing" of the Emacs
>> > manual (that is part of the distribution)?
>>
>> Eli: How about a link from "Printing" to "Windows Printing" in the manual?
>>
>> That said there is a very simple way to get basic printing in colours
>> on all platforms that has a web browser, seehttp://www.emacswiki.org/emacs/PrintWithWebBrowser
>
> I just checked, my employeer does not allow be to use it.

I do not understand. What is the problem with using it? It is just an
ordinary elisp library.




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
       [not found]       ` <mailman.4784.1239112139.31690.help-gnu-emacs@gnu.org>
@ 2009-04-07 17:15         ` ChristopherL
  2009-04-07 20:28           ` Lennart Borgman
  0 siblings, 1 reply; 27+ messages in thread
From: ChristopherL @ 2009-04-07 17:15 UTC (permalink / raw)
  To: help-gnu-emacs

On Apr 7, 6:48 am, Lennart Borgman <lennart.borg...@gmail.com> wrote:
> On Tue, Apr 7, 2009 at 3:19 PM, ChristopherL <clusard...@aol.com> wrote:
> > On Apr 6, 1:51 pm, Lennart Borgman <lennart.borg...@gmail.com> wrote:
> >> On Mon, Apr 6, 2009 at 10:33 PM, Eli Zaretskii <e...@gnu.org> wrote:
> >> >> From: ChristopherL <clusard...@aol.com>
> >> >> Date: Mon, 6 Apr 2009 09:06:37 -0700 (PDT)
>
> >> >> How do I setup Emacs to be able to print to a printer. Currently, I
> >> >> have to copy everything to notepad and print from there.
>
> >> > Did you try the advice in the node "Windows Printing" of the Emacs
> >> > manual (that is part of the distribution)?
>
> >> Eli: How about a link from "Printing" to "Windows Printing" in the manual?
>
> >> That said there is a very simple way to get basic printing in colours
> >> on all platforms that has a web browser, seehttp://www.emacswiki.org/emacs/PrintWithWebBrowser
>
> > I just checked, my employeer does not allow be to use it.
>
> I do not understand. What is the problem with using it? It is just an
> ordinary elisp library.- Hide quoted text -
>
> - Show quoted text -

When I enter Mx browse-url-of-file, it just opens a second emacs
session and points to the same file.

Note: If I print the file it does not go to the printer, but I get a
message saying "Spooling with options (page headers are not
supported)...done

Chris


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
  2009-04-07 13:19   ` ChristopherL
@ 2009-04-07 19:14     ` Eli Zaretskii
  2009-04-08  3:18     ` B. T. Raven
  1 sibling, 0 replies; 27+ messages in thread
From: Eli Zaretskii @ 2009-04-07 19:14 UTC (permalink / raw)
  To: help-gnu-emacs

> From: ChristopherL <clusardi2k@aol.com>
> Date: Tue, 7 Apr 2009 06:19:16 -0700 (PDT)
> 
> On Apr 6, 1:33 pm, Eli Zaretskii <e...@gnu.org> wrote:
> > > From: ChristopherL <clusard...@aol.com>
> > > Date: Mon, 6 Apr 2009 09:06:37 -0700 (PDT)
> >
> > > How do I setup Emacs to be able to print to a printer. Currently, I
> > > have to copy everything to notepad and print from there.
> >
> > Did you try the advice in the node "Windows Printing" of the Emacs
> > manual (that is part of the distribution)?
> 
> My company does not make it available.

What doesn't your company make available? the Emacs manual?  If so,
the manual is part of the Emacs installation, or you could find it
elsewhere on the Internet.





^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
  2009-04-07 17:15         ` ChristopherL
@ 2009-04-07 20:28           ` Lennart Borgman
  0 siblings, 0 replies; 27+ messages in thread
From: Lennart Borgman @ 2009-04-07 20:28 UTC (permalink / raw)
  To: ChristopherL; +Cc: help-gnu-emacs

On Tue, Apr 7, 2009 at 7:15 PM, ChristopherL <clusardi2k@aol.com> wrote:
> On Apr 7, 6:48 am, Lennart Borgman <lennart.borg...@gmail.com> wrote:
>> On Tue, Apr 7, 2009 at 3:19 PM, ChristopherL <clusard...@aol.com> wrote:
>> > On Apr 6, 1:51 pm, Lennart Borgman <lennart.borg...@gmail.com> wrote:
>> >> On Mon, Apr 6, 2009 at 10:33 PM, Eli Zaretskii <e...@gnu.org> wrote:
>> >> >> From: ChristopherL <clusard...@aol.com>
>> >> >> Date: Mon, 6 Apr 2009 09:06:37 -0700 (PDT)
>>
>> >> >> How do I setup Emacs to be able to print to a printer. Currently, I
>> >> >> have to copy everything to notepad and print from there.
>>
>> >> > Did you try the advice in the node "Windows Printing" of the Emacs
>> >> > manual (that is part of the distribution)?
>>
>> >> Eli: How about a link from "Printing" to "Windows Printing" in the manual?
>>
>> >> That said there is a very simple way to get basic printing in colours
>> >> on all platforms that has a web browser, seehttp://www.emacswiki.org/emacs/PrintWithWebBrowser
>>
>> > I just checked, my employeer does not allow be to use it.
>>
>> I do not understand. What is the problem with using it? It is just an
>> ordinary elisp library.- Hide quoted text -
>>
>> - Show quoted text -
>
> When I enter Mx browse-url-of-file, it just opens a second emacs
> session and points to the same file.


Could you please explain what has browse-url-of-file to do with your
printing problem and the suggestion I gave you?




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
  2009-04-07 13:19   ` ChristopherL
  2009-04-07 19:14     ` Eli Zaretskii
@ 2009-04-08  3:18     ` B. T. Raven
  2009-04-08 13:57       ` ChristopherL
  2009-05-03  0:06       ` David Combs
  1 sibling, 2 replies; 27+ messages in thread
From: B. T. Raven @ 2009-04-08  3:18 UTC (permalink / raw)
  To: help-gnu-emacs

ChristopherL wrote:
> On Apr 6, 1:33 pm, Eli Zaretskii <e...@gnu.org> wrote:
>>> From: ChristopherL <clusard...@aol.com>
>>> Date: Mon, 6 Apr 2009 09:06:37 -0700 (PDT)
>>> How do I setup Emacs to be able to print to a printer. Currently, I
>>> have to copy everything to notepad and print from there.
>> Did you try the advice in the node "Windows Printing" of the Emacs
>> manual (that is part of the distribution)?
> 
> My company does not make it available.
> 
> Chris

The manual Eli is referring to is virtual, not paper:

 From within Emacs type Control-h r
m
printing

and then again from the top
m
Windows Printing

If this functionality is missing then someone went to the trouble to 
remove it, which probably means that they don't want anyone there to 
learn Emacs. In any case unless you are a postscript expert you'll 
either have to install ghostscript or use Lennart's suggestion, to wit

Add this line to your .emacs:
(require 'hfyview)

Add the files hfyview.el and htmlfontify.el to /emacs/lisp directory or 
another directory in load-path.
Easymenu.el should already be in /emacs/lisp/emacs-lisp directory.

Ed



Ed


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
  2009-04-06 20:51   ` Lennart Borgman
@ 2009-04-08 12:49     ` Jonathan Groll
  0 siblings, 0 replies; 27+ messages in thread
From: Jonathan Groll @ 2009-04-08 12:49 UTC (permalink / raw)
  To: help-gnu-emacs

On Mon, Apr 06, 2009 at 10:51:31PM +0200, Lennart Borgman wrote:
>That said there is a very simple way to get basic printing in colours
>on all platforms that has a web browser, see
>http://www.emacswiki.org/emacs/PrintWithWebBrowser
>

Oh wow, I've had nxhtml installed for some time, but never used
(require 'hfyview) before. Thanks Lennart!

I would like to know though how those beautiful fonts are configured
in the example given by emacswiki at:
http://ourcomments.org/Emacs/nXhtml/doc/htmlfontify-example.html

For instance, the text "Program and Value Search" in the  *Customize
EmacsW32* window on the above page, how is that set? What is that
*Occur* buffer from, when I do "occur" it doesn't look so pretty.

I really like that I can scroll in the individual windows on the HTML
page too. 

The only thing that I don't like having to do is that I'd like to hide
the text that firefox adds to a page when you print it at the top
"File://localhost/var/floders/VJ/VJmNPjS1...". Obviously it's nice to
see that text when printing a web page, but not so nice for printing
an Emacs buffer. Perhaps though, a firefox add-on could take care of
this automatically.

Cheers,
Jonathan




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
  2009-04-08  3:18     ` B. T. Raven
@ 2009-04-08 13:57       ` ChristopherL
  2009-04-08 14:26         ` rustom
  2009-04-08 16:15         ` B. T. Raven
  2009-05-03  0:06       ` David Combs
  1 sibling, 2 replies; 27+ messages in thread
From: ChristopherL @ 2009-04-08 13:57 UTC (permalink / raw)
  To: help-gnu-emacs

On Apr 7, 8:18 pm, "B. T. Raven" <ni...@nihilo.net> wrote:
> Add this line to your .emacs:
> (require 'hfyview)
>
> Add the files hfyview.el and htmlfontify.el to /emacs/lisp directory or
> another directory in load-path.
> Easymenu.el should already be in /emacs/lisp/emacs-lisp directory.

Where can I get hfyview.el and htmlfontify.el. They are not on my C
drive.

Chris


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
  2009-04-08 13:57       ` ChristopherL
@ 2009-04-08 14:26         ` rustom
  2009-04-08 15:21           ` Eli Zaretskii
  2009-04-08 16:15         ` B. T. Raven
  1 sibling, 1 reply; 27+ messages in thread
From: rustom @ 2009-04-08 14:26 UTC (permalink / raw)
  To: help-gnu-emacs

On Apr 8, 6:57 pm, ChristopherL <clusard...@aol.com> wrote:
> On Apr 7, 8:18 pm, "B. T. Raven" <ni...@nihilo.net> wrote:
>
> > Add this line to your .emacs:
> > (require 'hfyview)
>
> > Add the files hfyview.el and htmlfontify.el to /emacs/lisp directory or
> > another directory in load-path.
> > Easymenu.el should already be in /emacs/lisp/emacs-lisp directory.
>
> Where can I get hfyview.el and htmlfontify.el. They are not on my C
> drive.
>
> Chris

Setting up printing on windows is quite a feat
I hardly understand all the details but what Ive figured out on my
setup is:

At the least I need these two things
(setq printer-name "//network/path/to/printer")
(setq ps-printer-name t)

However this prints without the typical printer dialog that all other
windows applications give.
If I add
(setq ps-lpr-command "C:/Program Files/gs/gs8.63/bin/
gswin32c.exe")  ;; obviously use the correct path for you here which
means also setup ghostscript.
(setq ps-lpr-switches '( "-dNOPAUSE" "-dBATCH" "-sDEVICE=mswinpr2"))
then the dialog also appears.

I find this mysterious because these variables seem to be part of the
printing package (without (require 'printing) no help is available for
them) but yet they change the behavior of printing


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
  2009-04-08 14:26         ` rustom
@ 2009-04-08 15:21           ` Eli Zaretskii
  0 siblings, 0 replies; 27+ messages in thread
From: Eli Zaretskii @ 2009-04-08 15:21 UTC (permalink / raw)
  To: help-gnu-emacs

> From: rustom <rustompmody@gmail.com>
> Date: Wed, 8 Apr 2009 07:26:43 -0700 (PDT)
> 
> At the least I need these two things
> (setq printer-name "//network/path/to/printer")
> (setq ps-printer-name t)
> 
> However this prints without the typical printer dialog that all other
> windows applications give.

That's how Emacs behaves on all platforms, not only on Windows.

The reason it does not show the Print dialog is that (1) by the above
setup you already told it what printer you want to print to, so
there's no need to ask you to select a printer; and (2) Emacs does not
(yet) support the other printing options you are used to selecting
through the Print dialog -- instead, you need to set Emacs variables.

> If I add
> (setq ps-lpr-command "C:/Program Files/gs/gs8.63/bin/
> gswin32c.exe")  ;; obviously use the correct path for you here which
> means also setup ghostscript.
> (setq ps-lpr-switches '( "-dNOPAUSE" "-dBATCH" "-sDEVICE=mswinpr2"))
> then the dialog also appears.

The dialog that appears is popped up by gswin32c.exe, not by Emacs.

> I find this mysterious because these variables seem to be part of the
> printing package (without (require 'printing) no help is available for
> them) but yet they change the behavior of printing

They are not part of the `printing' package, they are part of the
`ps-print' package.




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
  2009-04-08 13:57       ` ChristopherL
  2009-04-08 14:26         ` rustom
@ 2009-04-08 16:15         ` B. T. Raven
  2009-04-08 18:38           ` ChristopherL
  1 sibling, 1 reply; 27+ messages in thread
From: B. T. Raven @ 2009-04-08 16:15 UTC (permalink / raw)
  To: help-gnu-emacs

ChristopherL wrote:
> On Apr 7, 8:18 pm, "B. T. Raven" <ni...@nihilo.net> wrote:
>> Add this line to your .emacs:
>> (require 'hfyview)
>>
>> Add the files hfyview.el and htmlfontify.el to /emacs/lisp directory or
>> another directory in load-path.
>> Easymenu.el should already be in /emacs/lisp/emacs-lisp directory.
> 
> Where can I get hfyview.el and htmlfontify.el. They are not on my C
> drive.
> 
> Chris

I thought they were in a this+that bundle somewhere on Lennart's site 
but I don't find that now. You can get them by dowloadning nxhtml from:

http://ourcomments.org/cgi-bin/emacsw32-dl-latest.pl (1.7 M)

and then extract them from

nxhtml/util

Ed


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
  2009-04-08 16:15         ` B. T. Raven
@ 2009-04-08 18:38           ` ChristopherL
  2009-04-08 23:17             ` Ralf Wachinger
                               ` (2 more replies)
  0 siblings, 3 replies; 27+ messages in thread
From: ChristopherL @ 2009-04-08 18:38 UTC (permalink / raw)
  To: help-gnu-emacs

On Apr 8, 9:15 am, "B. T. Raven" <ni...@nihilo.net> wrote:
> ChristopherL wrote:
> > On Apr 7, 8:18 pm, "B. T. Raven" <ni...@nihilo.net> wrote:
> >> Add this line to your .emacs:
> >> (require 'hfyview)
>
> >> Add the files hfyview.el and htmlfontify.el to /emacs/lisp directory or
> >> another directory in load-path.
> >> Easymenu.el should already be in /emacs/lisp/emacs-lisp directory.
>
> > Where can I get hfyview.el and htmlfontify.el. They are not on my C
> > drive.
>
> > Chris
>
> I thought they were in a this+that bundle somewhere on Lennart's site
> but I don't find that now. You can get them by dowloadning nxhtml from:
>
> http://ourcomments.org/cgi-bin/emacsw32-dl-latest.pl(1.7 M)
>
> and then extract them from
>
> nxhtml/util
>
> Ed

I still am unable to print!

I downloaded the two files to the right place (.emacs found it),
changed .emacs to refer to hfyview as above, and within Emacs
customized variable printer-name to both default and what I got from
(Start, Printer and Faxes, Properties, General Tab).

Chris


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
  2009-04-08 18:38           ` ChristopherL
@ 2009-04-08 23:17             ` Ralf Wachinger
  2009-04-09  2:00             ` B. T. Raven
  2009-04-09 12:38             ` ChristopherL
  2 siblings, 0 replies; 27+ messages in thread
From: Ralf Wachinger @ 2009-04-08 23:17 UTC (permalink / raw)
  To: help-gnu-emacs

* ChristopherL wrote:

> On Apr 8, 9:15 am, "B. T. Raven" <ni...@nihilo.net> wrote:
>> ChristopherL wrote:
> 
>>> Where can I get hfyview.el and htmlfontify.el. They are not on my C
>>> drive.
>> 
>> I thought they were in a this+that bundle somewhere on Lennart's site
>> but I don't find that now. You can get them by dowloadning nxhtml from:
>> 
>> http://ourcomments.org/cgi-bin/emacsw32-dl-latest.pl(1.7 M)
>> 
>> and then extract them from
>> 
>> nxhtml/util
> 
> I still am unable to print!
> 
> I downloaded the two files to the right place (.emacs found it),
> changed .emacs to refer to hfyview as above, and within Emacs
> customized variable printer-name to both default and what I got from
> (Start, Printer and Faxes, Properties, General Tab).

When you call the function

'M-x hfyview-buffer RET'

then the contents of the buffer are sent to your web browser. And with

'M-x hfyview-region RET'

you can send the contents of the marked region. After that you can
actually print in your browser.

This printing method has nothing to do with the Emacs' own printing
functions. BTW: It's fully integrated in Lennart Borgman's
EmacsW32-Emacs.


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
  2009-04-08 18:38           ` ChristopherL
  2009-04-08 23:17             ` Ralf Wachinger
@ 2009-04-09  2:00             ` B. T. Raven
  2009-04-09 12:38             ` ChristopherL
  2 siblings, 0 replies; 27+ messages in thread
From: B. T. Raven @ 2009-04-09  2:00 UTC (permalink / raw)
  To: help-gnu-emacs

ChristopherL wrote:
> On Apr 8, 9:15 am, "B. T. Raven" <ni...@nihilo.net> wrote:
>> ChristopherL wrote:
>>> On Apr 7, 8:18 pm, "B. T. Raven" <ni...@nihilo.net> wrote:
>>>> Add this line to your .emacs:
>>>> (require 'hfyview)
>>>> Add the files hfyview.el and htmlfontify.el to /emacs/lisp directory or
>>>> another directory in load-path.
>>>> Easymenu.el should already be in /emacs/lisp/emacs-lisp directory.
>>> Where can I get hfyview.el and htmlfontify.el. They are not on my C
>>> drive.
>>> Chris
>> I thought they were in a this+that bundle somewhere on Lennart's site
>> but I don't find that now. You can get them by dowloadning nxhtml from:
>>
>> http://ourcomments.org/cgi-bin/emacsw32-dl-latest.pl(1.7 M)
>>
>> and then extract them from
>>
>> nxhtml/util
>>
>> Ed
> 
> I still am unable to print!
> 
> I downloaded the two files to the right place (.emacs found it),
> changed .emacs to refer to hfyview as above, and within Emacs
> customized variable printer-name to both default and what I got from
> (Start, Printer and Faxes, Properties, General Tab).
> 
> Chris

Printing through web browser is independent of standard Emacs postscript 
printing, I think. All it needs is a printer installed via Start> 
Settings>Printer. Under Files in the Emacs menu do you have an entry 
"Quick Printing (Using Web Browser)" This is what you click on to print 
with the above described method. Is your printer plugged in, turned on, 
and connected to your windows box with parallel or usb cable? :-)

Ed


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
  2009-04-08 18:38           ` ChristopherL
  2009-04-08 23:17             ` Ralf Wachinger
  2009-04-09  2:00             ` B. T. Raven
@ 2009-04-09 12:38             ` ChristopherL
  2009-04-09 14:35               ` Peter Dyballa
                                 ` (2 more replies)
  2 siblings, 3 replies; 27+ messages in thread
From: ChristopherL @ 2009-04-09 12:38 UTC (permalink / raw)
  To: help-gnu-emacs

On Apr 8, 11:38 am, ChristopherL <clusard...@aol.com> wrote:
> I downloaded the two files to the right place (.emacs found it),
> changed .emacs to refer to hfyview as above, and within Emacs
> customized variable printer-name to both default and what I got from
> (Start, Printer and Faxes, Properties, General Tab).
>

When I open a file, I temporarily get another window before my window
displays the requested file.
I put hfyview.el and htmlfontify.el in C:\Program Files
\emacs-22.2\emacs-22.2\lisp\emacs-lisp. Both files are read/writeable.

In the temporary window, among other things it says:

An error has occurred while loading 'c:/Documents and Settings/...

File error: Cannot open load file, hfyview

Chris





^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
  2009-04-09 12:38             ` ChristopherL
@ 2009-04-09 14:35               ` Peter Dyballa
  2009-04-09 14:57               ` B. T. Raven
       [not found]               ` <mailman.4976.1239287724.31690.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 27+ messages in thread
From: Peter Dyballa @ 2009-04-09 14:35 UTC (permalink / raw)
  To: ChristopherL; +Cc: help-gnu-emacs


Am 09.04.2009 um 14:38 schrieb ChristopherL:

> An error has occurred while loading 'c:/Documents and Settings/...
>
> File error: Cannot open load file, hfyview


It's best to put the files into a directory that is named in the  
variable load-path. The best place is the "site-lisp" directory,  
because it's not served by the GNU Emacs distribution, just used/ 
meant for local additions.

--
Greetings

   Pete

"We need a president who's fluent in at least one language."
				– Buck Henry








^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
  2009-04-09 12:38             ` ChristopherL
  2009-04-09 14:35               ` Peter Dyballa
@ 2009-04-09 14:57               ` B. T. Raven
       [not found]               ` <mailman.4976.1239287724.31690.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 27+ messages in thread
From: B. T. Raven @ 2009-04-09 14:57 UTC (permalink / raw)
  To: help-gnu-emacs

ChristopherL wrote:
> On Apr 8, 11:38 am, ChristopherL <clusard...@aol.com> wrote:
>> I downloaded the two files to the right place (.emacs found it),
>> changed .emacs to refer to hfyview as above, and within Emacs
>> customized variable printer-name to both default and what I got from
>> (Start, Printer and Faxes, Properties, General Tab).
>>
> 
> When I open a file, I temporarily get another window before my window
> displays the requested file.
> I put hfyview.el and htmlfontify.el in C:\Program Files
> \emacs-22.2\emacs-22.2\lisp\emacs-lisp. Both files are read/writeable.

I have these in \emacs\lisp but they can go in any subdirectory in 
load-path, most appropriately in \emacs\site-lisp if you want to keep 
...\lisp pristine.

> 
> In the temporary window, among other things it says:
> 
> An error has occurred while loading 'c:/Documents and Settings/...
> 
> File error: Cannot open load file, hfyview
> 
> Chris

Maybe your installation is hosed. runemacs.exe is at least one 
subdirectory lower than it has to be since there is a stutter on 
.../emacs-22.2/emacs-22.2...
Did you run addpm.exe? Is Emacs listed as a removable program in Control 
Panel Add Remove Programs? Does Control-h v load-path include the subdir 
where you put Lennart's files? If you have to reinstall Emacs I would 
recommend you get the 22.3 binararies and put them in C:/emacs (that is, 
unzip it directly into the root C:\ and afterwards change the name of 
emacs-22.3 to emacs. If you want to do anything from command window 
(used to be dos shell) then it's better not to have everything deeply 
buried in the file hierarchy. Also, it's better for windows not to know 
any more about Emacs than it needs to. Then when you are ready to 
upgrade to 23.1 you can temporarily change "emacs" to whatever the top 
level unzip target is and install the new Emacs on top of the old one.


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
       [not found]               ` <mailman.4976.1239287724.31690.help-gnu-emacs@gnu.org>
@ 2009-04-09 18:20                 ` ChristopherL
  0 siblings, 0 replies; 27+ messages in thread
From: ChristopherL @ 2009-04-09 18:20 UTC (permalink / raw)
  To: help-gnu-emacs

On Apr 9, 7:35 am, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 09.04.2009 um 14:38 schrieb ChristopherL:
>
> > An error has occurred while loading 'c:/Documents and Settings/...
>
> > File error: Cannot open load file, hfyview
>
> It's best to put the files into a directory that is named in the  
> variable load-path. The best place is the "site-lisp" directory,  
> because it's not served by the GNU Emacs distribution, just used/
> meant for local additions.

Putting both files in C:\Program Files\emacs-22.2\emacs-22.2\site-lisp
didn't work.

I woun't be back at work till Monday, so I won't try out more
responses till then.

Thank you,
Chris


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
  2009-04-08  3:18     ` B. T. Raven
  2009-04-08 13:57       ` ChristopherL
@ 2009-05-03  0:06       ` David Combs
  2009-05-03  3:08         ` Eli Zaretskii
  1 sibling, 1 reply; 27+ messages in thread
From: David Combs @ 2009-05-03  0:06 UTC (permalink / raw)
  To: help-gnu-emacs

In article <QtydnaD7bNsdikHUnZ2dnUVZ_umdnZ2d@sysmatrix.net>,
B. T. Raven <nihil@nihilo.net> wrote:
>ChristopherL wrote:
>> On Apr 6, 1:33 pm, Eli Zaretskii <e...@gnu.org> wrote:
>>>> From: ChristopherL <clusard...@aol.com>
>>>> Date: Mon, 6 Apr 2009 09:06:37 -0700 (PDT)
>>>> How do I setup Emacs to be able to print to a printer. Currently, I
>>>> have to copy everything to notepad and print from there.
>>> Did you try the advice in the node "Windows Printing" of the Emacs
>>> manual (that is part of the distribution)?
>> 
>> My company does not make it available.
>> 
>> Chris
>
>The manual Eli is referring to is virtual, not paper:
>
> From within Emacs type Control-h r

I'm not sure that's such a great way to get to it.

I'd prefer teaching "C-h i", which gives them whole list
of manuals, so they know it's all there, and then it's easy
enough to "m" the third(?) one, the emacs-manual.

So each time they do it, they get reminded of what other doc
they have at their fingertips.


David




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
  2009-05-03  0:06       ` David Combs
@ 2009-05-03  3:08         ` Eli Zaretskii
  0 siblings, 0 replies; 27+ messages in thread
From: Eli Zaretskii @ 2009-05-03  3:08 UTC (permalink / raw)
  To: help-gnu-emacs

> From: dkcombs@panix.com (David Combs)
> Date: Sun, 3 May 2009 00:06:37 +0000 (UTC)
> 
> I'd prefer teaching "C-h i", which gives them whole list
> of manuals, so they know it's all there, and then it's easy
> enough to "m" the third(?) one, the emacs-manual.
> 
> So each time they do it, they get reminded of what other doc
> they have at their fingertips.

We have Help->More Manuals menu item for that.




^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2009-05-03  3:08 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-06 16:06 How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE ChristopherL
2009-04-06 17:05 ` Peter Dyballa
     [not found] ` <mailman.4719.1239037549.31690.help-gnu-emacs@gnu.org>
2009-04-06 17:51   ` ChristopherL
2009-04-06 19:20     ` ChristopherL
2009-04-06 20:33 ` Eli Zaretskii
2009-04-06 20:51   ` Lennart Borgman
2009-04-08 12:49     ` Jonathan Groll
     [not found]   ` <mailman.4732.1239051102.31690.help-gnu-emacs@gnu.org>
2009-04-07 13:19     ` ChristopherL
2009-04-07 13:48       ` Lennart Borgman
     [not found]       ` <mailman.4784.1239112139.31690.help-gnu-emacs@gnu.org>
2009-04-07 17:15         ` ChristopherL
2009-04-07 20:28           ` Lennart Borgman
     [not found] ` <mailman.4730.1239050120.31690.help-gnu-emacs@gnu.org>
2009-04-07 13:19   ` ChristopherL
2009-04-07 19:14     ` Eli Zaretskii
2009-04-08  3:18     ` B. T. Raven
2009-04-08 13:57       ` ChristopherL
2009-04-08 14:26         ` rustom
2009-04-08 15:21           ` Eli Zaretskii
2009-04-08 16:15         ` B. T. Raven
2009-04-08 18:38           ` ChristopherL
2009-04-08 23:17             ` Ralf Wachinger
2009-04-09  2:00             ` B. T. Raven
2009-04-09 12:38             ` ChristopherL
2009-04-09 14:35               ` Peter Dyballa
2009-04-09 14:57               ` B. T. Raven
     [not found]               ` <mailman.4976.1239287724.31690.help-gnu-emacs@gnu.org>
2009-04-09 18:20                 ` ChristopherL
2009-05-03  0:06       ` David Combs
2009-05-03  3:08         ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.