SHARE
TWEET

Untitled

a guest Jun 16th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /* Call this file 'hello-world.php' */
  3. require __DIR__ . '/vendor/autoload.php';
  4. use Mike42EscposPrintConnectorsFilePrintConnector;
  5. use Mike42EscposPrinter;
  6. $connector = new FilePrintConnector("php://stdout");
  7. $printer = new Printer($connector);
  8. $printer -> text("Hello World!n");
  9. $printer -> cut();
  10. $printer -> close();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top