EditorGadget printing

Mac OSX specific forum
spacebuddy
Enthusiast
Enthusiast
Posts: 364
Joined: Thu Jul 02, 2009 5:42 am

EditorGadget printing

Post by spacebuddy »

I use this to print the contents of the EditorGadget

PrintInfo = CocoaMessage(0, 0, "NSPrintInfo sharedPrintInfo")
CocoaMessage(0,GadgetID(0),"print:",#nil)

If I have a small document with a few character the print dialog shows 2 pages and sometimes the
text is cut off in the printed document. It should only show 1 page.

Anyone know why this would happen?

thanks :D