Select the appropriate PrintConnector for your setup
developmentThe library uses different connectors to transport data to your printer. Choose the one that matches your operating system and printer interface:
FilePrintConnector: Directly uses files (useful for writing to device files like/dev/usb/lp0).NetworkPrintConnector: Directly uses network sockets (e.g., for Ethernet printers on port 9100).WindowsPrintConnector: Connects to Windows shared printers from Windows or Linux (Linux users require Samba).CupsPrintConnector: Connects to CUPS-shared printers from Linux or Mac.MemoryPrintConnector: Does not connect to a real printer; use this to capture ESC/POS receipts for testing or auditing.