<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="fprints">
  <refmeta>
    <refentrytitle>fprints</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>fprints</refname>
    <refpurpose>
      Similar to prints but prints to a file.
      <indexterm id="IndexFprints"><primary>fprints</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Similar to <link linkend="prints"><citetitle>prints</citetitle></link> but prints to a file.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis><command>fprints</command> &quot;filename&quot;, &quot;string&quot; [, kval1] [, kval2] [...]</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>&quot;filename&quot;</emphasis> -- name of the output file.
    </para>

    <para>
      <emphasis>&quot;string&quot;</emphasis> -- the text string to be printed. Can be up to 8192 characters and must be in double quotes.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>kval1, kval2, ...</emphasis> (optional) -- The k-rate values to be printed. These are specified in <emphasis><quote>string</quote></emphasis> with the standard C value specifier (%f, %d, etc.) in the order given.
    </para>

    <para>
      <emphasis>fprints</emphasis> is similar to the <link linkend="prints"><citetitle>prints</citetitle></link> opcode except it outputs to a file. For more information about output formatting, please look at <link linkend="printks"><citetitle>printks's documentation</citetitle></link>.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Examples</title>
    <para>
      Here is an example of the fprints opcode. It uses the files <ulink url="examples/fprints.orc"><citetitle>fprints.orc</citetitle></ulink> and <ulink url="examples/fprints.sco"><citetitle>fprints.sco</citetitle></ulink>.

      <example>
        <title>Example of the fprints opcode.</title>

        <programlisting>
<inlinemediaobject>
            <imageobject>
              <imagedata fileref="examples/fprints.orc" format="linespecific">
            </imageobject>
          </inlinemediaobject>
        </programlisting>

        <programlisting>
<inlinemediaobject>
            <imageobject>
              <imagedata fileref="examples/fprints.sco" format="linespecific">
            </imageobject>
          </inlinemediaobject>
        </programlisting>
      </example>

      This example will generate a file called <quote>my.sco</quote>. It should contain a line like this:

      <screen>
;Generated score by ma++
      </screen>
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="prints"><citetitle>prints</citetitle></link>
    </para>
  </refsect1>
 
  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: &namematt;</member>
        <member>January 2003</member>
      </simplelist>
    </para>
  </refsect1>
</refentry>
