Section: Misc. Reference Manual Pages (1x)
Updated: Release 6.6
Index Return to Main Contents


xkbprint - print an XKB keyboard description  


xkbprint [option ...] source [output_file]  


The xkbprint command generates a printable or encapsulated PostScript description of the XKB keyboard description specifed by source. source can be an X display specification or any compiled keymap (.xkm) file that includes a geometry description If output_file is specified, xkbprint writes to it. If no output file is specified, xkbprint creates a file of the name name as source, replacing the extension of the source file with .ps or .eps depending on the requested format. If source is a non-local X display (e.g., :0), xkbprint appends the appropriate prefix to the display specification, replacing the colon with a dash. For a local display, xkbprint uses server-n, where n is the server number of the display.  


-?, -help
Print a usage message and exit.
Print using the colors specified in the geometry file; by default, xkbprint prints a black-and-white image of the keyboard.
Report debugging information. This option is only available if debugging support was compiled into xkbprint.
Attempt to compute default names for any missing components, such as keys.
Show symbols only where they are explicitly bound.
Generate an encapsulated PostScript file.
Fit the keyboard image on the page (default).
Print the keyboard at full size.
-grid res
Print a grid over the keyboard with lines res millimeters apart.
Use the specified directory (an absolute path) for include directives. This option may be specified multiple times, and is only available if debugging support was compiled into xkbprint.
-if fontName
Dump the specified font as an internal PostScript Type 1 font to the specified output file, or to fontName.pfa if no output file is specified. No keyboard description is printed if an internal font is dumped.
Print keycodes, if possible.
-label type
Print labels on the keys of the specified type; none, name, code, and symbols are accepted.
-lc locale
Resolve keysyms in the specified locale.
Generate level 1 PostScript.
Generate level 2 PostScript.
-lg group
Print symbols in keyboard groups starting from group.
-ll level
Print symbols starting from the specified shift level.
Generate black-and-white image of keyboard (default).
-n num
Print num copies.
-nkg num
Print the symbols in num keyboard groups.
Do not print keycodes, even if it is possible.
-npk num
Print num keyboard images on each page; for EPS files, this specifies the total number of keyboard images to print.
-ntg num
Print no more than num total groups.
-o file
Write output to file.
Use directory as the root directory; all path names are interpreted relative to directory.
-pict which
Use pictographs (where available) instead of keysym names according to the specified policy. which can be any of all, none, or common (default).
Force synchronization of X requests.
-w level
Set warning level to specified value (0 for no warning, 10 for all warnings).


X(7x), setxkbmap(1x), xkbbell(1x), xkbcomp(1x), xkbevd(1x), xkbvleds(1x), xkbwatch(1x)  


Copyright 1995, Silicon Graphics Computer Systems
Copyright 1995, 1998 The Open Group
See X(7x) for a full statement of rights and permissions.  


Erik Fortune, Silicon Graphics




This document was created by man2html, using the manual pages.
Time: 02:00:25 GMT, November 21, 2018