Debian Codegraph @

xkbprint/man/xkbprint.man

raw
1 .\"
2 .TH XKBPRINT 1 __xorgversion__
3 .SH NAME
4 xkbprint \- print an XKB keyboard description
5 .SH SYNOPSIS
6 .B xkbprint
7 [options] source [ output_file ]
8 .SH DESCRIPTION
9 .PP
10 The
11 .I xkbprint
12 command generates a printable or encapsulated PostScript description of the
13 XKB keyboard description specified by \fIsource\fP. The \fIsource\fP can be
14 any compiled keymap (.xkm) file that includes a geometry description or an
15 X display specification. If an \fIoutput_file\fP is specified, xkbprint
16 writes to it. If no output file is specified, xkbprint creates replaces
17 the extension of the source file with \fI.ps\fP or \fI.eps\fP depending
18 on the requested format. If the source is a non-local X display (e.g.:0),
19 xkbprint appends the appropriate prefix to the display specification,
20 replacing the colon with a dash. For a local display, xkprint uses
21 server-\fIn\fP where \fIn\fP is the number of the display.
22 .SH OPTIONS
23 .TP 8
24 .B \-?, \-help
25 Prints a usage message.
26 .TP 8
27 .B \-color
28 Print using the colors specified in the geometry file; by default, xkbprint
29 prints a black-and-white image of the keyboard.
30 .TP 8
31 .B \-dflts
32 Attempt to compute default names for any missing components, such as keys.
33 .TP 8
34 .B \-diffs
35 Show symbols only where they are explicitly bound.
36 .TP 8
37 .B \-eps
38 Generate an encapsulated PostScript file.
39 .TP 8
40 .B \-fit
41 Fit the keyboard image on the page (default).
42 .TP 8
43 .B \-full
44 Print the keyboard at full size.
45 .TP 8
46 .B \-grid\ \fIres\fP
47 Print a grid with \fIres\fP\ mm resolution over the keyboard.
48 .TP 8
49 .B \-if\ \fIfontName\fP
50 Specifies an internal PostScript type 1 font to dump to the specified
51 output file or to \fIfontName\fP.pfa, if no output file is specified.
52 No keyboard description is printed if an internal font is dumped.
53 .TP 8
54 .B \-label\ \fItype\fP
55 Specifies the labels to be printed on keys; valid types are: \fInone\fP,
56 \fIname\fP, \fIcode\fP, and \fIsymbols\fP.
57 .TP 8
58 .B \-lc\ \fI<locale>\fP
59 Specifies a locale in which KeySyms should be resolved.
60 .TP 8
61 .B \-level1
62 Generate level 1 PostScript.
63 .TP 8
64 .B \-level2
65 Generate level 2 PostScript.
66 .TP 8
67 .B \-lg\ \fIgroup\fP
68 Print symbols in keyboard groups starting from \fIgroup\fP.
69 .TP 8
70 .B \-ll\ \fIlevel\fP
71 Print symbols starting from shift level \fIlevel\fP.
72 .TP 8
73 .B \-mono
74 Generate black-and-white image of keyboard (default).
75 .TP 8
76 .B \-n\ \fInum\fP
77 Print \fInum\fP copies.
78 .TP 8
79 .B \-nkg\ \fInum\fP
80 Print the symbols in \fInum\fP keyboard groups.
81 .TP 8
82 .B \-npk\ \fInum\fP
83 Number of keyboard images to print on each page; for EPS files, this
84 specifies the total number of keyboard images to print.
85 .TP 8
86 .B \-o\ \fIfile\fP
87 Write output to \fIfile\fP.
88 .TP 8
89 .B \-R\fIdirectory\fP
90 Use \fIdirectory\fP as the root directory; all path names are interpreted
91 relative to \fIdirectory\fP.
92 .TP 8
93 .B \-pict \fIwhich\fP
94 Controls use of pictographs instead of keysym names where available.
95 \fIwhich\fP can be any of \fIall\fP, \fInone\fP, or \fIcommon\fP (default).
96 .TP 8
97 .B \-synch
98 Forces synchronization for X requests.
99 .TP 8
100 .B \-version
101 Print out the program version and exit.
102 .TP 8
103 .B \-w\ \fIlevel\fP
104 Sets warning level (0 for no warning, 10 for all warnings).
105 .SH "SEE ALSO"
106 .BR X (__miscmansuffix__),
107 .BR xkbcomp (__appmansuffix__)
108 .SH AUTHOR
109 Erik Fortune, Silicon Graphics