My print handler causes a message in the last line which I can’t understand. Does anyone know what it means?
(The app operates without error !)
on doPrint(theView)
set sharedPrintInfo to current application's class "NSPrintInfo"'s sharedPrintInfo()
sharedPrintInfo's setLeftMargin_({20.0})
sharedPrintInfo's setRightMargin_({0.0})
sharedPrintInfo's setTopMargin_({20.0})
sharedPrintInfo's setBottomMargin_({10.0})
sharedPrintInfo's setOrientation_(0)
sharedPrintInfo's setHorizontalPagination_(1)
sharedPrintInfo's setVerticalPagination_(0)
sharedPrintInfo's setVerticallyCentered_(0)
sharedPrintInfo's setHorizontallyCentered_(1)
sharedPrintInfo's setScalingFactor_({0.8})
set thePrintOp to current application's class "NSPrintOperation"'s printOperationWithView_printInfo_(theView, sharedPrintInfo)
set printSuccessful to thePrintOp's runOperation() -- *)
-- *) Incorrect NSStringEncoding value 0x0000 detected. Assuming NSASCIIStringEncoding. Will stop this compatiblity mapping behavior in the near future.
end doPrint
Heiner