Printing in Linux
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Printing in 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
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
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Printing in Linux
Glad to see I'm not the only one. I haven't yet reported this - have you?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Printing in 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

Dr. L
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Printing in Linux
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!
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!
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Printing in Linux
I filed an official bug report the number is: Bug 11197. Thank you for the link.
Dr. L
Dr. L
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Printing in Linux
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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Printing in Linux
I print on PDF on Linux without problem, I follow this steps: http://livecode.wikia.com/wiki/Printing
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Printing in Linux
@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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Printing in Linux
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.
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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Printing in Linux
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.
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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Printing in Linux
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
http://quality.runrev.com/show_bug.cgi?id=11197
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn