BonPrinter v1.2.0
Thermal Printer tool
Loading...
Searching...
No Matches
printer.py File Reference

create bon text and send to printer More...

Go to the source code of this file.

Classes

class  EPrinter
 Supported printers. More...
class  Printer
 Class create bons and printout. More...

Namespaces

namespace  Source
namespace  Source.Worker
namespace  Source.Worker.printer

Functions

bool is_ip_address (str s)
 Checks if a string is a network address.

Variables

dict D_PRINTER
float F_PRINTER_PRINT_DELAY = 0.75
float F_PRINTER_SLEEP_TIME = 0.2
 log = logging.getLogger(__title__)
str S_PRINT_ERROR_FILE = "FailedPrints.csv"

Detailed Description

create bon text and send to printer


Definition in file printer.py.