cordova-plugin-printer icon indicating copy to clipboard operation
cordova-plugin-printer copied to clipboard

[iOS] Printing to "(null)" pop up

Open dsjdigital opened this issue 7 years ago • 8 comments

Is there a way to hide this (native) pop up while sending the print job? Or... if not, perhaps there is a way to replace "(null)" by another text that makes more sense?

dsjdigital avatar Dec 18 '17 16:12 dsjdigital

Did you get anywhere with this one @dsjproductions ? having the same issue. Blows my mind how this plugin is recommended on Ionic Native with no development.

kieranbarlow avatar Aug 28 '18 15:08 kieranbarlow

Nope, unfortunately not. We eventually decided to print entirely through the back end using Google Cloud Printer... This cordova/ionic plugin should not be recommended, indeed!

dsjdigital avatar Aug 28 '18 15:08 dsjdigital

Printing to "(null)" means that you specified an invalid printerId. The system tries to connect to the printer but does not find it.

katzer avatar Dec 21 '18 16:12 katzer

I myself only see the message in the logs without a dialog.

katzer avatar Dec 21 '18 16:12 katzer

Printing to "(null)" means that you specified an invalid printerId. The system tries to connect to the printer but does not find it.

Well... printing actually works fine even though this popup is being shown.

dsjdigital avatar Dec 24 '18 09:12 dsjdigital

@dsjdigital Do you use Ionic or plain Cordova project?

katzer avatar Jan 03 '19 13:01 katzer

@dsjdigital Do you use Ionic or plain Cordova project?

Plain Cordova

(Edit: sorry for closing the issue)

dsjdigital avatar Jan 03 '19 13:01 dsjdigital

@dsjdigital And you're sure that you haven't assigned a value to printerId?

katzer avatar Jan 03 '19 13:01 katzer