From: Richard Heck Date: Tue, 5 Jun 2007 17:42:01 +0000 (+0000) Subject: Make non-spooled printing recognize printer given in print dialog. X-Git-Tag: 1.6.10~9473 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=590e76e59115d58be3119fb99c9003a34e51f5d6;p=features.git 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 --- 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));