How can I print all parts of oversize cards!....desperately

J. Landman Gay jacque at hyperactivesw.com
Tue Nov 15 01:31:28 EST 2005


Kresten Bjerg wrote:

> But those problems are of another kind. They are concerned with very large images,
> surpassing 4096 x 4096.  The total card area in our case is well within these limits,
> the problem comes from the fact that 6 screensize windows with horizontal hrect  < 2000 can print,
> while 3 where horizontal rect lies from app 2000 to 3072 cannot !

Sorry, I'm still confused about your stack setup. I went back and 
re-read your posts but it still isn't clear to me. You say you have a 
card that is "three screens wide" -- by that I thought you meant 
multiples of 1024 pixels or more -- and yet you say it all fits on your 
monitor and is all visible at the same time. I don't see how that is 
possible, so I think we have a translation problem. You can apparently 
take a snapshot of the entire screen and see all the windows in it, so 
your card can't really be "three screens wide". But I'm confused.

I'll snip the stuff I wrote up that assumed you would export snapshots 
to a file. You want to use a variable.

> Well, this is where we fail:
> "If phenowindow is gardenwindow then
> export snapshot from rect 10,30,900,704 to screenbuff 
> - - (in this case we have to use relative rects, 
> contrary to when we use the print this card formula for the other 6 windows)
>  
> go stack printbuffer
> set the imagedata of image "Bufferimage" to screenbuff
> end if"
> ALAS, this does produce a change of the before empty image "Bufferimage", 
> but a totally messed up one, where you cannot recognize the structures of the window being snapshotted.

Try specifying an image format in your export command:

   export snapshot from rect 10,30,900,704 to screenbuff as GIF

See if that helps. Try JPEG as an alternative.


>  
> the images are no more than screen size-

So, you have three windows that all fit on the screen, and are not 
"screen sized" each?

Can anyone else jump in here? I've only got time to provide cursory 
help, and I'm apparently misunderstanding something.


> P.S.  In order to have postings to this site posted "into the thread" does one have to 
> subscribe to the list?

Generally only subscribed members can post, so I would think you are 
already subscribed. Usually to reply to a thread, you just hit the 
"reply" button in your email program and it assigns the correct threading.

Or are you reading the list from one of the archives? (Do any of those 
allow one to post?) If so, then yes, you'd have to subscribe.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list