Page 1 of 1
Printing in Linux
Posted: Tue Sep 17, 2013 10:50 pm
by Dr. Linux
Hello guys,
I have been trying (with no luck) to print. I am using Ubuntu 12.04 Linux but anytime I put "print card" in a handler the IDE crashes. I've tried pdfs, various settings but everytime it crashes my IDE. It does the same thing in my standalone app also. I am using the most current version of LiveCode and before in previous versions, I thought It might be a bug that would be fixed. No such luck. I have all the required libs and apps that are listed in the installation guide for Linux. Does anyone have a work around for this or a suggestion as to how I might fix the problem?
Your help is greatly appreciated,
Dr.L
Re: Printing in Linux
Posted: Tue Sep 17, 2013 10:58 pm
by FourthWorld
Glad to see I'm not the only one. I haven't yet reported this - have you?
Re: Printing in Linux
Posted: Wed Sep 18, 2013 1:37 am
by Dr. Linux
No, I was hoping someone else had the same issue and came up with a solution. What is the process for reporting something like this to LC? Should I lay on the ground and kick and scream while making circles, then send the video to LC?
Dr. L
Re: Printing in Linux
Posted: Wed Sep 18, 2013 1:48 am
by FourthWorld
To file a report you can create a free account here:
http://quality.runrev.com/
If you do, please post the report number here so I can add my comments to the report after I've done some more testing.
Thanks!
Re: Printing in Linux
Posted: Wed Sep 18, 2013 2:26 am
by Dr. Linux
I filed an official bug report the number is: Bug 11197. Thank you for the link.
Dr. L
Re: Printing in Linux
Posted: Wed Sep 18, 2013 5:44 am
by FourthWorld
Thanks for creating the report. While testing I found the issue isn't limited to RunRev's PDF output, but also crashes when using the OS PDF option as well, now added to your report. Fingers crossed this gets handled for v6.5.
Re: Printing in Linux
Posted: Wed Sep 18, 2013 10:43 am
by MaxV
I print on PDF on Linux without problem, I follow this steps:
http://livecode.wikia.com/wiki/Printing
Re: Printing in Linux
Posted: Wed Sep 18, 2013 5:37 pm
by FourthWorld
@MaxV: Thanks for the tip with formatForPrinting. The docs say it's for Windows only, so once I can confirm it helps on Linux I'll file a bug report to fix the docs. Thanks.
Re: Printing in Linux
Posted: Thu Sep 19, 2013 3:37 am
by FourthWorld
I finally got a moment to check whether the formatforPrinting property improves printing on Linux - sadly, it does not.
I also tried setting the other two properties in the code examples on that page, the printMargins and printPaperSize. Since both relate only the internal rendering metric before handing off the image to the print driver I wouldn't have expected them to affect things, but I'm desperate so it seemed worth a try. Sadly, neither prevented the crash.
When I get some time later I'll repeat the test with strace so we can at least see which system call is causing the crash. Once I get that I'll file the bug report and post the # here.
Re: Printing in Linux
Posted: Thu Sep 19, 2013 4:14 am
by FourthWorld
It only took a minute to run the strace test, so I filed the report:
http://quality.runrev.com/show_bug.cgi?id=11201
Nothing looks at all obvious to me there, but hopefully the team will be able to track this down before the next release.
If you have any additional info to provide for that report, please do so. Thanks.
Re: Printing in Linux
Posted: Fri Sep 20, 2013 2:46 pm
by FourthWorld
Hanson at RunRev has begun investigating the crash when printing, but thus far has been unable to reproduce the issue. If any of you who've seen this have additional info which may help them find a recipe for reproducing it, please add it to the report:
http://quality.runrev.com/show_bug.cgi?id=11197