Calling Print Dialogue

Chipp Walters chipp at chipp.com
Mon Jul 25 22:22:46 EDT 2005


Sure,

(stopping to launch OSX on laptop)
OT speaking of Apple...did everyone see where Yahoo stepped up and 
purchased Konfabulator, then made it free? Something Apple should've 
done a long time ago. Nice to know there are still some good companies 
out there!

So, here's how it goes on the Mac.

Like the PC, I call answer printer first. That gives me the page setup 
dialog and I can get from that the printmargins.

I then do the same as below, allowing the user to preview and select 
pages. Then I call
open printing with dialog which allows me to pick a printer. In this 
case, I have already informed the user to always use the ALL range (as 
they've previously selected print range from my custom preview page). 
Then it goes from there as below.

best,

Chipp


Bill wrote:
> Chip
> 
> Can you show your examples for MAC OS X as well?
> 
> Bill
> 
> 
> On 7/25/05 6:36 PM, "Chipp Walters" <chipp at chipp.com> wrote:
> 
> 
>>Hi Jonathan,
>>
>>I'm copying this to the list as well, as some there may be interested.
>>
>>Are you on Mac or PC? I did this for both Mac and PC, and it's different
>>for each. On the PC, if you put in the msg:
>>
>>answer printer
>>
>>you will see 'page ranges' are not selectable.
>>
>>I then create an offscreen stack, and populate it with a card for each
>>page to print. I then (optionally) capture the image of each card to a
>>temp file, and show them in a print preview. From there it's a simple
>>matter of marking the cards to print, and printing them one at a time.
>>In the print preview window, I can also choose the number of copies, the
>>page range, etc...store them in custom props and then:
>>
>>repeat for each line L in the uPagesToPrint
>>     go cd x
>>     --> tW & tH IS THE WIDTH AND HEIGHT TO PRINT IN PIXELS
>>     --> CHANGES DEPENDING ON PRINT LAYOUT
>>     print card into 0,0,tW,tH
>>     --> THIS PRINTS A BREAK SO THAT THE NEXT PAGE CAN PRINT
>>     print break
>>end repeat
>>
>>hope that helps.
>>
>>Chipp
>>
>>Lynch, Jonathan wrote:
>>
>>>I have been stymied on part of this,
>>>
>>>How do you disable the page ranges? Do you also disable the collate
>>>option?
>>>
>>>If you print multiple copies, does it have to re-send and re-calculate
>>>the print job for every copy?
>>>
>>>I would really like to create a single step print dialog box that works
>>>perfectly, but it looks like that would require an external, or using
>>>cScript - which would be a big pain, and would not work cross-platform.
>>
>>_______________________________________________
>>use-revolution mailing list
>>use-revolution at lists.runrev.com
>>Please visit this url to subscribe, unsubscribe and manage your subscription
>>preferences:
>>http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>
> 
> 
>             |    |    |
>            )_)  )_)  )_)
>           )___))___))___)\
>          )____)____)_____)\\
>        _____|____|____|____\\\__
> -------\                   /--------- http://www.bluewatermaritime.com
>  ^^^^^ ^^^^^^^^^^^^^^^^^^^^^
>   ^^^^      ^^^^     ^^^    ^^
>        ^^^^      ^^^
> 
> 24 hour cell: (787) 378-6190
> fax: (787) 809-8426
> 
> Blue Water Maritime
> P.O. Box 91
> Puerto Real, PR 00740
> 
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> 



More information about the use-livecode mailing list