{"id":1651,"date":"2022-03-07T09:43:50","date_gmt":"2022-03-07T09:43:50","guid":{"rendered":"https:\/\/www.tokntechnology.com\/global?p=1651"},"modified":"2023-06-01T08:24:23","modified_gmt":"2023-06-01T08:24:23","slug":"on-demand-pdf-generation","status":"publish","type":"post","link":"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/","title":{"rendered":"On demand PDF generation"},"content":{"rendered":"<div class=\"article-content\">\n<div id=\"block_5e4a3c4af962f\" class=\"text-content mb-12 full\">\n<p>To users, a PDF is often an expected part of the business process. To the user\u2019s mind it \u201csolidifies\u201d a transaction, encapsulating it in some secure document that later serves as a record of \u201ctruth\u201d about what happened. Usually the output of documents are generated by the tonne, so that in a short space of time an organisation can be swimming in them. This makes keeping track of specific PDFs and analysing them near impossible. Yet it\u2019s what we do and what we expect, and not anything to write home about. But what if we wanted to improve this situation? In this world of burgeoning data what if we somehow elected to restrict this tide of PDF\u2019s to \u201cas and when\u201d we need one?<\/p>\n<p>It\u2019s a PDF, you\u2019d think that would be simple \u2013 Or is it?<\/p>\n<p>In the programming world, creating a PDF from data can be achieved in a number of different ways. Some apps use JsPDF whose premise is to use the HTML and the HTML canvas to generate the PDF. This means the app creates a HTML page with the content and data required in the PDF and then passes this into the library to then generate the PDF. This works most of the time if you don\u2019t run into issues with complex documents or quirky HTML behaviours which can be difficult to track down.<\/p>\n<p>Every method has its advantages and pitfalls. Given a set of 5 different apps all needing to use JsPDF, all of them would need to include the JsPDF library and then manually write the code to structure and layout the PDF and then convert it to PDF. Although this is do-able, the amount of effort needed and required for this would far outweigh the benefits of PDF creation. Additionally, this couples the app changes to the changes in the PDF; to change the structure of the PDF requires a change in the app and a full test cycle (Dev, Qual, Prod) just to see a minor change in a PDF output.<\/p>\n<p><a href=\"https:\/\/www.tokntechnology.com\/global\">TOKN<\/a>, as part of its Connect Services has introduced a PDF Generation service which solves some of these common issues. The main feature of this service is removing the task of PDF generation from the app to an <strong>\u201con demand\u201d<\/strong> service which is <b>\u201calways available\u201d<\/b>.<\/p>\n<p>Instead of having thousands of lines of code, in your app to generate a PDF, the TOKN Connect Service generates a PDF as and when required. It even has an option to email the PDF to a predefined destination where required. What this means is that PDF generation is done outside the app. <strong>PDF templates can be designed within a powerful drag and drop environment that simplifies document pay outs.<\/strong><\/p>\n<p>By automating PDF generation, the TOKN Connect service makes life easier for the developers on the platform. To find out more, <a href=\"https:\/\/www.tokntechnology.com\/globalmobile-app-development-company\/contact\/\">get in contact!<\/a><\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-3215 size-full\" src=\"https:\/\/s3-ap-southeast-2.amazonaws.com\/web-assets.tokntechnology.com\/app\/uploads\/2020\/02\/17160058\/Automatice-PDF-Generation.png\" alt=\"PDF Generation\" width=\"602\" height=\"338\" data-pagespeed-url-hash=\"1427995767\" \/><\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>To users, a PDF is often an expected part of the business process. To the user\u2019s mind it \u201csolidifies\u201d a transaction, encapsulating it in some secure document that later serves as a record of \u201ctruth\u201d about what happened. Usually the &hellip; <a href=\"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":1652,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"cybocfi_hide_featured_image":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-1651","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-articles"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>On-Demand PDF Generation | TOKN Technology<\/title>\n<meta name=\"description\" content=\"Simplify PDF generation with TOKN Technology&#039;s on-demand solutions. Generate professional documents quickly and efficiently.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"On-Demand PDF Generation | TOKN Technology\" \/>\n<meta property=\"og:description\" content=\"Simplify PDF generation with TOKN Technology&#039;s on-demand solutions. Generate professional documents quickly and efficiently.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/\" \/>\n<meta property=\"og:site_name\" content=\"TOKN Technology\" \/>\n<meta property=\"article:published_time\" content=\"2022-03-07T09:43:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-01T08:24:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.tokntechnology.com\/global\/wp-content\/uploads\/2022\/03\/ondemand.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1464\" \/>\n\t<meta property=\"og:image:height\" content=\"676\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"TOKN\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TOKN\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/\"},\"author\":{\"name\":\"TOKN\",\"@id\":\"https:\/\/www.tokntechnology.com\/global\/#\/schema\/person\/9021954be94f8fa1d6a9c7be5d39e8bd\"},\"headline\":\"On demand PDF generation\",\"datePublished\":\"2022-03-07T09:43:50+00:00\",\"dateModified\":\"2023-06-01T08:24:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/\"},\"wordCount\":487,\"image\":{\"@id\":\"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.tokntechnology.com\/global\/wp-content\/uploads\/2022\/03\/ondemand.png\",\"articleSection\":[\"Articles\"],\"inLanguage\":\"en-AU\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/\",\"url\":\"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/\",\"name\":\"On-Demand PDF Generation | TOKN Technology\",\"isPartOf\":{\"@id\":\"https:\/\/www.tokntechnology.com\/global\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.tokntechnology.com\/global\/wp-content\/uploads\/2022\/03\/ondemand.png\",\"datePublished\":\"2022-03-07T09:43:50+00:00\",\"dateModified\":\"2023-06-01T08:24:23+00:00\",\"author\":{\"@id\":\"https:\/\/www.tokntechnology.com\/global\/#\/schema\/person\/9021954be94f8fa1d6a9c7be5d39e8bd\"},\"description\":\"Simplify PDF generation with TOKN Technology's on-demand solutions. Generate professional documents quickly and efficiently.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/#breadcrumb\"},\"inLanguage\":\"en-AU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-AU\",\"@id\":\"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/#primaryimage\",\"url\":\"https:\/\/www.tokntechnology.com\/global\/wp-content\/uploads\/2022\/03\/ondemand.png\",\"contentUrl\":\"https:\/\/www.tokntechnology.com\/global\/wp-content\/uploads\/2022\/03\/ondemand.png\",\"width\":1464,\"height\":676},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.tokntechnology.com\/global\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"On demand PDF generation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.tokntechnology.com\/global\/#website\",\"url\":\"https:\/\/www.tokntechnology.com\/global\/\",\"name\":\"TOKN Technology\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.tokntechnology.com\/global\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-AU\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.tokntechnology.com\/global\/#\/schema\/person\/9021954be94f8fa1d6a9c7be5d39e8bd\",\"name\":\"TOKN\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-AU\",\"@id\":\"https:\/\/www.tokntechnology.com\/global\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f1f003cc25acb89f18e3a86519feac17e4249250252b76bf40123572798c2843?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f1f003cc25acb89f18e3a86519feac17e4249250252b76bf40123572798c2843?s=96&d=mm&r=g\",\"caption\":\"TOKN\"},\"sameAs\":[\"https:\/\/www.tokntechnology.com\/global\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"On-Demand PDF Generation | TOKN Technology","description":"Simplify PDF generation with TOKN Technology's on-demand solutions. Generate professional documents quickly and efficiently.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/","og_locale":"en_US","og_type":"article","og_title":"On-Demand PDF Generation | TOKN Technology","og_description":"Simplify PDF generation with TOKN Technology's on-demand solutions. Generate professional documents quickly and efficiently.","og_url":"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/","og_site_name":"TOKN Technology","article_published_time":"2022-03-07T09:43:50+00:00","article_modified_time":"2023-06-01T08:24:23+00:00","og_image":[{"width":1464,"height":676,"url":"https:\/\/www.tokntechnology.com\/global\/wp-content\/uploads\/2022\/03\/ondemand.png","type":"image\/png"}],"author":"TOKN","twitter_card":"summary_large_image","twitter_misc":{"Written by":"TOKN","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/#article","isPartOf":{"@id":"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/"},"author":{"name":"TOKN","@id":"https:\/\/www.tokntechnology.com\/global\/#\/schema\/person\/9021954be94f8fa1d6a9c7be5d39e8bd"},"headline":"On demand PDF generation","datePublished":"2022-03-07T09:43:50+00:00","dateModified":"2023-06-01T08:24:23+00:00","mainEntityOfPage":{"@id":"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/"},"wordCount":487,"image":{"@id":"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/#primaryimage"},"thumbnailUrl":"https:\/\/www.tokntechnology.com\/global\/wp-content\/uploads\/2022\/03\/ondemand.png","articleSection":["Articles"],"inLanguage":"en-AU"},{"@type":"WebPage","@id":"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/","url":"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/","name":"On-Demand PDF Generation | TOKN Technology","isPartOf":{"@id":"https:\/\/www.tokntechnology.com\/global\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/#primaryimage"},"image":{"@id":"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/#primaryimage"},"thumbnailUrl":"https:\/\/www.tokntechnology.com\/global\/wp-content\/uploads\/2022\/03\/ondemand.png","datePublished":"2022-03-07T09:43:50+00:00","dateModified":"2023-06-01T08:24:23+00:00","author":{"@id":"https:\/\/www.tokntechnology.com\/global\/#\/schema\/person\/9021954be94f8fa1d6a9c7be5d39e8bd"},"description":"Simplify PDF generation with TOKN Technology's on-demand solutions. Generate professional documents quickly and efficiently.","breadcrumb":{"@id":"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/#breadcrumb"},"inLanguage":"en-AU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/"]}]},{"@type":"ImageObject","inLanguage":"en-AU","@id":"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/#primaryimage","url":"https:\/\/www.tokntechnology.com\/global\/wp-content\/uploads\/2022\/03\/ondemand.png","contentUrl":"https:\/\/www.tokntechnology.com\/global\/wp-content\/uploads\/2022\/03\/ondemand.png","width":1464,"height":676},{"@type":"BreadcrumbList","@id":"https:\/\/www.tokntechnology.com\/global\/on-demand-pdf-generation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.tokntechnology.com\/global\/"},{"@type":"ListItem","position":2,"name":"On demand PDF generation"}]},{"@type":"WebSite","@id":"https:\/\/www.tokntechnology.com\/global\/#website","url":"https:\/\/www.tokntechnology.com\/global\/","name":"TOKN Technology","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.tokntechnology.com\/global\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-AU"},{"@type":"Person","@id":"https:\/\/www.tokntechnology.com\/global\/#\/schema\/person\/9021954be94f8fa1d6a9c7be5d39e8bd","name":"TOKN","image":{"@type":"ImageObject","inLanguage":"en-AU","@id":"https:\/\/www.tokntechnology.com\/global\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f1f003cc25acb89f18e3a86519feac17e4249250252b76bf40123572798c2843?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f1f003cc25acb89f18e3a86519feac17e4249250252b76bf40123572798c2843?s=96&d=mm&r=g","caption":"TOKN"},"sameAs":["https:\/\/www.tokntechnology.com\/global"]}]}},"_links":{"self":[{"href":"https:\/\/www.tokntechnology.com\/global\/wp-json\/wp\/v2\/posts\/1651","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tokntechnology.com\/global\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tokntechnology.com\/global\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tokntechnology.com\/global\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tokntechnology.com\/global\/wp-json\/wp\/v2\/comments?post=1651"}],"version-history":[{"count":0,"href":"https:\/\/www.tokntechnology.com\/global\/wp-json\/wp\/v2\/posts\/1651\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tokntechnology.com\/global\/wp-json\/wp\/v2\/media\/1652"}],"wp:attachment":[{"href":"https:\/\/www.tokntechnology.com\/global\/wp-json\/wp\/v2\/media?parent=1651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tokntechnology.com\/global\/wp-json\/wp\/v2\/categories?post=1651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tokntechnology.com\/global\/wp-json\/wp\/v2\/tags?post=1651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}