Example Templates
These example templates can be used as starting points for your own printer configuration. Copy the template content to a file in your PrinterTemplates directory.
Cassette Printer Templates
Avantik.txt
Avantik / Dakwe UV Laser Printer (use Avantik.Animal.txt for multi-template scenarios)Sample Output
[1]/S/24/123/A1/MOUSE-001/ABC-Study/MG1/2*2U*BEXY*1
Includes hopper number, surgical wheel, date, case number, specimen/cassette parts, animal name, study, gender (1 char), cohort arm (2 chars), and barcode.
The following examples are designed for Thermo/Microwriter cassette printers.
Thermo.txt
Default cassette templateSample Output
$#H1#M#4S24-#3123-A1#N#4#4Smith.J^2*2U*BEXY*1
Includes hopper number, surgical wheel, date, case number, specimen/cassette parts, patient name (7 chars max), and barcode.
Thermo.ClinicalPatient.txt
Human clinical patientsSame as default - shows patient last name and first initial.
Thermo.Animal.txt
Research animal casesSample Output
$#H1#M#4S24-#3456-A1#N#4#4MOUSE-001#5JDS^2*2U*BEXY*1
Replaces patient name with animal ID (9 chars) and PI initials for research cases.
Thermo.ControlCassette.txt
Quality control cassettesSimplified template for control cassettes - displays "QC" instead of patient information.
Slide Printer Templates
These examples are designed for SlideMate slide printers.
SlideMate.txt
Default slide templateSample Output
$#1S24#2123#3A-1-1#4H+E#7L-ADP^2*2U*BEXY*1
Includes surgical wheel, date, case number, specimen/cassette/slide parts, stain abbreviation, tissue, and barcode.
SlideMate.ClinicalPatient.txt
Human clinical patientsAdds patient name to the slide label.
SlideMate.Animal.txt
Research animal casesSample Output
$#1S24#2456#3A-1-1#4H+E#5MOUSE-001#6JDS#7L-ADP^2*2U*BEXY*1
Includes animal ID and PI initials for research slides.
SlideMate.ControlSlide.txt
Quality control slidesControl slides omit the stain test abbreviation since they serve as reference material.
Customizing Templates
These templates use printer-specific command codes (like $#H, #M, #N).
Consult your printer's documentation for the correct command codes for your hardware.