We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd80605 commit a81dfb4Copy full SHA for a81dfb4
README.md
@@ -30,7 +30,10 @@ const main = async () => {
30
);
31
console.info("Found printers:", results);
32
33
- const printer = await connect(results[0].ipAddress);
+ const printer = await connect(
34
+ ESCPOSConst.CMP_PORT_WiFi,
35
+ results[0].ipAddress
36
+ );
37
await printer.printText("Hello World!\n");
38
await printer.cutPaper(ESCPOSConst.CMP_CUT_FULL_PREFEED);
39
await printer.disconnect();
0 commit comments