The following commands are odds and ends that didn't fit any other category:
hideMessages hides the PrintOMatic Xtra's error alerts
setPageNumSymbol sets the page numbering substitution symbol
register registers your copy of the PrintOMatic Xtra
setLowMemLimits sets the Xtra's low-memory limits
hideMessages
Syntax: hideMessages document, trueOrFalse
The hideMessages command will prevent PrintOMatic from displaying alert dialogs when something goes wrong. You should strive to make your code solid enough so PrintOMatic will never have to display an error alert (without invoking this command). But if you need to suppress the messages, you can do it here.
setPageNumSymbol
Syntax: setPageNumSymbol document, symbol
The setPageNumSymbol command selects a text symbol whose every occurrence in the document will be replaced with the current page number at printing time. This lets you number your pages by including a text element on the master page containing the symbol you define for page numbering. Call setPageNumSymbol with a value of "" (an empty string) to turn off this feature.
getVersion
Syntax: getVersion(xtra "PrintOMatic ")
Returns: the version number of the Xtra, in string form
This function returns the version number of the xtra.
Example:
set version = getVersion(xtra "PrintOMatic")
if version <> "1.5.8" then alert "Incompatible Xtra version."
The register command will register the PrintOMatic Xtra, once you license PrintOMatic and obtain a valid serial number. This will enable the methods for fully customizing your print job, such as setProgressMsg and setProgressPict. It will also remove those annoying "unregistered copy" messages from your print progress dialog and printed output.
The registration process only registers your copy of PrintOMatic temporarily. Your serial number is stored in Director's registry and might not be stored for any longer than the current Director session. If you re-install Director, move your movie to another computer, or use PrintOMatic from a Projector, the serial number will likely be unavailable the next time you use PrintOMatic.
Therefore, you should add the registration code below to the startMovie handler of every movie that uses the PrintOMatic Xtra. This will ensure that PrintOMatic can always find its serial number when it needs to.
Example:
The following code registers your copy of the PrintOMatic Xtra for the duration of the current Director session:
register(xtra "PrintOMatic", "<your serial number>")