Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > dd799ddbce0bd60fdd12e59c62dc0e03 > files > 19

opencbm-0.4.2a-5mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
 <TITLE>OpenCBM 0.4.2 Users Guide: Utilities: instcbm (Windows only)</TITLE>
 <LINK HREF="opencbm-17.html" REL=next>
 <LINK HREF="opencbm-15.html" REL=previous>
 <LINK HREF="opencbm.html#toc7" REL=contents>
</HEAD>
<BODY>
<A HREF="opencbm-17.html">Next</A>
<A HREF="opencbm-15.html">Previous</A>
<A HREF="opencbm.html#toc7">Contents</A>
<HR>
<H2><A NAME="instcbm"></A> 7.1 <A HREF="opencbm.html#toc7.1">instcbm (Windows only)</A></H2>

<P><I>instcbm</I> is used on Windows to install the OpenCBM driver.</P>

<H3><A NAME="instcbm command structure"></A> instcbm invocation</H3>

<P>Synopsis: <CODE>instcbm <I>[options]</I></CODE></P>
<P>
<DL>
<DT><B>-h, --help</B><DD><P>display help and exit.</P>

<DT><B>-V, --version</B><DD><P>display version information about cbm4win.</P>

<DT><B>-r, --remove</B><DD><P>remove (uninstall) the driver.</P>

<DT><B>-e, --enumpport</B><DD><P>re-enumerate the parallel port driver.</P>

<DT><B>-u, --update</B><DD><P>update parameters if driver is already installed. </P>

<DT><B>-l, --lpt=*no*</B><DD><P>set default LPT port to number <I>*no*</I>. For example, for LPT2, use <I>--lpt=2</I>.</P>
<P>If not specified, or <I>--lpt=0</I> is specified, use the first parallel port.</P>

<DT><B>-t, --cabletype=*TYPE*</B><DD><P>set cabletype to <I>*TYPE*</I>, which can be <I>auto</I>, <I>xa1541</I> or <I>xm1541</I>.</P>
<P>If not specified, <I>--cabletype=auto</I> is assumed.</P>

<DT><B>-L, --lock=*WHAT*</B><DD><P>automatically lock the driver. <I>*WHAT*</I> can be <I>yes</I> (automatically lock)
or <I>no</I> (do not automatically lock).</P>
<P>If not specified, <I>--lock=yes</I> is assumed.</P>

<DT><B>-n, --nocopy</B><DD><P>do not copy the driver files into the system directory. This is not recommended.</P>

<DT><B>-c, --check</B><DD><P>only check if the installation is ok. Do not install or uninstall anything.</P>

<DT><B>-F, --forcent4</B><DD><P>force the NT4 driver on a Win 2000, XP, or newer systems (NOT RECOMMENDED!).
This option is only available on i386 architectures; AMD64 and iA64 do not support it.</P>

<DT><B>-A, --automatic</B><DD><P>(default) automatically start the driver on system boot.a</P>
<P>The driver can be used from a normal user, no need for administrator rights.
The opposite of <I>--on-demand</I>.</P>

<DT><B>-O, --on-demand</B><DD><P>start the driver only on demand.</P>
<P>The opposite of <I>--automatic</I>.</P>

</DL>
</P>

<H3><A NAME="instcbm examples"></A> instcbm Examples</H3>

<P>Install the driver and the DLL on the machine. The driver and the DLL
are copied into the Windows system directory, so OpenCBM can be used from
every program:
<HR>
<PRE>
instcbm
</PRE>
<HR>
</P>

<P>Install the driver, like above. Additionally, specify that you
are using an XM1541 cable:
<HR>
<PRE>
instcbm --cabletype=xm1541
</PRE>
<HR>
</P>

<P>Check if the installation was set up successfully:
<HR>
<PRE>
instcbm --check
</PRE>
<HR>
</P>

<P>Remove the driver from the system. You will not be able to use OpenCBM
after this command, unless you re-install it. If files were copied into
the Windows system directory, they will be removed:
<HR>
<PRE>
instcbm --remove
</PRE>
<HR>
</P>

<P>After OpenCBM has been installed (with <I>instcbm</I>>), change the parallel
port to be used to 2:
<HR>
<PRE>
instcbm --lpt=2 --update
</PRE>
<HR>
</P>

<P>Install OpenCBM, directly specifying LPT3 as the parallel port to use:
<HR>
<PRE>
instcbm --lpt=3
</PRE>
<HR>
</P>

<P>Install the DLL and the driver on the machine. Do not copy the files to the
Windows system directory, but leave them "where they are". If you use this
option, the directory where your files resides must be accessible for the
system while booting. For example, network drives, USB drives or FireWire
drives are not allowed.
<HR>
<PRE>
instcbm --nocopy
</PRE>
<HR>
</P>

<HR>
<A HREF="opencbm-17.html">Next</A>
<A HREF="opencbm-15.html">Previous</A>
<A HREF="opencbm.html#toc7">Contents</A>
</BODY>
</HTML>