]> git.lizzy.rs Git - plan9front.git/blob - sys/man/1/qr
add timepic(1) and qr(1) manpages
[plan9front.git] / sys / man / 1 / qr
1 .TH QR 1
2 .SH NAME
3 qr \- generate QR code
4 .SH SYNOPSYS
5 .B qr
6 [
7 .B -LMQHna
8 ]
9 [
10 .B -v
11 .I version
12 ]
13 .SH DESCRIPTION
14 .I Qr
15 generates a QR code from the data it reads on standard input.
16 The QR code is generated as an
17 .IR image (6)
18 on standard output.
19 .PP
20 The
21 .B -LMQH
22 options set the level of error correction.
23 .B -L
24 is the lowest and
25 .B -H
26 is the highest level.
27 The default is
28 .BR -M .
29 .PP
30 The QR standard defines different sizes labelled version 1 to version 40.
31 By default the smallest possible is chosen automatically.
32 The
33 .B -v
34 option forces the use of a particular version.
35 .PP
36 By default bytes are encoded directly with no translation.
37 Coding efficiency can be increased by reducing the set of legitimate characters using the 
38 .B -an
39 options.
40 The 
41 .B -n
42 option supports only numbers and the
43 .B -a
44 option supports letters, numbers, spaces and the symbols 
45 .LR $%*+-./: .
46 Note that all letters are converted to upper case.
47 Both options ignore any characters they do not recognize.
48 .SH SOURCE
49 .B /sys/src/cmd/qr.c
50 .SH "SEE ALSO"
51 International Standard ISO/IEC 18004.
52 .SH BUGS
53 The standard specifies the use of JIS-8 encoding in the default mode, however rumour has it that readers recognize UTF-8.
54 .PP
55 The more advanced coding features (Kanji mode, extended modes, switching modes midstream) are not supported.
56