open Printing to PDF works just fine -- Ignore last query

Sivakatirswami katir at
Wed Apr 6 20:36:18 CDT 2011


it works just fine.

I had an "ask file" command in there I should have commented out.

This works perfectly:

on mouseup
   put "/Users/sivakatirswami/Desktop/test4.pdf" into tOutPutFile
    set the printMargins to 0,0,0,0
    open printing to pdf tOutPutFile
    if it is "cancel" then exit to top
    print card 1
    close printing
    answer "done"
end mouseup

More information about the use-livecode mailing list