open printing with dialog -- Windows equiv?

Frank D. Engel, Jr. fde101 at fjrhome.net
Wed Nov 24 09:27:59 EST 2004


I was able to fix the image size problem by setting the lockLoc of the 
image objects to true.  Still can't get the formatForPrinting, though.

My code currently does something like this:

close stack
set formatForPrinting to false
open stack
make changes
close stack
set formatForPrinting to true
open stack
print card


Does this seem reasonable?  Is it really necessary to save, close, and 
reopen the stack to get this working?

On Nov 23, 2004, at 12:59 PM, Frank D. Engel, Jr. wrote:

>
> On Nov 23, 2004, at 12:43 PM, Jan Schenkel wrote:
>
>> Hi Frank,
>>
>> The thing with formatForPrinting is that you shouldn't
>> change the content of the stack after setting this
>> property to true, or the formatting will be off.
>> So the best option is to set the data,; next you set
>> formatForPrinting false and then back to true ; next
>> you save the stack, close and reopen it ; and then
>> print it.
>
> Except that I'm doing this with a stack which will need to run as a 
> standalone and don't want to save the stack out to a separate file 
> when printing (and parts of the layout may change rather significantly 
> between printouts).  I see this as quite a limitation.  Any way for 
> the formatting to be adjusted w/o saving and reloading the stack?
>
> I do something similar to what I'm attempting with other types of 
> printouts and don't seem to have a problem.  Of course, most of those 
> are not paragraph-level formatted...
>
>> As for your 'preparing' stack not showing up : is it
>> possible you're running that part of the script inside
>> a lock/unlock screen pair ?
>
> No, and in fact, I even stuck a stray "unlock screen" between the two 
> "open stack" commands to check for exactly that.  No effect.
>
>>
>> Jan Schenkel.
> -----------------------------------------------------------
> Frank D. Engel, Jr.  <fde101 at fjrhome.net>
>
> $ ln -s /usr/share/kjvbible /usr/manual
> $ true | cat /usr/manual | grep "John 3:16"
> John 3:16 For God so loved the world, that he gave his only begotten 
> Son, that whosoever believeth in him should not perish, but have 
> everlasting life.
> $
>
>
>
> ___________________________________________________________
> $0 Web Hosting with up to 120MB web space, 1000 MB Transfer
> 10 Personalized POP and Web E-mail Accounts, and much more.
> Signup at www.doteasy.com
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
-----------------------------------------------------------
Frank D. Engel, Jr.  <fde101 at fjrhome.net>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$



___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com



More information about the use-livecode mailing list