Skip to content

Based on the Brother b-PAC sampe code, this is a simple program which prints barcodes -- using either a GUI or the CLI.

Notifications You must be signed in to change notification settings

limenet/bpac-barcode

Repository files navigation

bpac-barcode

Based on the Brother b-PAC sampe code, this is a simple program which prints barcodes -- using either a GUI or the CLI.

Requirements

Usage

GUI

Download the latest release, unzip it, run BarcodePrint.exe, edit the fields, and hit "Print".

CLI

BarcodePrint.exe title barcode [timestamp = dd.mm.yyyy hh:mm] [copies = 1]

Note:

  • [title] and [barcode] are required, optionally enclosed in quotes.
  • [title] can be any string
  • [barcode] will be converted to a Code 128 barcode
  • [timestamp] is optional and defaults to the current date and time, but can be any string-
  • [copies] is optional and defaults to 1.

Templates

Every label roll has a different media ID and to print there has to be a file named [media ID].lbx in the same folder as BarcodePrint.exe. To figure out what your current media ID is, open the GUI version, and hit print. If your media ID is supported, a barcode will print, otherwise you'll see an error message telling you which media ID is currently in the printer.

List of media IDs (incomplete)

Media ID DK no. Measurements
258 DK-22210 29mm // 1-5/32"
259 DK-22205 62mm // 2-3/7"
264 DK-22225 38mm // 1-1/2"
269 DK-11204 17mm x 54 mm // 2/3" x 2-1/8"
270 DK-11203 17mm x 87mm // 2/3" x 3-7/16"

About

Based on the Brother b-PAC sampe code, this is a simple program which prints barcodes -- using either a GUI or the CLI.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages