Introduction
One of the print web service implementation was done for Washington University (WashU) for Brady label printers. This document describes how to set up this web service with caTissue to print specimen labels based on the format specified.
Integration of the Web Service with caTissue
High level requirements are described below:
- Information to be printed for specimen labels should be configurable per class and type of specimen, and type of label. The type of label could be Cap+Side (used for vials) or Slide.
- WashU uses multiple printers at various labs. In order to decide the printer to which to forward the request, the workstation IP should be configurable.
Based on these requirements, the parameters that decide the label format to be printed are configured using <tt>file print_rules.xls</tt> having the following parameters:
Parameter | Definition |
---|---|
Specimen Class | Class of the specimen |
Specimen type | Type of the specimen |
Label type | This could be Cap+ Slide or side. This parameter and the specimen type define the information that needs to go in the label. This will help user to configure based on label physical dimensions. |
Data on the label | Information that needs to be included in the label based on the specimen class/type and label type |
Printer | Name of the printer where the request has to be forwarded to. |
Workstation IP | IP address of the machine from where the print request will come and this decides to which printer the request has to be forwarded to. |
Some example entries for this file follow.
Specimen Class | Specimen type | Label type | Data on the label | Printer | Workstation IP |
---|---|---|---|---|---|
Molecular | Any | Cap + Slide | Specimen Label, Specimen type, Concentration | Molecular | IP1 |
Fluid | Any | Cap + Slide | Specimen label, Specimen type | Histology | IP2 |
Cell | Cryopreserved Cells | Cap + Slide | Specimen label | Histology | IP2 |
Below are the APIs present in the application for print rules: