$printer = new Printer( $connector, $profile) įor a list of available profiles, or to have support for your printer improved, please see the upstream receipt-print-hq/escpos-printer-db project. $connector = new WindowsPrintConnector( "smb://computer/printer") $profile = CapabilityProfile:: load( "SP2000") Use Mike42\ Escpos\ PrintConnectors\ WindowsPrintConnector ![]() Simply add the mike42/escpos-php package to get started: This library is designed for use with the composer PHP dependency manager. If you use any other printer with this code, please let us know so that it can be added to the list.
0 Comments
Leave a Reply. |