redcap_zebra_label_printer

REDCap Zebra Label Printer external module extends REDCap to print labels to Zebra printers using data from a REDCap record

https://github.com/ctsit/redcap_zebra_label_printer

Science Score: 75.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
    Organization ctsit has institutional domain (www.ctsi.ufl.edu)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.9%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

REDCap Zebra Label Printer external module extends REDCap to print labels to Zebra printers using data from a REDCap record

Basic Info
  • Host: GitHub
  • Owner: ctsit
  • License: other
  • Language: JavaScript
  • Default Branch: master
  • Homepage:
  • Size: 20.3 MB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 1
  • Open Issues: 2
  • Releases: 2
Created about 2 years ago · Last pushed 8 months ago
Metadata Files
Readme Changelog License Citation

README.md

REDCap Zebra Label Printer

DOI

The REDCap Zebra Label Printer external module extends REDCap to print labels to Zebra printers using data from a REDCap record, a ZPL layout, and a printing plan. The first version of the module has the ZPL layout and print plan hard-coded into it. Future versions will provide more configurability.

Prerequisites

  • REDCap >= 14.0.2
  • PHP >= 8
  • Zebra's Browser Print software
  • Zebra printer
  • Suitable labels for your Zebra printer. Only the DFP-103 label is supported at this time.

Easy installation

The module is not yet in the VUMC's REDCap Repo. All installation must be done manually.

Manual Installation

  • Clone this repo into to <redcap-root>/modules/redcap_zebra_label_printer_v0.0.0.

Introduction

The REDCap Zebra Label Printer external module prints a preprogrammed layout of 23 labels onto DFP-103 Cryogenic Labels. The layout is designed to facilitate blood draw and processing for sites within the 1Florida Alzheimer's Disease Research Center. It has multiple labels for each of serum, plasma, paxgene, buffy coat, and blood. The module prints this layout on each label.

The labels are printed in a long strip.

The module adds a button under REDCap form field to allow printing of a 23-label set for that record and event. The @ZEBRA-LABEL-PRINTER action tag positions the button under any field where it is used.

REDCap Zebra Label Printer interacts with Zebra's Browser Print software to send ZPL files to a pre-selected, locally-attached printer.

Installation and setup

To use this module, get a Zebra printer and labels, then follow the steps here.

REDCap setup

  1. Install the module into your REDCap system by cloning this repo into to <redcap-root>/modules/redcap_zebra_label_printer_vN.M.O, where "N.M.O" is the version of the module you are installing.
  2. Enable the module in the REDCap Control Center.
  3. Enable the module in a REDCap project. If you need a sample project, there is one available in the examples folder in the repo on Github.
  4. Add the @ZEBRA-LABEL-PRINTER action tag to a field in your REDCap project. Note: this is already done in the example project.
  5. Open the form that has the field of interest and verify you can see the Generate Biospecimen Labels button.
  6. Press the ? button to the right of Generate Biospecimen Labels button. You'll need this help in the steps below.

Module Configuration

You will need to configure the module for your project. At a minimum you need to indicate which field has the Subject ID--typically, recordid--and which field has the "event field". The _event field is need on longitudinal projects to indicate at what event the specimen was collected.

  • Input Base: The numeric base system of your input, default is 10
  • Output Base: Default value is 16, but up to 36, note that you will need to use an even number for the checksum algorithm to work
  • Subject ID field: The field that contains the record identifier.
  • Visit number field: The field that contains the visit number.

Printer setup

  1. Attach the Zebra printer to a computer with access to REDCap.
  2. Load labels into you Zebra printer.
  3. Follow the Quick Start Guide provided with your Zebra printer to complete the setup. Ensure you finish all steps up to Step 9, which includes Smart Calibration.
  4. Download and install the Zebra Browser Print app.
  5. Follow the steps described in the module help button mentioned above under REDCap Setup

Using the module

Access the form where the Generate Biospecimen Labels button is displayed. The field will be grayed out if the visit number field is missing or blank. Key in the visit number then press the "Generate biospecimen labels" button. This will open a print dialog. Acknowledge it and printing should start immediately. If instead you get an error, note the error, attempt to address and retry printing. If that does not rectify the error, access the module's setup and debugging help via the "?" button next to the Generate Biospecimen Labels button.

Notes

The software was developed and tested with the Zebra ZD611, but any Zebra printer should work if it is appropriate for the labels you have chosen.

The barcode string, e.g. 110001-03-S-1 has the following components

Developer Notes

To run the webpack build process, you will need to have Node.js installed. Once installed, run the following commands in the module directory:

bash npm install npm run build

Owner

  • Name: CTS-IT
  • Login: ctsit
  • Kind: organization
  • Location: 2401 Archer Road Gainesville, FL 32608

Clinical and Translational Science Informatics and Technology, University of Florida

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: REDCap Zebra Label Printer
message:
  If you use this software, please cite it using the metadata
  in CITATIONS.cff or https://doi.org/10.5281/zenodo.15185893
type: software
authors:
  - family-names: Chase
    given-names: Philip B
    email: pbc@ufl.edu
    affiliation: University of Florida
    orcid: https://orcid.org/0000-0002-5318-9420
  - family-names: Chesney
    given-names: Kyle
    affiliation: University of Florida
    orcid: https://orcid.org/0000-0002-0479-7251
  - family-names: Stoffs
    given-names: Taryn L
    email: tls@ufl.edu
    affiliation: University of Florida
    orcid: https://orcid.org/0000-0002-0830-8179
  - family-names: Bentz
    given-names: Michael
    affiliation: University of Florida
    orcid: https://orcid.org/0000-0002-5790-4268
  - family-names: Kamma
    given-names: Sai Pavan
    email: saipavankamma@ufl.edu
    affiliation: University of Florida
    orcid: https://orcid.org/0009-0004-4619-0409
  - family-names: Barnes
    given-names: Christopher P
    email: cpb@ufl.edu
    affiliation: University of Florida
    orcid: https://orcid.org/0000-0001-7114-1992
repository-code:
  https://github.com/ctsit/redcap_zebra_label_printer
url:
  https://github.com/ctsit/redcap_zebra_label_printer
abstract:
  REDCap Zebra Label Printer is a REDCap external module that
  extends REDCap to print labels to Zebra printers using data
  from a REDCap record, a ZPL layout, and a printing plan. The
  first version of the module has the ZPL layout and print 
  plan hard-coded into it. Future versions will provide more
  configurability.
keywords:
  - redcap
  - clinical science
  - data management
  - zebra printer
  - biospecimen
  - label printing
  - "redcap repo"
  - "redcap external module"
identifiers:
  - type: doi
    value: 10.5281/zenodo.15185893
license: Apache-2.0
version: 0.4.0
date-released: '2025-06-24'

GitHub Events

Total
  • Create event: 1
  • Release event: 2
  • Issues event: 9
  • Issue comment event: 2
  • Push event: 5
  • Pull request review event: 2
  • Pull request event: 2
Last Year
  • Create event: 1
  • Release event: 2
  • Issues event: 9
  • Issue comment event: 2
  • Push event: 5
  • Pull request review event: 2
  • Pull request event: 2

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 18
  • Total pull requests: 9
  • Average time to close issues: 2 months
  • Average time to close pull requests: 8 days
  • Total issue authors: 3
  • Total pull request authors: 3
  • Average comments per issue: 0.94
  • Average comments per pull request: 2.11
  • Merged pull requests: 8
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 16
  • Pull requests: 6
  • Average time to close issues: 2 months
  • Average time to close pull requests: 4 days
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 0.63
  • Average comments per pull request: 1.17
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • pbchase (16)
  • ChemiKyle (1)
  • michael-bentz (1)
Pull Request Authors
  • saipavan10-git (5)
  • michael-bentz (3)
  • pbchase (1)
Top Labels
Issue Labels
enhancement (1) hold (1)
Pull Request Labels