A problem with

charles61 cszasz at mac.com
Mon Nov 30 13:51:19 EST 2009


I created my own stack to do an example of printing based on
evShowPrintDialog.

I created a simple stack with a text field and a button. Here is my print
script in a button:

on mouseUp
  revShowPrintDialog false,true -- shows only the Print dialog
  put the htmlText of field "Text" into tText
  put tab & "Page " & "<%pageNumber%>" & " of " & "<%numPages%>" into footer
  revPrintText tText,footer
end mouseUp

When I click on the Print button, I get a print dialog box on my Mac. When I
click on Preview to view the output, I get a blank page! Any suggestions?

-- 
View this message in context: http://n4.nabble.com/A-problem-with-tp931520p931520.html
Sent from the Revolution - User mailing list archive at Nabble.com.



More information about the use-livecode mailing list