{"id":131,"date":"2012-03-19T09:34:22","date_gmt":"2012-03-19T08:34:22","guid":{"rendered":"http:\/\/teske.dk\/?p=131"},"modified":"2012-03-19T09:34:51","modified_gmt":"2012-03-19T08:34:51","slug":"print-in-the-background-part-2","status":"publish","type":"post","link":"http:\/\/teske.dk\/?p=131","title":{"rendered":"Print in the background .. Part 2"},"content":{"rendered":"<p>Last week I asked if anyone knew about a trick to print a Notes Document i the background. I got a lot of feedback, and thank you to the community for that.<\/p>\n<p>There was some good proposals, but i couldn&#8217;t use any off them, because i have to use the Notes Form, and print that. But read my old blog entry, if you want some input on how to do it with pdf\/iText.<\/p>\n<p>I found my own solution, and here it is:<\/p>\n<p>I have a java program that has to print a notesdocument via a key.<\/p>\n<p>I have the java program make a small txt\/xml file, and put in in a specified place. Then the java program opens a url, that opens a Notesdatabase. notes:\/\/&#8230;..<\/p>\n<p>Then the notes database opens the txt file, and reads it, opens the document, prints if, and closes both the document, and the database again.<\/p>\n<p>I call the code in database postopen, because the I can print the document just by openning a url.<\/p>\n<p>I know its note a pretty solution, and you have to have a workstation\/server allocated for the print.<\/p>\n<p>But it works.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week I asked if anyone knew about a trick to print a Notes Document i the background. I got a lot of feedback, and thank you to the community for that. There was some good proposals, but i couldn&#8217;t &hellip; <a href=\"http:\/\/teske.dk\/?p=131\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[74,77],"tags":[],"_links":{"self":[{"href":"http:\/\/teske.dk\/index.php?rest_route=\/wp\/v2\/posts\/131"}],"collection":[{"href":"http:\/\/teske.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/teske.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/teske.dk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/teske.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=131"}],"version-history":[{"count":3,"href":"http:\/\/teske.dk\/index.php?rest_route=\/wp\/v2\/posts\/131\/revisions"}],"predecessor-version":[{"id":134,"href":"http:\/\/teske.dk\/index.php?rest_route=\/wp\/v2\/posts\/131\/revisions\/134"}],"wp:attachment":[{"href":"http:\/\/teske.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/teske.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=131"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/teske.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}