Bug 380702

Summary: FIXED IN SVN: No printing dialog with KDE4
Product: [Applications] rkward Reporter: RKWard Team <rkward-devel>
Component: generalAssignee: RKWard Team <rkward-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description RKWard Team 2010-09-15 23:57:44 UTC
-- Originally posted by (AT sourceforge.net): rtautenh --

-- This ticket was imported from http://sourceforge.net/p/rkward/bugs/74 on 2017-05-30 15:26:40 +0100 --
Since there is no kprinter in KDE4,  rkward  with default options will not show a printing dialog.
Workaround is to install and use xpp. -- Labels: user interface --
Comment 1 Thomas Friedrichsmeier 2011-08-01 10:51:21 UTC
Ok, this should finally be fixed in the development version, now. Please test.

Note: To see the printing dialog with dev.print\(\), use "dev.print\(rk.printer.device\)". Using Device-&gt;Print from the menu / Ctrl+P should work out of the box.

Note2: RKWard no longer set options\("printcmd"\). However, there's a new free text input field in Settings-&gt;Configure RKWard-&gt;R backend, in case you have use for that.
Comment 2 Thomas Friedrichsmeier 2011-08-01 10:51:21 UTC
- **summary**: No printing dialog with KDE4 --> FIXED IN SVN: No printing dialog with KDE4
Comment 3 RKWard Team 2011-08-08 16:55:29 UTC
-- Originally posted by (AT sourceforge.net): rtautenh --
Ctrl+P works now within in the editor and brings up the KDE printing dialog.

However, nothing happens if Ctrl+P is pressed \(or Device-&gt;Print is selected\)
in a graphic window. No error message is displayed in the shell.

Version 0.5.6z+0.5.7+devel1
Using KDE Development Platform 4.4.92 \(KDE 4.4.92 \(KDE 4.5 RC2\)\)
Comment 4 Thomas Friedrichsmeier 2011-08-08 17:11:54 UTC
Thanks for testing. Is that with the development version of R, by any chance? If so, I think the problem should be fixed after an SVN up. Otherwise, could you please check the "Command Log" window? Any error messages, there?

Regards
Thomas
Comment 5 RKWard Team 2011-08-08 17:47:11 UTC
-- Originally posted by (AT sourceforge.net): rtautenh --
I'm using R version 2.12.1, which doesn't know the fileext argument for tempfile\(\).

dev.set \(2\)
dev.print \(rk.printer.device\)
Error in tempfile\(fileext = ".ps"\) : unused argument\(s\) \(fileext = ".ps"\)
Calls: dev.print ... eval.parent -&gt; eval -&gt; eval -&gt; dev.copy -&gt; device -&gt; tempfile

Comment 6 Thomas Friedrichsmeier 2011-08-09 06:57:18 UTC
I see, thanks. So does it work, now, after another svn up?
Comment 7 RKWard Team 2011-08-09 16:13:05 UTC
-- Originally posted by (AT sourceforge.net): rtautenh --
Device -&gt; Print works now \!

However, keys like Ctrl+P or Ctrl+W do not work in the graphics window,
but that is probably a separate issue.
Comment 8 Thomas Friedrichsmeier 2011-08-10 07:23:41 UTC
Yes, that's a separate issue. I have opened a new ticket for that.
Comment 9 Thomas Friedrichsmeier 2011-08-10 07:23:41 UTC
- **status**: open --> open-fixed
Comment 10 Thomas Friedrichsmeier 2011-10-24 07:13:26 UTC
- **status**: open-fixed --> closed-fixed