From 590e76e59115d58be3119fb99c9003a34e51f5d6 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Tue, 5 Jun 2007 17:42:01 +0000 Subject: [PATCH] Make non-spooled printing recognize printer given in print dialog. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18682 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXFunc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/LyXFunc.cpp b/src/LyXFunc.cpp index 0cb14f577a..46dfb5e86e 100644 --- a/src/LyXFunc.cpp +++ b/src/LyXFunc.cpp @@ -1068,6 +1068,8 @@ void LyXFunc::dispatch(FuncRequest const & cmd) 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)); -- 2.39.2