?i?
Current Path : /home/scgforma/www/soc064/htdocs/includes/mike42/escpos-php/example/specific/ |
Current File : /home/scgforma/www/soc064/htdocs/includes/mike42/escpos-php/example/specific/50-P-822D-greek.php |
<?php /* Example of Greek text on the P-822D */ require_once(dirname(__FILE__) . "/../../Escpos.php"); // Setup the printer $connector = new FilePrintConnector("php://stdout"); $profile = P822DCapabilityProfile::getInstance(); $printer = new Escpos($connector, $profile); // Print a Greek pangram $text = "Ξεσκεπάζω την ψυχοφθόρα βδελυγμία"; $printer -> text($text . "\n"); $printer -> cut(); // Close the connection $printer -> close();