barcode(1)

barcode1

A standalone program to convert text strings to printed bars

Usage

barcode [{[{-b - | string}] | [{-i - | input_file}]}] [-e encoding] [{-o - | outfile}] [other-flags]

Overview

This manual page documents briefly the barcode command as provided by barcode package.

GNU barcode is a standalone program that converts text strings to printed bars. It is able to read user supplied strings from the command line or a data file (standard input by default) and encode all of them.

Options

barcode accepts the following options:

--help or -h

Print a usage summary and exit.

-i <arg>

Specify input file (strings to encode), default is stdin

-o <arg>

Specify output file, default is stdout

-b <arg>

Specify string to encode (use input file if missing)

-e <arg>

Specify encoding type (default is best fit for first string)

-u <arg>

Specify unit to be used ("mm", "in", ...). This option is used to decode -g, -t and -p.

-g <arg>

Specify geometry on the page: [<wid>x<hei>][+<margin>+<margin>]

-t <arg>

Specify table geometry: <cols>x<lines>[+<margin>+<margin>]

-m <arg>

Specify internal margin for each item in a table: <xm>[,<ym>]

-n

Be "numeric": avoid printing text along with the bars

-c

no Checksum character, if the chosen encoding allows it

-E

Print one code as eps file (default: multi-page ps)

-S

Print one code as svg file (default: multi-page ps)

-P

Create PCL output instead of postscript

-p <arg>

Specify page size. Please refer to texinfo doc for more information.

-s

Use streaming mode. Please refer to texinfo doc for more information.

Encoding types

The program encodes text strings passed either on the command line (with -b) or retrieved from standard input. The text representation is interpreted according to certain rules. Please refer to texinfo doc as described below for detail introduction.

To get a list of supported encoding type names, please call the program with "-h" option.

Releases

13 releases since Debian 2.2 (Potato); the text changed 4 times.

  1. 2.2
  2. 3.0–3.1
  3. 4.0
  4. 5.0–9
  5. 10–13

-P since Debian 3.0 (Woody); -S since Debian 10 (Buster); -s since Debian 10 (Buster).

Reporting bugs

Please mail bug reports and suggestions to ⟨bug-barcode@\:gnu.org⟩ or submit them onto its Bug Tracker on https://savannah.gnu.org/projects/barcode .

Please report Debian-specific bugs using Debian Bug Tracking System.

Author

Alessandro Rubini ⟨rubini@\:gnu.org⟩(maintainer)
Leonid A. Broukhis ⟨leob@\:mailcom.com⟩(several encodings)
Andrea Scopece ⟨a.scopece@\:tin.it⟩(PCL output)

This manual page is written by Boyuan Yang ⟨byang@\:debian.org⟩ for the Debian Project (but may be used by others).

From barcode 0.99-9 in Debian 13 (Trixie). Parsed by carta from the page's man source.