1XKBPRINT(1) General Commands Manual XKBPRINT(1)
2
3
4
6 xkbprint - print an XKB keyboard description
7
9 xkbprint [options] source [ output_file ]
10
12 The xkbprint command generates a printable or encapsulated PostScript
13 description of the XKB keyboard description specified by source. The
14 source can be any compiled keymap (.xkm) file that includes a geometry
15 description or an X display specification. If an output_file is speci‐
16 fied, xkbprint writes to it. If no output file is specified, xkbprint
17 creates replaces the extension of the source file with .ps or .eps
18 depending on the requested format. If the source is a non-local X dis‐
19 play (e.g.:0), xkbprint appends the appropriate prefix to the display
20 specification, replacing the colon with a dash. For a local display,
21 xkprint uses server-n where n is the number of the display.
22
24 -?, -help
25 Prints a usage message.
26
27 -color Print using the colors specified in the geometry file; by
28 default, xkbprint prints a black-and-white image of the key‐
29 board.
30
31 -dflts Attempt to compute default names for any missing components,
32 such as keys.
33
34 -diffs Show symbols only where they are explicitly bound.
35
36 -eps Generate an encapsulated PostScript file.
37
38 -fit Fit the keyboard image on the page (default).
39
40 -full Print the keyboard at full size.
41
42 -grid res
43 Print a grid with resmm resolution over the keyboard.
44
45 -if fontName
46 Specifies an internal PostScript type 1 font to dump to the
47 specified output file or to fontName.pfa, if no output file is
48 specified. No keyboard description is printed if an internal
49 font is dumped.
50
51 -label type
52 Specifies the labels to be printed on keys; legal types are:
53 none, name,code,symbols.
54
55 -lc <locale>
56 Specifies a locale in which KeySyms should be resolved.
57
58 -level1 Generate level 1 PostScript.
59
60 -level2 Generate level 2 PostScript.
61
62 -lg group
63 Print symbols in keyboard groups starting from group.
64
65 -ll level
66 Print symbols starting from shift level level.
67
68 -mono Generate black-and-white image of keyboard (default).
69
70 -n num Print num copies.
71
72 -nkg num
73 Print the symbols in num keyboard groups.
74
75 -npk num
76 Number of keyboard images to print on each page; for EPS files,
77 this specifies the total number of keyboard images to print.
78
79 -o file Write output to file.
80
81 -Rdirectory
82 Use directory as the root directory; all path names are inter‐
83 preted relative to directory.
84
85 -pict which
86 Controls use of pictographs instead of keysym names where
87 available. which can be any of all, none, or common(default).
88
89 -synch Forces synchronization for X requests.
90
91 -version
92 Print out the program version and exit.
93
94 -w level
95 Sets warning level (0 for no warning, 10 for all warnings).
96
98 X(7),xkbcomp(1)
99
101 Copyright 1995, Silicon Graphics Computer Systems Copyright 1995, 1998
102 The Open Group
103 See X(7) for a full statement of rights and permissions.
104
106 Erik Fortune, Silicon Graphics
107
108
109
110X Version 11 xkbprint 1.0.4 XKBPRINT(1)