man pages section 1: User Commands

Exit Print View

Updated: July 2014

xkbprint (1)


xkbprint - print an XKB keyboard description


/usr/bin/xkbprint [options] source [ output_file ]


User Commands                                         XKBPRINT(1)

     xkbprint - print an XKB keyboard description

     /usr/bin/xkbprint [options] source [ output_file ]

     The  xkbprint  command generates a printable or encapsulated
     PostScript description of the XKB keyboard description spec-
     ified  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, replac-
     ing  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.

     -color  Print using the colors  specified  in  the  geometry
             file;  by default, 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 key-

     -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  descrip-
             tion 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.

X Version 11       Last change: xkbprint 1.0.3                  1

User Commands                                         XKBPRINT(1)

     -lc <locale>
             Specifies  a  locale  in  which  KeySyms  should  be

     -level1 Generate level 1 PostScript.

     -level2 Generate level 2 PostScript.

     -lg group
             Print  symbols  in  keyboard  groups  starting  from

     -ll level
             Print symbols starting from shift level level.

     -mono   Generate   black-and-white   image    of    keyboard

     -n num  Print num copies.

     -nkg num
             Print the symbols in num keyboard groups.

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

     -o file Write output to file.

             Use  directory as the root directory; all path names
             are interpreted relative to directory.

     -pict which
             Controls use of pictographs instead of keysym  names
             where  available.  which can be any of all, none, or

     -synch  Forces synchronization for X requests.

     -w level
             Sets warning level (0 for no  warning,  10  for  all


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

X Version 11       Last change: xkbprint 1.0.3                  2

User Commands                                         XKBPRINT(1)

     Erik Fortune, Silicon Graphics

     See  attributes(5)  for  descriptions   of   the   following

     |      ATTRIBUTE TYPE         |      ATTRIBUTE VALUE        |
     |Availability                 |x11/keyboard/xkb-utilities   |
     |Interface Stability          |Committed                    |

X Version 11       Last change: xkbprint 1.0.3                  3