recreate project
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
require __DIR__ . '/../../vendor/autoload.php';
|
||||
use Mike42\Escpos\Printer;
|
||||
use Mike42\Escpos\PrintConnectors\FilePrintConnector;
|
||||
use Mike42\Escpos\CapabilityProfile;
|
||||
|
||||
$connector = new FilePrintConnector("php://stdout");
|
||||
$profile = CapabilityProfile::load("default");
|
||||
$printer = new Printer($connector, $profile);
|
||||
|
||||
$printer -> text("Μιχάλης Νίκος\n");
|
||||
$printer -> cut();
|
||||
$printer -> close();
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user