Skip to content

Configuration Reference ​

A DICOM Printer 2 configuration is a single config.xml with three required sections — <General>, <ActionsList>, and <Workflow> — plus an optional <DropMonitor>. This page is the map; each element links to its own reference.

Author it with AI

The AI Config Assistant is an installable agent skill that writes and edits config.xml for you and knows every element below.

Document structure ​

xml
<?xml version="1.0" encoding="utf-8"?>
<DicomPrinterConfig>
  <General> ... </General>           <!-- program-wide settings -->
  <ActionsList> ... </ActionsList>   <!-- named, reusable actions -->
  <Workflow> ... </Workflow>         <!-- ordered execution + control flow -->
  <DropMonitor> ... </DropMonitor>   <!-- optional: watched-folder ingestion -->
</DicomPrinterConfig>

Actions are declared in <ActionsList>, each with a unique name, and then run in order by <Perform> inside <Workflow>, which adds conditional and retry logic. Every action operates on the same job dataset, so a value set by one action (a parsed tag, a query result) is visible to every later action — order matters.

For getting started, file locations, validation, and editing, see Configuration.

Program-wide settings ​

ElementPurpose
General SettingsSpool interval, suspension/retry timing, log verbosity and rotation, job validity
Connection ParametersAE titles, host, port, and timeouts — shared by Print, Store, and Query

Actions ​

Declared in <ActionsList>; invoked from <Workflow> by name.

ActionPurpose
Query · Query AttributesC-FIND a Modality Worklist / PACS and copy matched tags into the job
StoreSend the job to a Storage SCP (PACS)
SaveWrite the job to local disk
PrintSend to a DICOM film/paper printer
PrintTextBurn text onto every page
PrintImageOverlay an image or watermark
ParseExtract tags from the job's filename or text via regex
SetTag · SetSequenceSet a tag / build a DICOM sequence
Image ManipulationTrim, Resize, Rotate, AutoRotateText, MergeJob
Run (Plugins)Launch an external script/plugin, passing tags in and out
NotifyShow the operator a message

Workflow ​

ElementPurpose
Workflow overviewHow the workflow executes a job
Conditional Nodes<If> and <Switch>
Control Nodes<Perform>, <Suspend>, <Discard>, <Update>
Placeholders#{...} tag and date placeholders used in values

Ingestion ​

ElementPurpose
Drop MonitorWatched-folder ingestion of PDFs, images, and text

Conventions ​

  • Tag references accept a DICOM dictionary keyword or a numeric tag — (0008,0050), 00080050, and AccessionNumber all refer to the same tag.
  • Enumerated attribute values (e.g. Compression type="rle" and type="RLE" are equivalent) are case-insensitive, but element names are not — use the exact element names shown on each page.
  • Licensing/activation is handled by the activation flow and stored in a .activation file beside config.xml; it is not configured in config.xml (<RegistrationKey> is inert and ignored). See Licensing and Activation.