xkbprint
print an XKB keyboard description
SYNOPSIS
xkbprint [options] source [ output_file ]
DESCRIPTION
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 speci‐ fied, xkbprint writes to it. If no output file is specified, xkbprint creates replaces the extension of the source file with .ps or .eps de‐ pending on the requested format. If the source is a non-local X dis‐ play (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.
OPTIONS
-?, -help
Prints a usage message.
-color Print using the colors specified in the geometry file; by de‐
fault, xkbprint prints a black-and-white image of the keyboard.
-dflts Attempt to compute default names for any missing components,
such as keys.
-diffs Show symbols only where they are explicitly bound.
-eps Generate an encapsulated PostScript file.
-fit Fit the keyboard image on the page (default).
-full Print the keyboard at full size.
-grid res
Print a grid with resmm resolution over the keyboard.
-if fontName
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.
-label type
Specifies the labels to be printed on keys; legal types are:
none, name,code,symbols.
-lc
COPYRIGHT
Copyright 1995, Silicon Graphics Computer Systems Copyright 1995, 1998 The Open Group See X(7) for a full statement of rights and permissions.
SEE ALSO
X(7) xkbcomp(1)
AUTHOR
Erik Fortune, Silicon Graphics