Re: [PATCH] Printing Bug

2007-06-05 Thread Richard Heck

José Matos wrote:

On Tuesday 05 June 2007 16:30:07 Richard Heck wrote:
  

OK to commit?

Richard



OK.
  

Done


--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: [PATCH] Printing Bug

2007-06-05 Thread José Matos
On Tuesday 05 June 2007 16:30:07 Richard Heck wrote:
> OK to commit?
>
> Richard

OK.

-- 
José Abílio


[PATCH] Printing Bug

2007-06-05 Thread Richard Heck


This patch fixes a bug with non-spooled printing, namely, that the 
printer named in the print dialog was ignored.


OK to commit?

Richard

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto

Index: LyXFunc.cpp
===
--- LyXFunc.cpp	(revision 18677)
+++ LyXFunc.cpp	(working copy)
@@ -1068,6 +1068,8 @@
 			command2);
 } else {
 	// case 2: print directly to a printer
+	if (target_name != "default")
+		command += lyxrc.print_to_printer + target_name + ' ';
 	res = one.startscript(
 		Systemcall::DontWait,
 		command + quoteName(dviname));