Successful label printing
This commit is contained in:
@@ -65,7 +65,9 @@ class P700Printer : public ::ptprnt::IPrinterDriver {
|
||||
.vid = 0x04f9,
|
||||
.pid = 0x2061};
|
||||
std::map<std::string, std::vector<uint8_t>> commands{
|
||||
{"rasterstart", {0x1b, 0x69, 0x52, 0x01}},
|
||||
{"rasterstart",
|
||||
{0x1b, 0x69, 0x61,
|
||||
0x01}}, // unique for P700, other printers have the 2 byte set to 0x52 instead of 0x61
|
||||
{"info", {0x1b, 0x69, 0x7a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}},
|
||||
{"packbitson", {0x02}},
|
||||
{"lf", {0x5a}},
|
||||
|
Reference in New Issue
Block a user