So, here is the thing. You are a printer. You want your colleagues to quickly spot prints that need to be delivered urgently. Of course, prints today have barcodes with all information you need. However, one needs to scan prints one by one. So, how could you notice quickly and easily urgent jobs?
Here are the icons we will use.
What if an icon could let you know? What if a message let me know about the delivery date?
You can set two types of variables with pdfToolbox:
- Simple variable: An operator or a systeme sets a value with no specific logic
Here we chose to use a simple variable because it’s just about the type of delivery But be sure we will widely use this varioable later!
Setting variables in pdfToolbox
This is the main part. “Place Content” is available in Callas pdfToolbox fixups. You can place elements on top of the active document. It uses a HTML/CSS/JS template. The latter will be converted to PDF and placed into the document. As a matter of fact, pdfToolbox includes a HTML to PDF Conversion Engine also known as Callas pdfChip. We use Place Content Fixup to place our pictos at the right location. For the little curious, you need to extend the PDF mediabox here.
“Place Content” fixup allows to
add elements onto the page thanks to a HTML template.
Thanks to these features, we can insert our pictos as native PDF files and fill our texts with a compliant color.
Once done, icon and message appear just fine!
Callas pdfChip is built on Chromium. With rares exceptions, pdfChip will do whatever you cand doo with a Chrome browser. To save some effort, we can load the Moment.js library. Then we have all advanced date processing at hand.
Moment.js library allows advanced dates processing!
Once loaded, we can call this library’s methods. Eventually we get a sweet formatting of dates in combination with delivery type and locale!
Give it a try!
Try it, it’s free! Download Callas pdfToolbox profile (V10 compatible, not Acrobat at this time). We can wait for your feedback. Feel free to comment. Any questions? Fill in the form aside!
See you soon!