ng2-pdfjs-viewer icon indicating copy to clipboard operation
ng2-pdfjs-viewer copied to clipboard

Print feature broken on IOS and Android devices.

Open nilaybhima opened this issue 5 years ago • 9 comments

The print feature prints the entire html page rather than pdf document on IOS and Android devices.

nilaybhima avatar Feb 14 '20 01:02 nilaybhima

Also having this issue.

seanke avatar Feb 14 '20 02:02 seanke

@nilaybhima Try this page directly and let me know the results. https://mozilla.github.io/pdf.js/web/viewer.html

codehippie1 avatar Feb 18 '20 16:02 codehippie1

Yes, this page is working.

Get Outlook for iOShttps://aka.ms/o0ukef


From: codehippie1 [email protected] Sent: Wednesday, February 19, 2020 5:19:18 AM To: intbot/ng2-pdfjs-viewer [email protected] Cc: Nilay Bhima [email protected]; Mention [email protected] Subject: Re: [intbot/ng2-pdfjs-viewer] Print feature broken on IOS and Android devices. (#76)

@nilaybhimahttps://github.com/nilaybhima Try this page directly and let me know the results. https://mozilla.github.io/pdf.js/web/viewer.html

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/intbot/ng2-pdfjs-viewer/issues/76?email_source=notifications&email_token=AHFDNRG3KQHXPFBJLWM26Z3RDQDANA5CNFSM4KU62E2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMCTNWI#issuecomment-587544281, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHFDNREO5T4Q6IIBA2DYRULRDQDANANCNFSM4KU62E2A.

nilaybhima avatar Feb 18 '20 19:02 nilaybhima

@nilaybhima Try this page directly and let me know the results. https://mozilla.github.io/pdf.js/web/viewer.html

It's working for me too! Nice work! One problem for me though, it's defaulting to Letter size and has shrunk the 3 pages onto one page and pages 4+ are missing. Am I doing something dumb? Screenshot_20200219-093337_Print Spooler

seanke avatar Feb 18 '20 20:02 seanke

@nilaybhima @seanke I won't be able to test this much as I don't have an ios device. I could use some help in fixing this issue. Let me know if you would like to send in a pull request.

codehippie1 avatar Mar 04 '20 21:03 codehippie1

@codehippie1 Just a heads up, it doesnt work on Android either. It seems to be an issue with all mobile devices I would say.

nilaybhima avatar Mar 04 '20 22:03 nilaybhima

Any updates on this issue? for printing from mobile devices ?

using below packages "@angular/animations": "~8.0.3", "@angular/cdk": "8.0.2", "@angular/common": "~8.0.3", "@angular/compiler": "~8.0.3", "@angular/core": "~8.0.3", "typescript": "~3.4.3" "ng2-pdfjs-viewer": "^5.0.7",

xubalachandran avatar Jul 14 '20 06:07 xubalachandran

issue still remains, print functionality atm not usable with android and ios. -> shows empty page

Bierat1337 avatar Jan 24 '23 08:01 Bierat1337

do you think this will ever be fixed? because this issue is now 4 years old .... ? I would really appreciate that @codehippie1 @allenkepler-finastra @Akxe @dereekb @shahmeet999 @urjitdesai @petebacondarwin @szh @anthonybriand @flaviorocks @grosa1

chrissteiner avatar Mar 02 '24 14:03 chrissteiner