<doc>
  <legacy_id>2366</legacy_id>
  <name>printer:</name>
  <type>keyword</type>
  <syntax>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Networks &amp; Communication</category>
  </classification>
  <references>
    <command tag="write to driver">write to driver Command</command>
    <command tag="close file">close file Command</command>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
  </classes>
  <security>
  </security>
  <summary>Used with the <command tag="open file">open file</command>, <command tag="read from file">read from file</command>, <command tag="write to file">write to file</command>, and <command tag="close file">close file</command> <glossary tag="command">commands</glossary> to specify the printer <glossary tag="port">port</glossary> on <glossary tag="Mac OS">Mac OS systems</glossary>.</summary>
  <examples>
    <example>open file "printer:"</example>
  </examples>
  <description>
    <p>Use the <b>printer:</b> <glossary tag="keyword">keyword</glossary> to communicate through the printer serial <glossary tag="port">port</glossary>.</p><p/><p><b>Comments:</b></p><p>To set the port parameters (such as baud rate, handshaking, and parity), set the <b>serialControlString</b> <glossary tag="property">property</glossary> before opening the <glossary tag="port">port</glossary> with the <command tag="open file">open file</command> <glossary tag="command">command</glossary>.</p><p/><p>To read data from the printer port, use the <b>read from file</b> <glossary tag="command">command</glossary>, specifying the keyword<code> printer: </code>as the file to read from.</p><p/><p>To write data to the printer port, use the <b>write to file</b> <glossary tag="command">command</glossary>.</p><p/><p>To use the modem port on Mac OS systems, use the <b>modem:</b> <glossary tag="keyword">keyword</glossary>. (LiveCode does not support additional serial <glossary tag="port">ports</glossary>.) To use serial <glossary tag="port">ports</glossary> on <glossary tag="Windows">Windows systems</glossary>, use the <keyword tag="COMn:">COM1:</keyword> through <keyword tag="COMn:">COM9:</keyword> <glossary tag="keyword">keywords</glossary>.</p>
  </description>
</doc>