Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_pingPrinter is not a function. #4

Open
AliYar-Khan opened this issue Nov 25, 2021 · 7 comments
Open

_pingPrinter is not a function. #4

AliYar-Khan opened this issue Nov 25, 2021 · 7 comments

Comments

@AliYar-Khan
Copy link

I am using the pingPrinter function like this

pingPrinter(printerIp).then(()=>{ console.log("found the printer"); }).catch((err)=> { console.log("Printer is dead", err); })

It gives the following error

Printer is dead [TypeError: _pingPrinter is not a function. (In '_pingPrinter(ip)', '_pingPrinter' is undefined]
@Abdarrahmane-NEINE
Copy link

@AliYar-Khan , do you get a solution for this issue ?

@Abdarrahmane-NEINE
Copy link

@AliYar-Khan , do you get a solution for this issue ?

@Avery246813579 , your help is appreciated.

@Avery246813579
Copy link
Owner

@AliYar-Khan , do you get a solution for this issue ?

@Avery246813579 , your help is appreciated.

Are you using iOS or Android?

@Abdarrahmane-NEINE
Copy link

Abdarrahmane-NEINE commented Feb 14, 2022

@AliYar-Khan , do you get a solution for this issue ?

@Avery246813579 , your help is appreciated.

Are you using iOS or Android?

Android @Avery246813579

@Abdarrahmane-NEINE
Copy link

@AliYar-Khan , do you get a solution for this issue ?

@Avery246813579 , your help is appreciated.

Are you using iOS or Android?

Android @Avery246813579
@Avery246813579,
Now I am traing with iOS and I don't have any issues, but I don't know how can I print with the printer ? I have P-Touche model

@AliYar-Khan
Copy link
Author

@Abdarrahmane-NEINE I don't remember now ... I was working on the Project ... I don't remember what I did, but it is gone now

@Abdarrahmane-NEINE
Copy link

I am using the pingPrinter function like this

pingPrinter(printerIp).then(()=>{ console.log("found the printer"); }).catch((err)=> { console.log("Printer is dead", err); })

It gives the following error

Printer is dead [TypeError: _pingPrinter is not a function. (In '_pingPrinter(ip)', '_pingPrinter' is undefined]

I think this error is causing by Android, because the module is for iOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants