Category: KPL – Kodak Professional Language

  • Special Character Macros in DP2

    Due to encoding limitation in DP2, sometimes it is better to replace some common special characters by their macro equivalent. Here is a list of some of the most common ones:

  • How to get the Job ID in a KPL macro throughout the product lifetime

    Sometimes we need to get the Order ID for use in our macros. This can be for any number of reasons, but what’s important to know is that you need to grab the job id in different ways depending on where a product item is during its life-cycle. When a product is sitting in the…

  • A few KPL text tools

    String manipulation is one of the most common things to do in a programming language, so it is to no surprise that KPL offers many tools for doing what you want. I will try to show you and explain some of it most useful tools. String Comparison The most common task that I can think…

  • KPL Variables

    KPL variables resemble PHP variables in the sense that they are loosely typed and don’t have to be declared. For those new to programming, this means that you don’t have to declare that the variable is an integer or a text string. Naming Variable names must start with an alphabetic character followed by any alpha-numeric…

  • cmds files in DP2 – creating a simple order

    If you want to get your feet wet with KPL, cmds files are the easiest way to get started. Cmds stands for commands, there are many uses for these files but the most important in my opinion is the import of photo orders from other applications. To be able to use cmds files we first…

  • What is KPL and how it relates to DP2?

    KPL (Kodak Professional Language) is the underlying language that drives the DP2 Photo Lab production software. It is based on the C programming language family and it allows developers access to a lot of C methods and windows API’s. The language has been greatly expanded from it’s C roots to include features that are tailored to the photo production…