man-pages/man1/xkbprint.1.html
2021-03-31 01:06:50 +01:00

191 lines
4.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of XKBPRINT</TITLE>
</HEAD><BODY>
<H1>XKBPRINT</H1>
Section: User Commands (1)<BR>Updated: xkbprint 1.0.5<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
xkbprint - print an XKB keyboard description
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>xkbprint</B>
[options] source [ output_file ]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
The
<I>xkbprint</I>
command generates a printable or encapsulated PostScript description of the
XKB keyboard description specified by <I>source</I>. The <I>source</I> can be
any compiled keymap (.xkm) file that includes a geometry description or an
X display specification. If an <I>output_file</I> is specified, xkbprint
writes to it. If no output file is specified, xkbprint creates replaces
the extension of the source file with <I>.ps</I> or <I>.eps</I> 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-<I>n</I> where <I>n</I> is the number of the display.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-?, -help</B>
<DD>
Prints a usage message.
<DT id="2"><B>-color</B>
<DD>
Print using the colors specified in the geometry file; by default, xkbprint
prints a black-and-white image of the keyboard.
<DT id="3"><B>-dflts</B>
<DD>
Attempt to compute default names for any missing components, such as keys.
<DT id="4"><B>-diffs</B>
<DD>
Show symbols only where they are explicitly bound.
<DT id="5"><B>-eps</B>
<DD>
Generate an encapsulated PostScript file.
<DT id="6"><B>-fit</B>
<DD>
Fit the keyboard image on the page (default).
<DT id="7"><B>-full</B>
<DD>
Print the keyboard at full size.
<DT id="8"><B>-grid&nbsp;</B><I>res</I>
<DD>
Print a grid with <I>res</I>&nbsp;mm resolution over the keyboard.
<DT id="9"><B>-if&nbsp;</B><I>fontName</I>
<DD>
Specifies an internal PostScript type 1 font to dump to the specified
output file or to <I>fontName</I>.pfa, if no output file is specified.
No keyboard description is printed if an internal font is dumped.
<DT id="10"><B>-label&nbsp;</B><I>type</I>
<DD>
Specifies the labels to be printed on keys; valid types are: <I>none</I>,
<I>name</I>, <I>code</I>, and <I>symbols</I>.
<DT id="11"><B>-lc&nbsp;</B><I>&lt;locale&gt;</I>
<DD>
Specifies a locale in which KeySyms should be resolved.
<DT id="12"><B>-level1</B>
<DD>
Generate level 1 PostScript.
<DT id="13"><B>-level2</B>
<DD>
Generate level 2 PostScript.
<DT id="14"><B>-lg&nbsp;</B><I>group</I>
<DD>
Print symbols in keyboard groups starting from <I>group</I>.
<DT id="15"><B>-ll&nbsp;</B><I>level</I>
<DD>
Print symbols starting from shift level <I>level</I>.
<DT id="16"><B>-mono</B>
<DD>
Generate black-and-white image of keyboard (default).
<DT id="17"><B>-n&nbsp;</B><I>num</I>
<DD>
Print <I>num</I> copies.
<DT id="18"><B>-nkg&nbsp;</B><I>num</I>
<DD>
Print the symbols in <I>num</I> keyboard groups.
<DT id="19"><B>-npk&nbsp;</B><I>num</I>
<DD>
Number of keyboard images to print on each page; for EPS files, this
specifies the total number of keyboard images to print.
<DT id="20"><B>-o&nbsp;</B><I>file</I>
<DD>
Write output to <I>file</I>.
<DT id="21"><B>-R</B><I>directory</I>
<DD>
Use <I>directory</I> as the root directory; all path names are interpreted
relative to <I>directory</I>.
<DT id="22"><B>-pict </B><I>which</I>
<DD>
Controls use of pictographs instead of keysym names where available.
<I>which</I> can be any of <I>all</I>, <I>none</I>, or <I>common</I> (default).
<DT id="23"><B>-synch</B>
<DD>
Forces synchronization for X requests.
<DT id="24"><B>-version</B>
<DD>
Print out the program version and exit.
<DT id="25"><B>-w&nbsp;</B><I>level</I>
<DD>
Sets warning level (0 for no warning, 10 for all warnings).
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?7+X">X</A></B>(7),
<B><A HREF="/cgi-bin/man/man2html?1+xkbcomp">xkbcomp</A></B>(1)
<A NAME="lbAG">&nbsp;</A>
<H2>COPYRIGHT</H2>
Copyright 1995, Silicon Graphics Computer Systems
Copyright 1995, 1998 The Open Group
<BR>
See
<B><A HREF="/cgi-bin/man/man2html?7+X">X</A></B>(7)
for a full statement of rights and permissions.
<A NAME="lbAH">&nbsp;</A>
<H2>AUTHOR</H2>
Erik Fortune, Silicon Graphics
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="26"><A HREF="#lbAB">NAME</A><DD>
<DT id="27"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="28"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="29"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="30"><A HREF="#lbAF">SEE ALSO</A><DD>
<DT id="31"><A HREF="#lbAG">COPYRIGHT</A><DD>
<DT id="32"><A HREF="#lbAH">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:31 GMT, March 31, 2021
</BODY>
</HTML>