Created
June 19, 2020 17:24
-
-
Save wwitzel3/7f91f4362b8d7a848651c37502d2ab87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function create(registrationSvc: PluginRegistrationService) { | |
//registrationSvc.SetCapabilities(myCapabilities); | |
registrationSvc.SetPrintHandler(myPrinter) | |
} | |
function myPrinter(printRequest: PrintRequest) :string { | |
let key = printRequest.KeyFromObject() | |
let clientResp = printRequest.Client.Get(key) | |
return "Object: " + printRequest.Object() + ", Key: " + key + ", Client.Get: " + clientResp; | |
} | |
// --- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment