Print from TL to BR - doesn't

Terry Judd tsj at unimelb.edu.au
Mon Feb 27 05:27:41 EST 2006


> From: "J. Landman Gay" <jacque at hyperactivesw.com>
> Date: 27 February 2006 3:25:08 PM GMT+11:00
> To: How to use Revolution <use-revolution at lists.runrev.com>
> Subject: Re: Print from TL to BR - doesn't
> Reply-To: jacque at hyperactivesw.com, How to use Revolution 
> <use-revolution at lists.runrev.com>
>
>
> Terry Judd wrote:
>> Has anyone got the print command using the form 'from [topleft] to 
>> [bottomright]' to work properly? I haven't tested this on Windows but 
>> on a Mac (OS 10.3, Rev 2.6 and 2.7) 'offscreen' elements aren't 
>> printed even though (according to the documentation) they should be.
>
> Seems to work here okay. I'm also on OS 10.3.9; tested in Rev 2.7. 
> Here's what I did, just to make sure we are talking about the same 
> thing:
>
> Created a stack 265 wide and 271 high. Put a button at the bottom, an 
> image in the middle, and a field at the top.
>
> Manually resized the stack so that only part of the top field and half 
> the image were visible. The remaining half of the image and the entire 
> bottom button were outside the bounds of the stack window.
>
> Issued these commands:
>
> open printing with dialog
> print this card from 0,0 to 265,271
> close printing
>
> The resulting printout showed the entire originally-sized stack with 
> all the "hidden" objects in place.
>
> Is that what you mean?

Thanks - yep, that's what I mean but not what I get. Usually the 
topLeft coordinate prints correctly but elements to the right and 
bottom get missed (sometimes irrespective of whether they are offscreen 
or not). Calculating the 'relative' screen size and changing the 
printScale property to an appropriate value doesn't seem to help 
either. The best I've been able to manage is to print from 0,0 to the 
bottomRight object and adjust the printScale accordingly - at least all 
the objects are rendered this way. I think I've explored and exhausted 
all options at this end so it'll have to do.

Cheers,

Terry...



More information about the use-livecode mailing list