Printing specific area of card

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
nextyoyoma
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 37
Joined: Sat Oct 06, 2012 6:29 am

Printing specific area of card

Post by nextyoyoma » Wed Aug 05, 2015 9:07 pm

I'm trying to print just a specific area of a card like this:

Code: Select all

on mouseUp
print this card from 0,0 to 900,700
end mouseUp
But I just get blank output. If I just do:

Code: Select all

print this card
...I get the whole card printed, as expected.

There is a thread on this from a while back but it was never resolved.(http://forums.livecode.com/viewtopic.php?f=7&t=22681) Anybody have any thoughts?

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9837
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Printing specific area of card

Post by FourthWorld » Wed Aug 05, 2015 9:25 pm

No bug report number was cited in that thread, so it's not possible to check current status of this issue, or determine if it was ever even submitted. It may be that a workaround was found, or some other issue was corrected.

What version are you using, on what platform?

This seem to work for me in LC 7.1dp1 on Ubuntu 14.04.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9663
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Printing specific area of card

Post by dunbarx » Wed Aug 05, 2015 9:53 pm

Hi.

Such things work for me in v6.7. Mac 10.9

Craig Newman

nextyoyoma
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 37
Joined: Sat Oct 06, 2012 6:29 am

Re: Printing specific area of card

Post by nextyoyoma » Thu Aug 06, 2015 3:54 am

I'm on 7.1 I think, I'm not near the computer at the moment.

I don't think my stack uses any features new to v7. Can I just open my stack in livecode 6.x?

EDIT: I'm on Mac OS 10.10

EDIT 2: Problem solved! I was on 7.0, Build 10018. Upgraded to 7.1.0-DP and it works now.

Post Reply

Return to “Talking LiveCode”