Calling Print Dialogue

Bill bill at bluewatermaritime.com
Mon Jul 25 21:36:20 EDT 2005


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






More information about the use-livecode mailing list