<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.8">
  <compounddef id="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector" kind="class" prot="public">
    <compoundname>Mike42::Escpos::PrintConnectors::CupsPrintConnector</compoundname>
    <basecompoundref refid="interfaceMike42_1_1Escpos_1_1PrintConnectors_1_1PrintConnector" prot="public" virt="non-virtual">Mike42\Escpos\PrintConnectors\PrintConnector</basecompoundref>
      <sectiondef kind="private-attrib">
      <memberdef kind="variable" id="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector_1a2ca93be745a2445cd7b41af449cd0f60" prot="private" static="no" mutable="no">
        <type></type>
        <definition>array Mike42\Escpos\PrintConnectors\CupsPrintConnector::$buffer</definition>
        <argsstring></argsstring>
        <name>$buffer</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Buffer of accumilated data. </para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" line="29" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" bodystart="29" bodyend="-1"/>
      </memberdef>
      <memberdef kind="variable" id="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector_1a24c4745b695279234d83687ee2def610" prot="private" static="no" mutable="no">
        <type></type>
        <definition>string Mike42\Escpos\PrintConnectors\CupsPrintConnector::$printerName</definition>
        <argsstring></argsstring>
        <name>$printerName</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>The name of the target printer. </para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" line="36" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" bodystart="36" bodyend="-1"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="public-func">
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector_1ac1132838e25a1521c714d7e9b5341f4e" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\PrintConnectors\CupsPrintConnector::__construct</definition>
        <argsstring>($dest)</argsstring>
        <name>__construct</name>
        <param>
          <declname>$dest</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Construct new CUPS print connector.</para><para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametertype>string</parametertype>
<parametername>$dest</parametername>
</parameternamelist>
<parameterdescription>
<para>The CUPS printer name to print to. This must be loaded using a raw driver. </para></parameterdescription>
</parameteritem>
</parameterlist>
<parameterlist kind="exception"><parameteritem>
<parameternamelist>
<parametername>BadMethodCallException</parametername>
</parameternamelist>
<parameterdescription>
<para></para></parameterdescription>
</parameteritem>
</parameterlist>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" line="45" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" bodystart="45" bodyend="59"/>
      </memberdef>
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector_1a910d02d262fda32f97061950defff4ef" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\PrintConnectors\CupsPrintConnector::__destruct</definition>
        <argsstring>()</argsstring>
        <name>__destruct</name>
        <reimplements refid="interfaceMike42_1_1Escpos_1_1PrintConnectors_1_1PrintConnector_1a55b7f305e73ba0d617a47eb2ab5b405a">__destruct</reimplements>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Cause a NOTICE if deconstructed before the job was printed. </para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" line="64" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" bodystart="64" bodyend="69"/>
      </memberdef>
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector_1a7f36415ba67d39a05747989d5faecb4c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\PrintConnectors\CupsPrintConnector::finalize</definition>
        <argsstring>()</argsstring>
        <name>finalize</name>
        <reimplements refid="interfaceMike42_1_1Escpos_1_1PrintConnectors_1_1PrintConnector_1a1cb3ab37b06121fcafdb9d2d0679baa2">finalize</reimplements>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Send job to printer. </para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" line="74" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" bodystart="74" bodyend="94"/>
      </memberdef>
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector_1ad69b61d01054e6a29eb2c95d0fcb91fb" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\PrintConnectors\CupsPrintConnector::read</definition>
        <argsstring>($len)</argsstring>
        <name>read</name>
        <reimplements refid="interfaceMike42_1_1Escpos_1_1PrintConnectors_1_1PrintConnector_1aec57437e3927972269f0803e9f86782e">read</reimplements>
        <param>
          <declname>$len</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Read data from the printer.</para><para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametertype>string</parametertype>
<parametername>$len</parametername>
</parameternamelist>
<parameterdescription>
<para>Length of data to read. </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>Data read from the printer, or false where reading is not possible. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" line="139" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" bodystart="139" bodyend="142"/>
      </memberdef>
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector_1a00f342b5c11d71ccd05c55029ca04247" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\PrintConnectors\CupsPrintConnector::write</definition>
        <argsstring>($data)</argsstring>
        <name>write</name>
        <reimplements refid="interfaceMike42_1_1Escpos_1_1PrintConnectors_1_1PrintConnector_1afcfd2d805f8de8eb9c9d2abfbed232ab">write</reimplements>
        <param>
          <declname>$data</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametertype>string</parametertype>
<parametername>$data</parametername>
</parameternamelist>
<parameterdescription>
<para></para></parameterdescription>
</parameteritem>
</parameterlist>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" line="147" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" bodystart="147" bodyend="150"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="protected-func">
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector_1a682f3d6100be114e1e587c89b2444d43" prot="protected" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\PrintConnectors\CupsPrintConnector::getCmdOutput</definition>
        <argsstring>($cmd)</argsstring>
        <name>getCmdOutput</name>
        <param>
          <declname>$cmd</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Run a command and throw an exception if it fails, or return the output if it works. (Basically exec() with good error handling)</para><para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametertype>string</parametertype>
<parametername>$cmd</parametername>
</parameternamelist>
<parameterdescription>
<para>Command to run </para></parameterdescription>
</parameteritem>
</parameterlist>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" line="103" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" bodystart="103" bodyend="131"/>
      </memberdef>
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector_1a2607c56d448a817aaa5f9a79b77b6334" prot="protected" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\PrintConnectors\CupsPrintConnector::getLocalPrinters</definition>
        <argsstring>()</argsstring>
        <name>getLocalPrinters</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Load a list of CUPS printers.</para><para><simplesect kind="return"><para>array A list of printer names installed on this system. Any item on this list is valid for constructing a printer. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" line="158" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" bodystart="158" bodyend="166"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="private-func">
      <memberdef kind="function" id="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector_1ae3136a0088055f68ac9439cea582bbe3" prot="private" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>Mike42\Escpos\PrintConnectors\CupsPrintConnector::chopLpstatLine</definition>
        <argsstring>($line)</argsstring>
        <name>chopLpstatLine</name>
        <param>
          <declname>$line</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Get the item before the first space in a string</para><para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametertype>string</parametertype>
<parametername>$line</parametername>
</parameternamelist>
<parameterdescription>
<para></para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>string the string, up to the first space, or the whole string if it contains no spaces. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" line="174" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" bodystart="174" bodyend="181"/>
      </memberdef>
      </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
<para>Print connector that passes print data to CUPS print commands. Your printer mut be installed on the local CUPS instance to use this connector. </para>    </detaileddescription>
    <inheritancegraph>
      <node id="99">
        <label>Mike42\Escpos\PrintConnectors\CupsPrintConnector</label>
        <link refid="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector"/>
        <childnode refid="100" relation="public-inheritance">
        </childnode>
      </node>
      <node id="100">
        <label>Mike42\Escpos\PrintConnectors\PrintConnector</label>
        <link refid="interfaceMike42_1_1Escpos_1_1PrintConnectors_1_1PrintConnector"/>
      </node>
    </inheritancegraph>
    <collaborationgraph>
      <node id="101">
        <label>Mike42\Escpos\PrintConnectors\CupsPrintConnector</label>
        <link refid="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector"/>
        <childnode refid="102" relation="public-inheritance">
        </childnode>
      </node>
      <node id="102">
        <label>Mike42\Escpos\PrintConnectors\PrintConnector</label>
        <link refid="interfaceMike42_1_1Escpos_1_1PrintConnectors_1_1PrintConnector"/>
      </node>
    </collaborationgraph>
    <location file="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" line="23" column="1" bodyfile="C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/CupsPrintConnector.php" bodystart="22" bodyend="182"/>
    <listofallmembers>
      <member refid="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector_1a2ca93be745a2445cd7b41af449cd0f60" prot="private" virt="non-virtual"><scope>Mike42::Escpos::PrintConnectors::CupsPrintConnector</scope><name>$buffer</name></member>
      <member refid="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector_1a24c4745b695279234d83687ee2def610" prot="private" virt="non-virtual"><scope>Mike42::Escpos::PrintConnectors::CupsPrintConnector</scope><name>$printerName</name></member>
      <member refid="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector_1ac1132838e25a1521c714d7e9b5341f4e" prot="public" virt="non-virtual"><scope>Mike42::Escpos::PrintConnectors::CupsPrintConnector</scope><name>__construct</name></member>
      <member refid="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector_1a910d02d262fda32f97061950defff4ef" prot="public" virt="non-virtual"><scope>Mike42::Escpos::PrintConnectors::CupsPrintConnector</scope><name>__destruct</name></member>
      <member refid="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector_1ae3136a0088055f68ac9439cea582bbe3" prot="private" virt="non-virtual"><scope>Mike42::Escpos::PrintConnectors::CupsPrintConnector</scope><name>chopLpstatLine</name></member>
      <member refid="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector_1a7f36415ba67d39a05747989d5faecb4c" prot="public" virt="non-virtual"><scope>Mike42::Escpos::PrintConnectors::CupsPrintConnector</scope><name>finalize</name></member>
      <member refid="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector_1a682f3d6100be114e1e587c89b2444d43" prot="protected" virt="non-virtual"><scope>Mike42::Escpos::PrintConnectors::CupsPrintConnector</scope><name>getCmdOutput</name></member>
      <member refid="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector_1a2607c56d448a817aaa5f9a79b77b6334" prot="protected" virt="non-virtual"><scope>Mike42::Escpos::PrintConnectors::CupsPrintConnector</scope><name>getLocalPrinters</name></member>
      <member refid="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector_1ad69b61d01054e6a29eb2c95d0fcb91fb" prot="public" virt="non-virtual"><scope>Mike42::Escpos::PrintConnectors::CupsPrintConnector</scope><name>read</name></member>
      <member refid="classMike42_1_1Escpos_1_1PrintConnectors_1_1CupsPrintConnector_1a00f342b5c11d71ccd05c55029ca04247" prot="public" virt="non-virtual"><scope>Mike42::Escpos::PrintConnectors::CupsPrintConnector</scope><name>write</name></member>
    </listofallmembers>
  </compounddef>
</doxygen>
