Написан "Скелет" библиотеки+константы.
This commit is contained in:
parent
feaa82f775
commit
7460442c32
12
printlib.php
Normal file
12
printlib.php
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?php
|
||||||
|
define("MAX_CHAR", 32);
|
||||||
|
define("MAX_STR", 32);
|
||||||
|
define("ESC", "\x1b");
|
||||||
|
define("GS", "\x1d");
|
||||||
|
define("LF", "\x0a");
|
||||||
|
define("PORT", "/dev/usb/lp0")
|
||||||
|
function initprint() {}
|
||||||
|
function println($data) {}
|
||||||
|
function printbarcode($data, $type="CODE39") {}
|
||||||
|
function parse4print($data) {}
|
||||||
|
?>
|
Loading…
Reference in New Issue
Block a user