on-internet
← Community

Printer Connection error on escpos-php

Stack Overflow ·

From This link(Printing to POS printer from PHP) i started I have use php sample code. my question is my printer is set to default then why i have to connect to printer. anyway i am getting error on connecting printer. as my printer name is in fig1 and to access printer i have to type \Sah-it\ARP-808K in run as shown in fig2. i have tried: 1. $connector = new FilePrintConnector("\\Sah-it\ARP-808K"); $printer = new Printer($connector); 2. $profile = CapabilityProfile::load("simple"); $connector = new WindowsPrintConnector("smb://Sah-it/ARP-808Kr"); $printer = new Printer($connector, $profile);

Comments

Sign in or sign up to comment and upvote.

No comments yet.