Hi James,

open printing -- with dialog
if the result is not "cancel" then
  repeat for each line tLabel in tList
    replace tab with cr in tLabel
    put tLabel into field 1 of this card
    print this card from 0,0 to 608,792
  end repeat
end if
close printing

With dialog is optional.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce

On 9 jun 2011, at 01:11, James Hurley wrote:

> I have 350 pre-printed newsletters to be mailed to 350 different addresses.
> 
> If I use the following in a script:  
> 
> repeat for each line tLabel in tList
>      replace tab with cr in tLabel
>      put tLabel into field 1 of this card
>      print this card from 0,0 to 608,792
> end repeat
> 
> Where tList is a cr separated list of addresses: Name, tab, Street, tab, 
> CityStateZip 
> 
> It works, but it creates 350 separate print jobs. 
> 
> How would I create a single document of 350 pages, each page consisting of 
> just the address? 


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to