Skip to content
barcoder

Standards/telepen

Telepen

Type1D Linear
Completeness70%medium

Overview

Telepen is a continuous, variable-length linear barcode that encodes all 128 ASCII characters (0–127) directly, without shift characters, using only two element widths for bars and spaces in a fixed 3:1 ratio 129. It was devised in early 1972 by George Sims, chairman of SB Electronic Systems Ltd of Harpenden, England 1. Instead of a table of character patterns, Telepen encodes a stream of bits: each ASCII byte gets an even-parity bit and is sent least significant bit first, and the symbol ends with a modulo-127 check character 19. A double-density numeric mode packs two digits into each symbol character 14. The symbology's stronghold is UK academic and public libraries, where its owner calls it "the pre-eminent barcode symbology" 128.

History

Origin (1971–72). SB Electronic Systems' own history says the motivation dates from 1971: computers had developed rapidly, but data entry had not, and a laboratory automation system for hospital biochemistry needed fast, accurate entry of test requests and identification of patients and samples 1. With point of sale as a further prospect, a company was set up in 1972 to develop a hand-held black-and-white bar code system. The company knew that "another British and an American company" were working along similar lines only later, so it devised its own symbology 1. The design requirements were:

  1. representation of the full ASCII character set;
  2. no more than twice the space of human-readable printing;
  3. printable on conventional printers;
  4. very high security against misreads;
  5. every character the same width 1.

The history credits the design to George Sims, "Chairman of SB Electronic Systems Limited, in early 1972" 1. A 2002 post by Markus Kuhn of the University of Cambridge Computer Laboratory also names Sims and 1972 24. Early Telepen readers were decoded by TTL logic, "since microprocessors were not then available" 1.

The company. S. B. Electronic Systems Limited (company number 00920069) was incorporated on 27 October 1967 and is still active 6. AdvaNova, the name it now trades under, says the business was founded in 1967 by George Sims and Chris Barnett and developed "one of the first handheld barcode scanners in 1972" 3. The University of Manchester and Sheffield Hallam University were among the first users of its early systems, and remain customers 3. The history document's "set up a company in 1972" therefore does not match the 1967 incorporation; no public source explains the difference 16.

Standardisation. AIM Europe published a Uniform Symbology Specification Telepen in 1991, which Zint lists as document X-25 810. Seagull Scientific's guide names the same AIM Europe document as the definition of Telepen 8. The AIM text itself is not publicly available online. No ISO/IEC symbology standard for Telepen was found.

Later dates. Sims wrote in March 2006 that Telepen "is not always referred to in American documentation" 5. The history document says Telepen had by then been "used very effectively for over 25 years" 1. Open-source encoders followed in 2006 (Zint) and 2010 (BWIPP), and an open-source decoder only in 2026 (zxing-cpp); see Implementations.

Technical specification

All rules are from SB Electronic Systems' documents unless another source is cited.

Bit-stream encoding. Each narrow or wide bar is paired with the following narrow or wide space, giving four bar/space patterns. Wide elements are three times the narrow width, so a narrow pair is 2 modules wide and every bit occupies 2 modules 19. The patterns stand for bit sequences, not characters 19:

Bar / space Width (modules) Bits encoded
narrow bar, narrow space 2 1
wide bar, narrow space 4 00
wide bar, wide space 6 010
narrow bar, wide space 4 01 at the start of a 01…10 block, 10 at its end

The stream is split into single 1-bits and blocks of the form 0, any number of 1s, 0. A block with two or more 1-bits is written as narrow-bar/wide-space for the leading 01, narrow pairs for the inner 1s, and narrow-bar/wide-space again for the closing 10 9. The scheme can represent any bit stream with an even number of 0-bits. Even parity guarantees that 9. Sims calls this exactly twice as efficient as Plessey code 1. Kuhn described the decoder as a two-state machine, in which 01 and 10 switch state 25.

Characters. Each character is 7-bit ASCII plus an even-parity bit, sent least significant bit first "as with serial data transmission" 1. Every character is 16 modules wide and contains between four and eight bars and spaces 8. The symbology allows intercharacter gaps in principle, but the standard is defined without them 1.

Symbol structure. A symbol is: quiet zone, start character, data, check character, stop character, quiet zone 48.

Element Value Bits (LSB first, with parity) Pattern
Start ASCII _ (0x5F) 11111010 five narrow pairs, then wide bar + wide space
Stop ASCII z (0x7A; 0xFA with parity) 01011111 wide bar + wide space, then five narrow pairs

Sources: 189. Read forwards, a scanner meets a wide bar after the run of narrow bars; read backwards it meets a wide space, so the direction is unambiguous and there is "no mirror image problem" 1. The minimum quiet zone is 10X or 2.54 mm, whichever is greater 8.

Check character. Add the ASCII values of the data characters (not start or stop), take the remainder modulo 127, and subtract it from 127. The fonts guide says a result of 127 becomes NUL (0) 4. The history document gives the same rule, except that a symbol of nothing but NUL characters exceptionally takes check value 127 1. Its worked example: Telepen sums to 717; 717 mod 127 = 82; 127 − 82 = 45, the minus sign - 1. The fonts guide's example ABC gives check character 8 and symbol data _ABC8z 4. Zint, bwip-js and zxing-cpp all use NUL when the remainder is 0 1218 (bwip-js: local check). Kuhn's 2002 Perl encoder uses DEL (127) in that case instead 26. The check character, the even parity of every character, a valid end code and "sensible ratios" together make misreads unlikely, and two specks or two voids cannot cancel each other out in the check 1.

Double-density numeric mode. Two digits are packed into one symbol character. In the numeric reading, ASCII 27–126 stand for the pairs 00–99 and ASCII 17–26 for the pairs 0X–9X. The others stay control characters 1418. The X pairs allow numbers whose last character is a modulus-11 check digit 4. The check character is computed on the packed ASCII values 14. Seagull calls the mod-11 option a check digit "used instead" of mod-127 in space-constrained symbols 8. SB's documents describe the X pairs as data and keep the modulo-127 check. In the original scheme nothing in the symbol marks numeric mode: the reader's configuration decides 4. A DLE (ASCII 16) in numeric data is not transmitted, and the characters after it are sent as ASCII. That way an odd final digit or an alphanumeric suffix can be added 1.

ASCII value ASCII reading Numeric reading
0–15, 127 control characters control characters
16 (DLE) control character switch to ASCII for the rest of the symbol
17–26 DC1 – SUB 0X – 9X
27–126 ESC – ~ 00 – 99

Sources: 1418.

AIM start/stop variants. The AIM specification adds two alternative pairs of end codes. One tells the reader that the symbol starts with compressed numeric data. The other lets DLE switch from ASCII to numeric. SB notes that not all manufacturers support them 1. zxing-cpp's decoder lists the three AIM start patterns (in modules: START 1 1111111111 33, START 2 11111111 3113, START 3 111111 311113). It reports AIM symbology identifiers ]B0 (full ASCII), ]B1 (numeric only), ]B2 (numeric then ASCII) and ]B4 (ASCII then numeric) 18. Its comments note that real-world symbols with the ordinary START 1/STOP 1 pair may still contain numeric data 18.

Density and print tolerance.

  • At 80 dots per inch (X = 0.0125 in) Telepen gives 5 alphanumeric characters or 10 digits per inch 1.
  • The rights holder quotes "up to 8 ASCII characters or 16 digit per inch" 2.
  • The history says "over 16 digit per inch" is achievable at the maximum recommended density 1.
  • Sims's 2006 note gives 12 digits per inch "normally, although up to 20 is feasible" 5.
  • Bar and space widths may deviate from nominal by up to 0.4X.
  • For open systems the minimum X is 0.0075 in (0.19 mm); 0.010–0.0125 in is recommended 1.
  • For laminated or plastic media SB suggests widening spaces relative to bars, keeping each character's total width constant 1.

Length. No public SB document states a maximum length. Zint caps Telepen Alpha at 69 characters and Telepen Numeric at 138 digits 1012. The Honeywell 3800 reader accepts message lengths of 1–60 by default 29.

Use cases

  • Libraries.
    • SB writes that "most Universities and other academic libraries use Telepen, as do many public libraries" 1.
    • Seagull and BWIPP give UK academic libraries, library books and library cards as the main use 813.
    • In 2002 Kuhn's Telepen encoder reproduced "numerous" University of Cambridge library cards 25.
    • In 2011 a University of Bristol mobile-library project noted that ZXing and ZBar did not support "the proprietary telepen format that is very popular in UK academic and public libraries", so it planned to adapt one of them 27.
  • Laboratory and healthcare. The symbology was first motivated by hospital biochemistry laboratory automation: test requests, patients and samples 1. Dynamsoft lists patient and lab-sample tracking among current uses 32.
  • Industry and government. SB names the motor industry and the Ministry of Defence among users 1. No deployment details are public.
  • Access control, attendance and asset tracking. AdvaNova uses Telepen barcodes in its own access-control, asset-tracking, attendance and room-booking products 2.
  • Barcode to RFID. In a 2021 case study, Telepen converted all 170,000 books of the Institute of Advanced Legal Studies library (University of London) from barcodes to RFID. Staff scanned each book's existing barcode ID while encoding the new tag 34. The case study does not name the old barcode's symbology.

Implementations

Library Language Stars Last active Telepen support
metafloor/bwip-js JavaScript 2,431 Aug 2026 encoders telepen and telepennumeric from BWIPP; renders the playground 16
bwipp/postscriptbarcode PostScript 504 Oct 2026 Telepen since 4 Oct 2010; telepennumeric since 29 Dec 2014; aimstartstop option added 21 Oct 2026 131415
zint/zint C 828 Oct 2026 BARCODE_TELEPEN (Alpha) and BARCODE_TELEPEN_NUM since version 0.3 (30 Dec 2006); AIM start/stop with --vers=1 in the unreleased 2.16.0.9 1011
woo-j/OkapiBarcode Java 399 Oct 2026 Telepen with normal and numeric modes 20
zxing-cpp/zxing-cpp C++ 2,095 Nov 2026 reader and writer for Telepen Alpha and Telepen Numeric; decoder released in v3.1.0 (7 Jul 2026) 171819

Star counts and activity were read from the GitHub API on 9 November 2026.

Decoders. zxing-cpp is the only open-source decoder found. Its Telepen reader was added on 15 February 2026 and is based on the AIM Europe USS Telepen (1991) and SB's history document 1819. In a local check, the zxing-wasm 3.1.4 build used by Barcoder's engine decoded bwip-js renders of BARCODER, Telepen and ABC as TelepenAlpha with identifier ]B0. The Java ZXing project does not list Telepen 21, and ZBar's supported list leaves it out 22. python-barcode does not support it 23. Commercial reading is common in hardware and SDKs:

  • The Honeywell 3800 has Telepen on by default and offers "AIM Telepen Output" (default) or "Original Telepen Output" 28.
  • Datalogic's QuickScan QS6500BT has enable, checksum-verify, checksum-transmit and numeric/full-ASCII format options 30.
  • Wasp's WCS3900/WLR8900/WLR8950 ship with Telepen disabled 31.
  • AdvaNova's own USB camera pen reads Telepen Numeric and Telepen ASCII 7.
  • Dynamsoft's Barcode Reader SDK decodes it 32.

Commercial encoders include SB's free TrueType fonts. They map control characters to font positions 192–223, space to 176 and DEL to 177 4. Neodynamic's .NET products also encode Telepen 33.

bwip-js options. telepen accepts any ASCII 0–127 and adds the check character automatically. parse turns ^NNN into the character with that value (e.g. ^013 for CR) 13. The numeric option on telepen is deprecated in favour of the telepennumeric encoder, which takes digit pairs whose second digit may be X 1314. The BWIPP aimstartstop option is newer than the BWIPP 2026-05-28 build inside bwip-js 4.11.x, so the wiki's renderer cannot draw AIM start/stop variants yet (local check) 15. In local checks, bwip-js 4.11.0 rejects non-ASCII input ("Telepen Alpha characters must have ordinal values 0 to 127") and odd-length telepennumeric input. It sets no length limit and accepts empty data.

About the Try-it encoder. The panel renders bwip-js telepen with the default data BARCODER:

  • All eight characters are printable ASCII. Their values sum to 578; 578 mod 127 = 70; 127 − 70 = 57, the digit 9. The full symbol data is therefore _BARCODER9z: 11 characters × 16 modules = 176 modules between the quiet zones 48.
  • The bar/space widths from bwip-js 4.11.0 match an independent encoder built from the rules above, element for element (110 elements). zxing-wasm decodes the render back to BARCODER (local check).
  • The string is not a number, account or URL, so a scan of it can do no harm.

Comparison

  • Code 128. Both carry full ASCII. Code 128 was developed in 1981 by Computer Identics and uses three code sets 10. Telepen predates it by nine years and needs no code-set switching, and it uses two element widths where Code 128 uses four 9. Sims argued that multi-width codes need much tighter print tolerances, so their apparent density advantage shrinks in practice 15. Seagull describes Telepen as intended as a competitor to Code 128 and Code 93 8. SB's own account says it was devised in 1972 "without any knowledge of other codes" 5.
  • Code 39. Introduced by Intermec in 1975 10. Sims called it "more or less a non intelligent version of Telepen" with 43 characters instead of 128 and no double-density numeric form 5. In Sims's terms Code 39 is "non intelligent": each character is looked up in a table of patterns, where Telepen decodes directly into bits 5.
  • ITF and Codabar. Sims called Interleaved 2 of 5 "very unreliable", with no proper end codes or check digit, and Codabar "effectively obsolete" 5. These are the owner's views, not independent tests.
  • Plessey Code. The other British symbology, in Sims's words 5. Telepen's bit encoding is "exactly twice as efficient" 1.

The choice is mostly made for you. Telepen is the right choice where the library system, card base or readers already use it. Elsewhere, Code 128 is the usual full-ASCII code: one of "the most ubiquitous" symbologies, and one that ZXing and ZBar read 1027.

Fun facts

  • Sims's argument for a 3:1 ratio: an integral ratio is needed for conventional printing, and 2:1 leaves too little margin 1. Early labels were printed successfully on poor-quality dot-matrix printers 5.
  • Of the four bar/space patterns, one (narrow bar, wide space) has to mean two different things: 01 and 10 alternately. Sims's history says the scheme "would appear to fail" until you notice that 0101 can be written as 010 + 1 1.

Status

Active, niche. S. B. Electronic Systems Ltd is an active company 6. Trading as AdvaNova, it still calls Telepen "the pre-eminent barcode symbology in libraries in the UK" and "an internationally recognised symbology to this day", and still publishes fonts, a generator and a reader 27. Open-source support is growing:

  • zxing-cpp shipped the first open decoder in July 2026 19;
  • BWIPP added AIM start/stop support in October 2026 15;
  • Zint's development branch added it too 11.

Against that, libraries served by the same supplier are moving stock from barcodes to RFID 34. No successor symbology exists; the AIM Europe USS (1991) remains the reference 810.

Sources

Deployments

No country reports mention this standard by name.

Regions / aggregations not mapped to a single country

  • Universal
source · content/standards/telepen/index.md