49
edits
(Remove ctx.isFilePrint + ctx.DPI -> ctx.dpi) |
(Add onBeforePrint and onAfterPrint) |
||
Line 81: | Line 81: | ||
} | } | ||
} | } | ||
// --- | |||
// Following functions MUST be defined by the developer. | |||
// --- | |||
pDoc.onBeforePrint = function() { /* DoSomething */ } | |||
pDoc.onAfterPrint = function() { /* DoSomething */ } | |||
// --- | // --- | ||
// Provided API functions | // Provided API functions |
edits