open printing with dialog -- Windows equiv?

Frank D. Engel, Jr. fde101 at fjrhome.net
Fri Nov 19 15:57:52 EST 2004


Aha!  That's what I was missing!

Thank you, I'll try this out, prob. tomorrow now...

On Nov 19, 2004, at 3:48 PM, Mark Talluto wrote:

>
> On Nov 19, 2004, at 12:40 PM, Frank D. Engel, Jr. wrote:
>
>> The "open printing with dialog" command does not display a print 
>> dialog under Windows (as per the docs, as well as it simply not 
>> working, which is why I read this in the docs); is there any way to 
>> display the print dialog under Windows when doing this type of 
>> printing?
>>
>> Thank you!
>
>
> Hi Frank,
>
> Here is a little snippet from one of my projects that manages printing 
> on both platforms:
>
> if the platform is "MacOs" then
>     set the printmargins to 36,36,36,36
>     open printing with dialogs
>     if the result is empty then
>       put the num of cards into nCards
>       repeat with y = 1 to nCards
>         print card y
>       end repeat
>       close printing
>     end if
>   end if
>
>   if the platform is "win32" then
>     set the printmargins to 36,36,36,36
>     answer printer
>     if the result is empty then
>       put the num of cards into nCards
>       repeat with y = 1 to nCards
>         print card y
>       end repeat
>       close printing
>     end if
>   end if
>
> _______________________________________________
> 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