Closed prashantshilvant closed 10 years ago
can you pleae share your working example code so that I can test Thx
The plugin is listed inside the cordova_plugin.js?
I didn't understand . Is this plugin working on Android phonegap . Can you please upload working code I ll copy and year thx
Yes its working on Android platform. But a 3rd party printing app is required.
Uncaught TypeError: Cannot call method 'print' of undefined
indicates either
deviceready
event has been firedSorry but this repo contains only the source code and not a full sample project for each platform
Thanks after device ready it's working fine. But it's not giving list of print app installed on device . It's calling hpeprint app which I ve installed and giving SD card not mounted error.
On Thursday, 30 January 2014, Sebastián Katzer notifications@github.com wrote:
Sorry but this repo contains only the source code and not a full sample project for each platform
— Reply to this email directly or view it on GitHubhttps://github.com/katzer/cordova-plugin-printer/issues/3#issuecomment-33687225 .
Cheers Prashant S +65 82019533
May you can try to debug the code? But the error sounds like its related to hpeprint app.
hi,
i try to use this plugin to print from my HP, but i receive this error your sdCard is not available or couldn´t be found. Please verify if your SD card is in in use continue.
but my SD card ist availible
Please helpme
I am also getting below error Please help
your sdCard is not available or couldn´t be found. Please verify if your SD card is in in use continue.
but my SD card ist availible
Cheers Prashant S +65 82019533
On Sun, Feb 2, 2014 at 6:10 AM, SaliouDiallo notifications@github.comwrote:
hi,
i try to use this plugin to print from my HP, but i receive this error your sdCard is not available or couldn´t be found. Please verify if your SD card is in in use continue.
but my SD card ist availible
Please helpme
— Reply to this email directly or view it on GitHubhttps://github.com/katzer/cordova-plugin-printer/issues/3#issuecomment-33884924 .
Like @katzer has said, it looks like the error is related directly to hpeprint. I would recommend trying Google Cloud Print, as it hasn't given me any issues.
Good luck.
Google cloud has delay and I am looking for faster direct network prining on androids for POS printer Any help would appriciared
On Monday, 3 February 2014, Jonathan Delgado notifications@github.com wrote:
Like @katzer https://github.com/katzer has said, it looks like the error is related directly to hpeprint. I would recommend trying Google Cloud Print, as it hasn't given me any issues.
Good luck.
— Reply to this email directly or view it on GitHubhttps://github.com/katzer/cordova-plugin-printer/issues/3#issuecomment-33959124 .
Cheers Prashant S +65 82019533
Which app throws the error, your own app or hpeprint?
Hi
Thank you the error come feom hp eprint app, in my app after click on button i call the function to print and this open the eHpprinr and this app alert me the sd card is nor available or no access ? do you have one example on android how do you use it?
Thank
Saliou On Feb 4, 2014 9:26 PM, "Sebastián Katzer" notifications@github.com wrote:
Which app throws the error, your own app or hpeprint?
Reply to this email directly or view it on GitHubhttps://github.com/katzer/cordova-plugin-printer/issues/3#issuecomment-34103054 .
Hi Actually my requirement is as below 1) EPSON POS receipt printer . 2) I want to print from Android using phonegap Appreciate your help or give me your contact I'll contact you.
Thank Prashant
On Wednesday, 5 February 2014, Sebastián Katzer notifications@github.com wrote:
Which app throws the error, your own app or hpeprint?
— Reply to this email directly or view it on GitHubhttps://github.com/katzer/cordova-plugin-printer/issues/3#issuecomment-34103054 .
Cheers Prashant S +65 82019533
@prashantshilvant I think you are way off base, you need to write an entire driver for something like that - this is simply a share layer between your content and another printer application.
Thanks for reply. Do you know anybody who can help me
Thanks
On Wednesday, 5 February 2014, Jonathan Delgado notifications@github.com wrote:
@prashantshilvant https://github.com/prashantshilvant I think you are way off base, you need to write an entire driver for something like that - this is simply a share layer between your content and another printer application.
— Reply to this email directly or view it on GitHubhttps://github.com/katzer/cordova-plugin-printer/issues/3#issuecomment-34130410 .
Cheers Prashant S +65 82019533
Hi,
actually i try to use this plugin to print html files in HP Printer, and with the appId from Hp i receive error that my sd card not availible or no access, und yesterday i try to use another appId dynacsoftware, but after starting this app to print from button event jquery click my app crash maybe somebody have this error too pls help me
Thank On Feb 5, 2014 2:37 AM, "prashantshilvant" notifications@github.com wrote:
Hi Actually my requirement is as below 1) EPSON POS receipt printer . 2) I want to print from Android using phonegap Appreciate your help or give me your contact I'll contact you.
Thank Prashant
On Wednesday, 5 February 2014, Sebastián Katzer notifications@github.com
wrote:
Which app throws the error, your own app or hpeprint?
Reply to this email directly or view it on GitHub< https://github.com/katzer/cordova-plugin-printer/issues/3#issuecomment-34103054>
.
Cheers Prashant S +65 82019533
Reply to this email directly or view it on GitHubhttps://github.com/katzer/cordova-plugin-printer/issues/3#issuecomment-34129456 .
If you could send me the apk file of the printer app or a download like I could try to test it.
You can download ehp print app from google play store. I've download epson sdk for receipt printer for android how do I call the same using phonegap Please help Thanks
On Wednesday, 5 February 2014, Sebastián Katzer notifications@github.com wrote:
If you send me the apk file of the printer app or a download like I could try to test it.
— Reply to this email directly or view it on GitHubhttps://github.com/katzer/cordova-plugin-printer/issues/3#issuecomment-34168967 .
Cheers Prashant S +65 82019533
I have only the emulator. I need the apk file to install an app. Google play store is not possible.
Please try here
http://file.appsapk.com/download/HP%20ePrint.apk
On Thursday, 6 February 2014, Sebastián Katzer notifications@github.com wrote:
I have only the emulator. I need the apk file to install an app. Google play store is not possible.
— Reply to this email directly or view it on GitHubhttps://github.com/katzer/cordova-plugin-printer/issues/3#issuecomment-34197327 .
Cheers Prashant S +65 82019533
I've downloaded EPSON SDK from below link and its working fine without phonegap. How do I call this from phonegap https://pos.epson.com/developers/LicenseAgreement.htm?AssetId=26316&ReturnUrl=/posindex/
Cheers Prashant S +65 82019533
On Thu, Feb 6, 2014 at 12:15 AM, prashant shilvant < prashantshilvant@gmail.com> wrote:
Please try here
http://file.appsapk.com/download/HP%20ePrint.apk
On Thursday, 6 February 2014, Sebastián Katzer notifications@github.com wrote:
I have only the emulator. I need the apk file to install an app. Google play store is not possible.
— Reply to this email directly or view it on GitHubhttps://github.com/katzer/cordova-plugin-printer/issues/3#issuecomment-34197327 .
Cheers Prashant S +65 82019533
My job is done. I am able to call epson receipt network printer from Android phonegap using epson SDK. Thanks a lot for all your help and let me know if you need details
On Thursday, 6 February 2014, prashant shilvant prashantshilvant@gmail.com wrote:
I've downloaded EPSON SDK from below link and its working fine without phonegap. How do I call this from phonegap
https://pos.epson.com/developers/LicenseAgreement.htm?AssetId=26316&ReturnUrl=/posindex/
Cheers Prashant S +65 82019533
On Thu, Feb 6, 2014 at 12:15 AM, prashant shilvant < prashantshilvant@gmail.comjavascript:_e(%7B%7D,'cvml','prashantshilvant@gmail.com');
wrote:
Please try here
http://file.appsapk.com/download/HP%20ePrint.apk
On Thursday, 6 February 2014, Sebastián Katzer notifications@github.com<javascript:_e(%7B%7D,'cvml','notifications@github.com');> wrote:
I have only the emulator. I need the apk file to install an app. Google play store is not possible.
— Reply to this email directly or view it on GitHubhttps://github.com/katzer/cordova-plugin-printer/issues/3#issuecomment-34197327 .
Cheers Prashant S +65 82019533
Cheers Prashant S +65 82019533
@prashantshilvant Yes, please do share for future users.
@prashantshilvant That sounds great! Please share your knowledge.
1)download epson sdk from epson site 2) use any plugin or write your own plugin 3) copy sdk jar and so file 4) using epson sdk API call printer and print document using network printer I am going to write working plugin which can be used as it is
Thanks
On Friday, 7 February 2014, Sebastián Katzer notifications@github.com wrote:
@prashantshilvant https://github.com/prashantshilvant That sounds great! Please share your knowledge.
— Reply to this email directly or view it on GitHubhttps://github.com/katzer/cordova-plugin-printer/issues/3#issuecomment-34376160 .
Cheers Prashant S +65 82019533
@katzer Is there a fix for HP ePrint issue. I have gone through plugins code. I think HPePrint app is not able to access screenshots due to some permission.
Error message that we are getting is " your sdCard is not available or couldn´t be found. Please verify if your SD card is in in use continue."
Please let us know.
@pankajnirwan103, I have no fix for that. Looks like epson uses their own SDK and their printer isn't compatible for that plugin.
@prashantshilvant, i am searching for more than 6 months for that EPSON SDK PhoneGap plugin. If you have it, please let me know!
Why do you need printer manufacturer specific phonegap plugin?
Use the manufacturer's app, use WebIntent phonegap plugin and invoke activities exported in the manufacturer's app.
Not sure if EPSON app has activities exported, HP ePrint has exported them all.
On 07-05-2014, paasmedia wrote:
@prashantshilvant [1], i am searching for more than 6 months for that EPSON SDK PhoneGap plugin. If you have it, please let me know!
Reply to this email directly or view it on GitHub [2].
[1] https://github.com/prashantshilvant [2] https://github.com/katzer/cordova-plugin-printer/issues/3#issuecomment-42397850
@prashantshilvant I have created a phonegap app and I require to print receipt. Till date I have not found a solution which could help me achieve this from the app directly. I have gone through your comment on this topic, I am not so sure how to write a plugin, so if you could help me in any way possible. It really very important and urgent...!!!!
Thanx in advance to anyone who could post a working solution for my problem......and many more like me....
@venkateshsj Did you find a solution for printing stuff directly from your app to a printer (wifi) ? I have not found a solution yet, and it's very important for me to find the way to print receipts from a phonegap app to a printer (No matter the printer, it shall work with any printer brand). So if somebody can help me !!! please ;)
I have modified the plugin and now printing directly both in android and iOS. But I can share it after 24th Aug if you can wait till then. On Aug 12, 2014 11:36 AM, "pixandweb" notifications@github.com wrote:
@venkateshsj Did you find a solution for printing stuff directly from your app to a printer (wifi) ? I have not found a solution yet, and it's very important for me to find the way to print receipts from a phonegap app to a printer (No matter the printer, it shall work with any printer brand). So if somebody can help me !!! please ;)
— Reply to this email directly or view it on GitHub.
Of course I can wait. Thanks for your answer. I just need to print directly from my android app (based on cordova) to any wifi printer. If that's you can do, that's awesome :) I tried to use the plugin but it seems that it doesn't work with Epson Iprint app (the app crash just after launching...) I'll searching again to figure my problem and to find a way to fix it until 24th Aug :)
Thanks
@pixandweb, I havent found any solution till date... :-(
@pankajnirwan103 - like @pixandweb said, we can wait till 24th August. I hope your plugin doesnt require internet. Does it require 3rd party apps for in-app print support?
Yes. I print without internet but with third party apps. On Aug 17, 2014 7:25 PM, "venkateshsj" notifications@github.com wrote:
@pixandweb https://github.com/pixandweb, I havent found any solution till date... :-(
@pankajnirwan103 https://github.com/pankajnirwan103 - like @pixandweb https://github.com/pixandweb said, we can wait till 24th August. I hope your plugin doesnt require internet. Does it require 3rd party apps for in-app print support?
— Reply to this email directly or view it on GitHub https://github.com/katzer/cordova-plugin-printer/issues/3#issuecomment-52422512 .
Hi everyone !
I still looking for a solution for my problem : to print stuff directly from your app to a printer (wifi) with an Android app based on Cordova. @pankajnirwan103 if you can help me and share with us your solution to print with a third party apps, it could be nice ! Thanks !
Cheers, Thierry
Which printer u r using
On Wednesday, 27 August 2014, pixandweb notifications@github.com wrote:
Hi everyone !
I still looking for a solution for my problem : to print stuff directly from your app to a printer (wifi) with an Android app based on Cordova. @pankajnirwan103 https://github.com/pankajnirwan103 if you can help me and share with us your solution to print with a third party apps, it could be nice ! Thanks !
Cheers, Thierry
— Reply to this email directly or view it on GitHub https://github.com/katzer/cordova-plugin-printer/issues/3#issuecomment-53532381 .
Cheers Prashant S +65 82019533
I'm using a Samsung SRP 350 Metapace T3. It's a wi-fi receipt printer.
Do you have SDK of the printer with the examples ? I am able to print samsung POS from Android phone WIFI. Just use any existing plugin or create your own new plugin and inside that embed java program given in Sdk.
Cheers Prashant
On Friday, 29 August 2014, pixandweb notifications@github.com wrote:
I'm using a Samsung SRP 350 Metapace T3. It's a receipt printer.
— Reply to this email directly or view it on GitHub https://github.com/katzer/cordova-plugin-printer/issues/3#issuecomment-53784416 .
Cheers Prashant S +65 82019533
Hi, the problem is that I don't have the SDK of the printer (METAPACE T3 or METAPACE T4)... The manufacturer of the printer is SAMSUNG / BIXOLON / METAPACE, so, it could work with your plugin ? Can you share with me (us) your plugin and how you integrate it in an application based on Cordova ? Or can you explain me how and where do I need to modify this plugin (katzer/cordova-plugin-printer) to make it work with a samsung POS printer from an android application based on Cordova ? Thanks a lot for your help !
Cheers Thierry
@venkateshsj @pixandweb
Sorry for delay. I have uploaded changed plugin at https://github.com/pankajnirwan103/cordova-plugin-printer
Please let me know if it is useful.
@katzer Please incorporate my changes in your plugin if you feel so. I have made two changes: (1). I was facing problem in android. I used to got an error related to SD Card when I opened Third party apps using your plugin. I found that my app was not able to send content to TPA but was able to launch it. I now download the file and send filename to TPA instead of content. Also I made some changes in INTENT.
(2). In iOS, I need to print without AirPrint, So I added support for TPAs without using AirPrint. I will add that code shortly.
Thanks
Hi @prashantshilvant, can you explain me how we embed the SDK from my printer (EPSON, SAMSUNG...) inside this cordova printer plugin ? Can you share with us your work (files or functions) that you created for printing on a samsung POS / Epson POS from Android ?! I need some help ! Thanks,
Cheers. Thierry
01-28 07:43:57.617: E/Web Console(785): Uncaught TypeError: Cannot call method 'print' of undefined at file:///android_asset/www/index.html:30 01-28 07:51:14.347: E/Web Console(785): Uncaught TypeError: Cannot call method 'print' of undefined at file:///android_asset/www/index.html:30