\hypertarget{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector}{}\section{Mike42\textbackslash{}Escpos\textbackslash{}Print\+Connectors\textbackslash{}Api\+Print\+Connector Class Reference}
\label{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector}\index{Mike42\textbackslash{}\+Escpos\textbackslash{}\+Print\+Connectors\textbackslash{}\+Api\+Print\+Connector@{Mike42\textbackslash{}\+Escpos\textbackslash{}\+Print\+Connectors\textbackslash{}\+Api\+Print\+Connector}}


Inheritance diagram for Mike42\textbackslash{}Escpos\textbackslash{}Print\+Connectors\textbackslash{}Api\+Print\+Connector\+:
% FIG 0


Collaboration diagram for Mike42\textbackslash{}Escpos\textbackslash{}Print\+Connectors\textbackslash{}Api\+Print\+Connector\+:
% FIG 1
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector_a93ac4410577ae578b7365a98eb8cbc0e}{\+\_\+\+\_\+construct} (\$host, \$printer\+Id, \$api\+Token)
\item 
\hyperlink{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector_aea5b19933a3ca12d0257ac1b1115e375}{\+\_\+\+\_\+destruct} ()
\item 
\hyperlink{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector_a02e23534d2bc080b802412a4002c5efb}{read} (\$len)
\item 
\hyperlink{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector_a6471969039a676353917fe6a83ed08a4}{write} (\$data)
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector_a8c5300edb7f6121689f3f9eb745ef2ea}{}{\bfseries \$stream}\label{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector_a8c5300edb7f6121689f3f9eb745ef2ea}

\item 
\hypertarget{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector_ae321b1773789865503f94046cefedebc}{}{\bfseries \$http\+Client}\label{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector_ae321b1773789865503f94046cefedebc}

\item 
\hypertarget{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector_ac0abd54584c1a4d689c27a8b04483432}{}{\bfseries \$printer\+Id}\label{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector_ac0abd54584c1a4d689c27a8b04483432}

\item 
\hypertarget{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector_a64f848b774b3638c5e2a782518f47612}{}{\bfseries \$api\+Token}\label{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector_a64f848b774b3638c5e2a782518f47612}

\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector_a93ac4410577ae578b7365a98eb8cbc0e}{}\index{Mike42\+::\+Escpos\+::\+Print\+Connectors\+::\+Api\+Print\+Connector@{Mike42\+::\+Escpos\+::\+Print\+Connectors\+::\+Api\+Print\+Connector}!\+\_\+\+\_\+construct@{\+\_\+\+\_\+construct}}
\index{\+\_\+\+\_\+construct@{\+\_\+\+\_\+construct}!Mike42\+::\+Escpos\+::\+Print\+Connectors\+::\+Api\+Print\+Connector@{Mike42\+::\+Escpos\+::\+Print\+Connectors\+::\+Api\+Print\+Connector}}
\subsubsection[{\+\_\+\+\_\+construct}]{\setlength{\rightskip}{0pt plus 5cm}Mike42\textbackslash{}\+Escpos\textbackslash{}\+Print\+Connectors\textbackslash{}\+Api\+Print\+Connector\+::\+\_\+\+\_\+construct (
\begin{DoxyParamCaption}
\item[{}]{\$host, }
\item[{}]{\$printer\+Id, }
\item[{}]{\$api\+Token}
\end{DoxyParamCaption}
)}\label{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector_a93ac4410577ae578b7365a98eb8cbc0e}
Construct new connector


\begin{DoxyParams}[1]{Parameters}
string & {\em \$host} & \\
\hline
string & {\em \$printer\+Id} & \\
\hline
string & {\em \$api\+Token} & \\
\hline
\end{DoxyParams}
\hypertarget{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector_aea5b19933a3ca12d0257ac1b1115e375}{}\index{Mike42\+::\+Escpos\+::\+Print\+Connectors\+::\+Api\+Print\+Connector@{Mike42\+::\+Escpos\+::\+Print\+Connectors\+::\+Api\+Print\+Connector}!\+\_\+\+\_\+destruct@{\+\_\+\+\_\+destruct}}
\index{\+\_\+\+\_\+destruct@{\+\_\+\+\_\+destruct}!Mike42\+::\+Escpos\+::\+Print\+Connectors\+::\+Api\+Print\+Connector@{Mike42\+::\+Escpos\+::\+Print\+Connectors\+::\+Api\+Print\+Connector}}
\subsubsection[{\+\_\+\+\_\+destruct}]{\setlength{\rightskip}{0pt plus 5cm}Mike42\textbackslash{}\+Escpos\textbackslash{}\+Print\+Connectors\textbackslash{}\+Api\+Print\+Connector\+::\+\_\+\+\_\+destruct (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector_aea5b19933a3ca12d0257ac1b1115e375}
Print connectors should cause a N\+O\+T\+I\+C\+E if they are deconstructed when they have not been finalized. 

Implements \hyperlink{interfaceMike42_1_1Escpos_1_1PrintConnectors_1_1PrintConnector_a55b7f305e73ba0d617a47eb2ab5b405a}{Mike42\textbackslash{}\+Escpos\textbackslash{}\+Print\+Connectors\textbackslash{}\+Print\+Connector}.



\subsection{Member Function Documentation}
\hypertarget{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector_a02e23534d2bc080b802412a4002c5efb}{}\index{Mike42\+::\+Escpos\+::\+Print\+Connectors\+::\+Api\+Print\+Connector@{Mike42\+::\+Escpos\+::\+Print\+Connectors\+::\+Api\+Print\+Connector}!read@{read}}
\index{read@{read}!Mike42\+::\+Escpos\+::\+Print\+Connectors\+::\+Api\+Print\+Connector@{Mike42\+::\+Escpos\+::\+Print\+Connectors\+::\+Api\+Print\+Connector}}
\subsubsection[{read}]{\setlength{\rightskip}{0pt plus 5cm}Mike42\textbackslash{}\+Escpos\textbackslash{}\+Print\+Connectors\textbackslash{}\+Api\+Print\+Connector\+::read (
\begin{DoxyParamCaption}
\item[{}]{\$len}
\end{DoxyParamCaption}
)}\label{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector_a02e23534d2bc080b802412a4002c5efb}
Read data from the printer.


\begin{DoxyParams}[1]{Parameters}
string & {\em \$len} & Length of data to read. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
string Data read from the printer. 
\end{DoxyReturn}


Implements \hyperlink{interfaceMike42_1_1Escpos_1_1PrintConnectors_1_1PrintConnector_aec57437e3927972269f0803e9f86782e}{Mike42\textbackslash{}\+Escpos\textbackslash{}\+Print\+Connectors\textbackslash{}\+Print\+Connector}.

\hypertarget{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector_a6471969039a676353917fe6a83ed08a4}{}\index{Mike42\+::\+Escpos\+::\+Print\+Connectors\+::\+Api\+Print\+Connector@{Mike42\+::\+Escpos\+::\+Print\+Connectors\+::\+Api\+Print\+Connector}!write@{write}}
\index{write@{write}!Mike42\+::\+Escpos\+::\+Print\+Connectors\+::\+Api\+Print\+Connector@{Mike42\+::\+Escpos\+::\+Print\+Connectors\+::\+Api\+Print\+Connector}}
\subsubsection[{write}]{\setlength{\rightskip}{0pt plus 5cm}Mike42\textbackslash{}\+Escpos\textbackslash{}\+Print\+Connectors\textbackslash{}\+Api\+Print\+Connector\+::write (
\begin{DoxyParamCaption}
\item[{}]{\$data}
\end{DoxyParamCaption}
)}\label{classMike42_1_1Escpos_1_1PrintConnectors_1_1ApiPrintConnector_a6471969039a676353917fe6a83ed08a4}
Write data to the print connector.


\begin{DoxyParams}[1]{Parameters}
string & {\em \$data} & The data to write \\
\hline
\end{DoxyParams}


Implements \hyperlink{interfaceMike42_1_1Escpos_1_1PrintConnectors_1_1PrintConnector_afcfd2d805f8de8eb9c9d2abfbed232ab}{Mike42\textbackslash{}\+Escpos\textbackslash{}\+Print\+Connectors\textbackslash{}\+Print\+Connector}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
C\+:/www/aplusnet/incahellas.\+com/public\+\_\+html/lib/escpos-\/php-\/development/src/\+Mike42/\+Escpos/\+Print\+Connectors/Api\+Print\+Connector.\+php\end{DoxyCompactItemize}
