# xkbprint(1) - man - phpMan

[XKBPRINT(1)](https://www.chedong.com/phpMan.php/man/XKBPRINT/1/markdown)                            General Commands Manual                           [XKBPRINT(1)](https://www.chedong.com/phpMan.php/man/XKBPRINT/1/markdown)



## NAME
       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
       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 dis‐
       play  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
               black-and-white image of the keyboard.

### -dflts

### -diffs

### -eps

### -fit

### -full

### -grid
               Print a grid with _res_ mm resolution over the keyboard.

### -if
               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
               Specifies  the  labels to be printed on keys;  valid types are: _none_, _name_, _code_, and
               _symbols_.

### -lc
               Specifies a locale in which KeySyms should be resolved.

### -level1

### -level2

### -lg
               Print symbols in keyboard groups starting from _group_.

### -ll
               Print symbols starting from shift level _level_.

### -mono

### -n

### -nkg
               Print the symbols in _num_ keyboard groups.

### -npk
               Number of keyboard images to print on each page; for EPS files,  this  specifies  the
               total number of keyboard images to print.

### -o

### -R
               Use  _directory_  as the root directory; all path names are interpreted relative to _di__‐
               _rectory_.

### -pict
               Controls use of pictographs instead of keysym names where available.   _which_  can  be
               any of _all_, _none_, or _common_ (default).

### -synch

### -version
               Print out the program version and exit.

### -w
               Sets warning level (0 for no warning, 10 for all warnings).

## SEE ALSO
       [**X**(7)](https://www.chedong.com/phpMan.php/man/X/7/markdown), [**xkbcomp**(1)](https://www.chedong.com/phpMan.php/man/xkbcomp/1/markdown)

## COPYRIGHT
       Copyright 1995, Silicon Graphics Computer Systems Copyright 1995, 1998  The Open Group
       See [**X**(7)](https://www.chedong.com/phpMan.php/man/X/7/markdown) for a full statement of rights and permissions.

## AUTHOR
       Erik Fortune, Silicon Graphics



X Version 11                               xkbprint 1.0.5                                [XKBPRINT(1)](https://www.chedong.com/phpMan.php/man/XKBPRINT/1/markdown)
