<doc>
  <legacy_id>1065</legacy_id>
  <name>answer printer</name>
  <type>command</type>
  <syntax>
    <example>answer printer [as sheet]</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Windows  Dialog Boxes</category>
    <category>Printing</category>
  </classification>
  <references>
    <command tag="answer">answer Command</command>
    <command tag="open printing">open printing Command</command>
    <property tag="printMargins">printMargins Property</property>
    <command tag="revShowPrintDialog">revShowPrintDialog Command</command>
    <property tag="systemPrintSelector">systemPrintSelector Property</property>
    <property tag="printPaperOrientation">printPaperOrientation Property</property>
    <property tag="availablePrinters">availablePrinters Property</property>
    <property tag="printerName">printerName Property</property>
    <property tag="printerOutput">printerOutput Property</property>
    <property tag="printPaperSize">printPaperSize Property</property>
    <property tag="printPaperScale">printPaperScale Property</property>
    <property tag="printRanges">printRanges Property</property>
    <property tag="printCopies">printCopies Property</property>
    <property tag="printerSettings">printerSettings Property</property>
    <command tag="revPrintField">revPrintField Command</command>
    <command tag="revPrintText">revPrintText Command</command>
    <command tag="answer page setup">answer page setup Command</command>
    <command tag="reset printing">reset printing Command</command>
    <property tag="printRotated">printRotated Property</property>
    <property tag="formatForPrinting">formatForPrinting Property</property>
    <property tag="printerFeatures">printerFeatures Property</property>
    <property tag="printPaperRectangle">printPaperRectangle Property</property>
    <property tag="printRectangle">printRectangle Property</property>
    <command tag="print">print Command</command>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
    <changed version="2.9"></changed>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
  </platforms>
  <classes>
    <desktop/>
    <web/>
  </classes>
  <security>
    <printing/>
  </security>
  <summary>Displays the appropriate printer selection dialog for the platform.</summary>
  <examples>
    <example>answer printer</example>
    <example>if the commandKey is down then</p><p>  answer printer</p><p>end if</example>
  </examples>
  <description>
    <p>Use the <b>answer printer</b> <glossary tag="command">command</glossary> to select a printer and set standard printing options for later printing.</p><p/><p><b>Comments:</b></p><p>The <b>answer printer</b> <glossary tag="command">command</glossary> displays a <glossary tag="dialog box">dialog box</glossary> where the user can set certain print-related <property tag="properties">properties</property>. </p><p/><p>If the <property tag="systemPrintSelector">systemPrintSelector property</property> is false or the system does not support native print dialogs a stack named "Printer Dialog" will be used. If the <property tag="systemPrintSelector">systemPrintSelector property</property> is true then a dialog will be displayed by the operating system, in this case the exact options are determined by the printer driver and the operating system.</p><p/><p>If the user does not cancel the dialog, upon return the printer setting properties will be updated to reflect their choices.</p><p/><p><b>Note:</b> If the user clicks the cancel button of the answer printer dialog, then "cancel" is put into the result.</p>
  </description>
</doc>