<RefEntry id="print-backendX29">
<!-- This file is generated automatically from the DSSSL source. -->
<!-- Do not edit this file! -->
<?html-filename print-backend.html>

<RefMeta>
  <RefEntryTitle>print-backend</RefEntryTitle>
  <RefMiscInfo Role="file">dbparam.dsl</RefMiscInfo>
</RefMeta>

<RefNameDiv>
  <RefName>print-backend</RefName>
  <RefPurpose>Returns the backend that is being used to format the document</RefPurpose>
</RefNameDiv>

<RefSynopsisDiv><Title>Synopsis</Title>
<Synopsis>
(print-backend)
</Synopsis>
</RefSynopsisDiv>

<RefSect1><Title>Description</Title>

<para>
This parameter controls features in the stylesheet that are backend
specific.  The legal values are <literal>rtf</literal>, <literal>tex</literal>, <literal>mif</literal>, and <literal>#f</literal>. Using
<literal>#f</literal> implies that no special features are used.</para>


</RefSect1>
<RefSect1><Title>Source Code</Title>

<ProgramListing>
(define (print-backend)
  ;; Returns the backend that is being used to format the document
  (cond
   (tex-backend 'tex)
   (mif-backend 'mif)
   (rtf-backend 'rtf)
   (else default-backend)))
</ProgramListing>
</RefSect1>

</RefEntry>
