-
Notifications
You must be signed in to change notification settings - Fork 292
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
Is there any way to skip print preview dialog in android and ios both using this plugin #282
Comments
Yes, you can use the below code cordova.plugins. Hello World ,{ printerId: '' } ); |
Thank you for responding...could you please clarify what will go under printerid? will it be blank? |
This might work with IOS, on android it is not working |
Hope you are calling the plugin inside the deviceReady block ?
Printer ID value can be the IP address of the printer that you are connected with |
i am getting this error "Object literal may only specify known properties, but 'printerId' does not exist in type 'PrintOptions'. Did you mean to write 'printer'?"..it is allowing me to use name 'printer' instead of 'printerid' |
Yes, it must be 'printer' |
No description provided.
The text was updated successfully, but these errors were encountered: