Scroll to navigation

XKBPRINT(1) General Commands Manual XKBPRINT(1)


xkbprint - print an XKB keyboard description


xkbprint [options] source [ output_file ]


The xkbprint command generates a printable or encapsulated PostScript description of the XKB keyboard description specified by source. The source can be any compiled keymap (.xkm) file that includes a geometry description or an X display specification. If an output_file is specified, xkbprint writes to it. If no output file is specified, xkbprint creates replaces the extension of the source file with .ps or .eps depending on the requested format. If the 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, xkprint uses server-n where n is the number of the display.


-?, -help
Prints a usage message.
Print using the colors specified in the geometry file; by default, xkbprint prints a black-and-white image of the keyboard.
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.
Print a grid with res mm resolution over the keyboard.
Specifies an internal PostScript type 1 font to dump 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.
Specifies the labels to be printed on keys; valid types are: none, name, code, and symbols.
Specifies a locale in which KeySyms should be resolved.
Generate level 1 PostScript.
Generate level 2 PostScript.
Print symbols in keyboard groups starting from group.
Print symbols starting from shift level level.
Generate black-and-white image of keyboard (default).
Print num copies.
Print the symbols in num keyboard groups.
Number of keyboard images to print on each page; for EPS files, this specifies the total number of keyboard images to print.
Write output to file.
Use directory as the root directory; all path names are interpreted relative to directory.
Controls use of pictographs instead of keysym names where available. which can be any of all, none, or common (default).
Forces synchronization for X requests.
Print out the program version and exit.
Sets warning level (0 for no warning, 10 for all warnings).


X(7), xkbcomp(1)


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


Erik Fortune, Silicon Graphics

xkbprint 1.0.5 X Version 11