home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- set pg to string(the frame - marker(0) + 1)
- if the frame >= label("Big") then
- set the text of field ("Pag" & pg) to the text of field ("Pag" & pg & "Big")
- end if
- set doc to new(xtra("PrintOMatic"))
- if objectp(doc) then
- setLandscapeMode(doc, 0)
- setProgressMsg(doc, "Stampa in corso...")
- setDocumentName(doc, "Passport - Bloc Notes")
- append(doc, "BLOC NOTES: " & the text of field "NomeFile" && "- pagina " & the text of field "pag" & RETURN & RETURN)
- append(doc, field ("Pag" & pg))
- print(doc)
- end if
- set doc to 0
- end
-