SlideShare a Scribd company logo
Don’t Just PDF, “Smart” PDF!
Who am I
• Shirak Avakian
• Enterprise Solution
Architect
• QBI LLC
• I code too
• shirakavakian@gmail.com
• @shirakavakian
Definitions & Facts
What is a PDF?
Portable Document Format (PDF) is a file format used
to present and exchange documents reliably,
independent of software, hardware, or operating
system.
• Invented by Adobe.
• Open standard maintained by ISO ( International Standards
Organization).
• Can contain links and buttons, form fields,
audio, video, and business logic.
• Can also be signed electronically
Some Facts About a PDF
History
• In 1991, Adobe cofounder Dr. John Warnock launched
the paper-to-digital revolution with an idea he called
The Camelot Project.
• By 1992, Camelot had developed into PDF. Today, it is
the format trusted by businesses around the world.
• Today, Warnock's vision is alive, well, and evolving.
Adobe PDFs preserve all the data in the original file -
even when text, graphics, spreadsheets, and more.
Security
• Password
• Redacting sensitive information
• Sanitization—Remove hidden data from a PDF
• Digital signature using a private/public key pair
Secure a PDF by
Conclusion
• If you can share & reduce physical occupation of
1000 books to 1000 digital files resting in your lap.
• If you can search for files, pages within seconds.
• If you can sign, edit, comment, stamp a PDF.
• If you can secure a PDF.
• If all above can be done by a PDF, shouldn’t we call
it SMART?
Not yet, until we make it smarter by
predefining the workflow
• Custom Properties.
• Exporting and importing metadata.
• Sanitization.
• Barcode.
• All together to create a PDF workflow.
PDF Custom Properties
• Ability to add custom properties to store
specific data.
• ColdFusion can only read custom properties as
of 2016 release.
• To create custom properties we will use JAVA.
• No need to load extra library, ColdFusion
already has iText java library pre-loaded.
DEMO 1
Demo-CustomProperty
Exporting & Importing Metadata
Metadata
Includes information about the document and its contents, such
as the author’s name, keywords, and copyright information, that
can be used by search utilities.
XMP
The Extensible Metadata Platform (XMP) provides Adobe
applications with a common XML framework that standardizes
the creation, processing, and interchange of document
metadata across publishing workflows.
Exporting & Importing Metadata
Export
Specify the source of the PDF and destination of the XMP file.
<cfpdf action=“export” type=“metadata” source = “file.pdf” exportTo =“file.xmp”/>
Import
Specify the source of the PDF, the source of XMP file and the destination for the file to be
placed.
<cfpdf action=“import” type=“metadata” source=“file.pdf” importFrom=“file.xmp”
destination=“PDF output file pathname” /or name=“PDF document variable name”/>
DEMO 2
Demo-Export-Import
Sanitization
Sanitize
Removes metadata from your PDF document so that sensitive
information is not passed along when you publish your PDF.
• Metadata
• Attached files
• Scripts
• Search indexes
• Form data
• Review and comment data
• Obscured text and images
• Unreferenced data
• Links
• Actions and javascripts
• Overlapping objects
Sanitize removes the following:
DEMO 3
Demo-Sanitize
Barcode
A barcode is an optical, machine-readable, representation of data; the data usually describes
something about the object that carries the barcode. (Wikipedia)
One-Dimensional (1D) Barcode
Systematically represent data by varying the widths and spacings of
parallel lines, and may be referred to as linear or one-dimensional.
Two-Dimensional (2D) Barcode
Systematically represent data using two-dimensional symbols and
shapes. They are similar to a linear 1D barcode, but can represent
more data per unit area.
Barcode-1D Types
One-Dimensional (1D) Barcode Types
• UPC CODE
• EAN CODE
• CODE 39
• CODE 128
• ITF (Interleaved 2 OF 5)
• CODE 93
• CODABAR
• GS1 DATABAR
• MSI PLESSEY
UPC CODE
CODE 39
ITF (Interleaved 2 OF 5)
MSI PLESSEY
Barcode-2D Types
Two-Dimensional (2D) Barcode
• DATAMATRIX CODE
• QR Code
• PDF417
Used in tracking and marketing. Free to use, flexible in size, has a high fault tolerance, and fast
readability. However, it can’t be read with a laser scanner. It supports four different modes of
data: numeric, alphanumeric, byte/binary, and Kanji. It is a public domain and free to use.
Used in applications that require the storage of huge amounts of data, such as photographs,
fingerprints, signatures, text, numbers, and graphics.
It can hold over 1.1 kilobytes of machine-readable data, making it more powerful than other 2D
barcodes. Like QR codes, PDF417 barcodes are public domain and free to use.
• AZTEC
Barcode-2D-QR
How to generate/read QR Barcode
1. Download ZXing ("zebra crossing") is an open-source, multi-format 1D/2D barcode image processing
library implemented in Java. https://github.com/zxing/zxing
2. Save the library in your ColdFusion class path C:{cfserverhome}{cfusion}wwwrootWEB-INFlib
3. Restart ColdFusion server
Barcode-2D-PDF417
How to generate PDF417 Barcode
DEMO 4
Demo-Barcode
Real case scenario
Custom
properties
Export
XMP
barcode sanitize
send
receive
Read
barcode
Import
XMP
Continue
next
action
Real case scenario
Custom Properties
Key pair value( TrackingNumber, WorkflowID)
• TrackingNumber: unique ID (CreateUUID)
to validate the PDF by embedding inside
the barcode.
• WorkflowID: unique ID (Database
ID)definition to tell the PDF what to do next
Export XMP (The Metadata)
Export the metadata (XMP) file to folder
structure by making the file name same as
tracking number
D:DMSxmp{trackingNumber}.xmp
DEMO 5
Demo-Vote Registration
Thank you
Resources
• https://acrobat.adobe.com
• http://www.scandit.com/
• http://developers.itextpdf.com
Source Code
https://github.com/cfclick/CFSummit2016
Questions
Don’t leave hold of your common sense.
Think about what you’re doing and how
the technology can enhance it.
Don’t think about technology first.
(Esther Dyson)

More Related Content

PDF
PDF
API Economy, Realizing the Business Value of APIs
PDF
Crafting ColdFusion Applications like an Architect
PPTX
Building ColdFusion And AngularJS Applications
PDF
Spca2014 keynote johnson
PPTX
Salesforce Lightning workshop Hartford - 12 March
PPTX
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
PPTX
Develop, Build, Package and Deploy Office Add-ins with Visual Studio - ESPC 2015
API Economy, Realizing the Business Value of APIs
Crafting ColdFusion Applications like an Architect
Building ColdFusion And AngularJS Applications
Spca2014 keynote johnson
Salesforce Lightning workshop Hartford - 12 March
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
Develop, Build, Package and Deploy Office Add-ins with Visual Studio - ESPC 2015

What's hot (20)

PPTX
ECS19 - Robi Voncina - Upgrade to SharePoint 2019
PPTX
Office 365 Connectors
PDF
O365Con18 - Using ARM Templates to Deploy Solutions on Azure - Kevin Timmermann
PDF
O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...
PPTX
ECS19 - Johan Delimon - Keep your Skype for Business Hybrid working like a ch...
PPTX
Connecticut Salesforce Developer Group - Jan 2017
PPTX
Create a modern(ish) BAM portal in (roughly) one hour!
PDF
ECS19 - Bill Ayers - UNLOCK YOUR BUSINESS KNOWLEDGE WITH THE MICROSOFT GRAPH,...
PPSX
ECS19 - Damir Dobric - Designing and Operating modern applications with Micro...
PPTX
SPCA2013 - Developing SharePoint 2013 Apps with Visual Studio 2012
PPTX
[White/Himmelstein] Bridge the Cloud Divide with Hybrid Business Intelligence
PDF
[McDermott] Configuring SharePoint Hybrid Search and Taxonomy
PDF
DEVELOPING SHAREPOINT FRAMEWORK SOLUTIONS FOR THE ENTERPRISE
PDF
The Magic Behind Faster API Development, Testing and Delivery with API Virtua...
PPTX
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
PDF
O365Con18 - Site Templates, Site Life Cycle Management and Modern SharePoint ...
PPTX
Microsoft Flow best practices European Collaboration Summit 2018
PPTX
Btug.be - Integrate 2016 Recap by Pieter Vandenheede
PDF
ECS19 Elio Struyf - Setting Up Your SPFx CI/CD pipelines on Azure DevOps
PPTX
Everybody loves Swagger
ECS19 - Robi Voncina - Upgrade to SharePoint 2019
Office 365 Connectors
O365Con18 - Using ARM Templates to Deploy Solutions on Azure - Kevin Timmermann
O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...
ECS19 - Johan Delimon - Keep your Skype for Business Hybrid working like a ch...
Connecticut Salesforce Developer Group - Jan 2017
Create a modern(ish) BAM portal in (roughly) one hour!
ECS19 - Bill Ayers - UNLOCK YOUR BUSINESS KNOWLEDGE WITH THE MICROSOFT GRAPH,...
ECS19 - Damir Dobric - Designing and Operating modern applications with Micro...
SPCA2013 - Developing SharePoint 2013 Apps with Visual Studio 2012
[White/Himmelstein] Bridge the Cloud Divide with Hybrid Business Intelligence
[McDermott] Configuring SharePoint Hybrid Search and Taxonomy
DEVELOPING SHAREPOINT FRAMEWORK SOLUTIONS FOR THE ENTERPRISE
The Magic Behind Faster API Development, Testing and Delivery with API Virtua...
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
O365Con18 - Site Templates, Site Life Cycle Management and Modern SharePoint ...
Microsoft Flow best practices European Collaboration Summit 2018
Btug.be - Integrate 2016 Recap by Pieter Vandenheede
ECS19 Elio Struyf - Setting Up Your SPFx CI/CD pipelines on Azure DevOps
Everybody loves Swagger
Ad

Viewers also liked (17)

PDF
Building better SQL Server Databases
PDF
Api manager preconference
PDF
ColdFusion in Transit action
PDF
Security And Access Control For APIS using CF API Manager
PDF
Monetizing Business Models: ColdFusion and APIS
PDF
Developer Insights for Application Upgrade to ColdFusion 2016
PDF
Where is cold fusion headed
PDF
Become a Security Rockstar with ColdFusion 2016
PDF
Super Fast Application development with Mura CMS
PDF
Why Everyone else writes bad code
PDF
ColdFusion Keynote: Building the Agile Web Since 1995
PDF
Securing applications
PDF
Testing automaton
PDF
Instant ColdFusion with Vagrant
PPT
Restful services with ColdFusion
PDF
Build your own secure and real-time dashboard for mobile and web
PPTX
10 Reasons ColdFusion PDFs should rule the world
Building better SQL Server Databases
Api manager preconference
ColdFusion in Transit action
Security And Access Control For APIS using CF API Manager
Monetizing Business Models: ColdFusion and APIS
Developer Insights for Application Upgrade to ColdFusion 2016
Where is cold fusion headed
Become a Security Rockstar with ColdFusion 2016
Super Fast Application development with Mura CMS
Why Everyone else writes bad code
ColdFusion Keynote: Building the Agile Web Since 1995
Securing applications
Testing automaton
Instant ColdFusion with Vagrant
Restful services with ColdFusion
Build your own secure and real-time dashboard for mobile and web
10 Reasons ColdFusion PDFs should rule the world
Ad

Similar to Don't just pdf, Smart PDF (20)

PDF
October 2006 Impact of PDF/A on Content Management by Christy Hubbard
PPTX
MBE Summit 2012
PPTX
3dpc intro_apr2012
PPTX
WEBINAR PRESENTATION: PDFA - its more than you think
PPT
Qualysoft R&D Products by Joseph Bayer
PPT
Presentation1
PDF
PRESENTATION: Challenges of Digitization (November 2012)
PPTX
PDF/a for Dutch Law firms
PPT
PDF
Acrobat 9 AEC
PPTX
PDF/Archive: Preserving Electronic Assets
PPS
Paperless shop floor 01
PPTX
Demystifying pd fs
PDF
Adobe AIR & Printing
PPT
Metadata & Interoperability: Free Tools
PPT
PDF/Archive - Preserving Electronic Documents
PPT
Integration of internal database system
PDF
Right Solution for PDF
PDF
Star 2013-pdfa-pdfa
October 2006 Impact of PDF/A on Content Management by Christy Hubbard
MBE Summit 2012
3dpc intro_apr2012
WEBINAR PRESENTATION: PDFA - its more than you think
Qualysoft R&D Products by Joseph Bayer
Presentation1
PRESENTATION: Challenges of Digitization (November 2012)
PDF/a for Dutch Law firms
Acrobat 9 AEC
PDF/Archive: Preserving Electronic Assets
Paperless shop floor 01
Demystifying pd fs
Adobe AIR & Printing
Metadata & Interoperability: Free Tools
PDF/Archive - Preserving Electronic Documents
Integration of internal database system
Right Solution for PDF
Star 2013-pdfa-pdfa

More from ColdFusionConference (11)

PDF
Rest ful tools for lazy experts
PDF
Herding cats managing ColdFusion servers with commandbox
PDF
Realtime with websockets
PDF
Instant ColdFusion with Vagrant
PDF
Hidden gems in cf2016
PDF
Everyones invited! Meet accesibility requirements with ColdFusion
PDF
Getting started with mobile application development
PDF
Bring api manager into your stack
PDF
Keep Applications Online
PDF
Dependency Injection
PDF
ColdFusion Craftsmanship
Rest ful tools for lazy experts
Herding cats managing ColdFusion servers with commandbox
Realtime with websockets
Instant ColdFusion with Vagrant
Hidden gems in cf2016
Everyones invited! Meet accesibility requirements with ColdFusion
Getting started with mobile application development
Bring api manager into your stack
Keep Applications Online
Dependency Injection
ColdFusion Craftsmanship

Recently uploaded (20)

PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPT
Teaching material agriculture food technology
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
A Presentation on Artificial Intelligence
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
cuic standard and advanced reporting.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Electronic commerce courselecture one. Pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
Network Security Unit 5.pdf for BCA BBA.
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Per capita expenditure prediction using model stacking based on satellite ima...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Review of recent advances in non-invasive hemoglobin estimation
Teaching material agriculture food technology
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Advanced methodologies resolving dimensionality complications for autism neur...
Reach Out and Touch Someone: Haptics and Empathic Computing
A Presentation on Artificial Intelligence
CIFDAQ's Market Insight: SEC Turns Pro Crypto
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
The AUB Centre for AI in Media Proposal.docx
cuic standard and advanced reporting.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Unlocking AI with Model Context Protocol (MCP)
Electronic commerce courselecture one. Pdf
Digital-Transformation-Roadmap-for-Companies.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?

Don't just pdf, Smart PDF

  • 1. Don’t Just PDF, “Smart” PDF!
  • 2. Who am I • Shirak Avakian • Enterprise Solution Architect • QBI LLC • I code too • shirakavakian@gmail.com • @shirakavakian
  • 3. Definitions & Facts What is a PDF? Portable Document Format (PDF) is a file format used to present and exchange documents reliably, independent of software, hardware, or operating system. • Invented by Adobe. • Open standard maintained by ISO ( International Standards Organization). • Can contain links and buttons, form fields, audio, video, and business logic. • Can also be signed electronically Some Facts About a PDF
  • 4. History • In 1991, Adobe cofounder Dr. John Warnock launched the paper-to-digital revolution with an idea he called The Camelot Project. • By 1992, Camelot had developed into PDF. Today, it is the format trusted by businesses around the world. • Today, Warnock's vision is alive, well, and evolving. Adobe PDFs preserve all the data in the original file - even when text, graphics, spreadsheets, and more.
  • 5. Security • Password • Redacting sensitive information • Sanitization—Remove hidden data from a PDF • Digital signature using a private/public key pair Secure a PDF by
  • 6. Conclusion • If you can share & reduce physical occupation of 1000 books to 1000 digital files resting in your lap. • If you can search for files, pages within seconds. • If you can sign, edit, comment, stamp a PDF. • If you can secure a PDF. • If all above can be done by a PDF, shouldn’t we call it SMART?
  • 7. Not yet, until we make it smarter by predefining the workflow • Custom Properties. • Exporting and importing metadata. • Sanitization. • Barcode. • All together to create a PDF workflow.
  • 8. PDF Custom Properties • Ability to add custom properties to store specific data. • ColdFusion can only read custom properties as of 2016 release. • To create custom properties we will use JAVA. • No need to load extra library, ColdFusion already has iText java library pre-loaded.
  • 10. Exporting & Importing Metadata Metadata Includes information about the document and its contents, such as the author’s name, keywords, and copyright information, that can be used by search utilities. XMP The Extensible Metadata Platform (XMP) provides Adobe applications with a common XML framework that standardizes the creation, processing, and interchange of document metadata across publishing workflows.
  • 11. Exporting & Importing Metadata Export Specify the source of the PDF and destination of the XMP file. <cfpdf action=“export” type=“metadata” source = “file.pdf” exportTo =“file.xmp”/> Import Specify the source of the PDF, the source of XMP file and the destination for the file to be placed. <cfpdf action=“import” type=“metadata” source=“file.pdf” importFrom=“file.xmp” destination=“PDF output file pathname” /or name=“PDF document variable name”/>
  • 13. Sanitization Sanitize Removes metadata from your PDF document so that sensitive information is not passed along when you publish your PDF. • Metadata • Attached files • Scripts • Search indexes • Form data • Review and comment data • Obscured text and images • Unreferenced data • Links • Actions and javascripts • Overlapping objects Sanitize removes the following:
  • 15. Barcode A barcode is an optical, machine-readable, representation of data; the data usually describes something about the object that carries the barcode. (Wikipedia) One-Dimensional (1D) Barcode Systematically represent data by varying the widths and spacings of parallel lines, and may be referred to as linear or one-dimensional. Two-Dimensional (2D) Barcode Systematically represent data using two-dimensional symbols and shapes. They are similar to a linear 1D barcode, but can represent more data per unit area.
  • 16. Barcode-1D Types One-Dimensional (1D) Barcode Types • UPC CODE • EAN CODE • CODE 39 • CODE 128 • ITF (Interleaved 2 OF 5) • CODE 93 • CODABAR • GS1 DATABAR • MSI PLESSEY UPC CODE CODE 39 ITF (Interleaved 2 OF 5) MSI PLESSEY
  • 17. Barcode-2D Types Two-Dimensional (2D) Barcode • DATAMATRIX CODE • QR Code • PDF417 Used in tracking and marketing. Free to use, flexible in size, has a high fault tolerance, and fast readability. However, it can’t be read with a laser scanner. It supports four different modes of data: numeric, alphanumeric, byte/binary, and Kanji. It is a public domain and free to use. Used in applications that require the storage of huge amounts of data, such as photographs, fingerprints, signatures, text, numbers, and graphics. It can hold over 1.1 kilobytes of machine-readable data, making it more powerful than other 2D barcodes. Like QR codes, PDF417 barcodes are public domain and free to use. • AZTEC
  • 18. Barcode-2D-QR How to generate/read QR Barcode 1. Download ZXing ("zebra crossing") is an open-source, multi-format 1D/2D barcode image processing library implemented in Java. https://github.com/zxing/zxing 2. Save the library in your ColdFusion class path C:{cfserverhome}{cfusion}wwwrootWEB-INFlib 3. Restart ColdFusion server
  • 21. Real case scenario Custom properties Export XMP barcode sanitize send receive Read barcode Import XMP Continue next action
  • 22. Real case scenario Custom Properties Key pair value( TrackingNumber, WorkflowID) • TrackingNumber: unique ID (CreateUUID) to validate the PDF by embedding inside the barcode. • WorkflowID: unique ID (Database ID)definition to tell the PDF what to do next Export XMP (The Metadata) Export the metadata (XMP) file to folder structure by making the file name same as tracking number D:DMSxmp{trackingNumber}.xmp
  • 24. Thank you Resources • https://acrobat.adobe.com • http://www.scandit.com/ • http://developers.itextpdf.com Source Code https://github.com/cfclick/CFSummit2016 Questions Don’t leave hold of your common sense. Think about what you’re doing and how the technology can enhance it. Don’t think about technology first. (Esther Dyson)