Cannot print page #2 of embedded PDF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 01:21 PM - edited 03-04-2024 03:21 PM
Problem
You can embed page #2 of a PDF file in the following way:
<OBJECT TYPE="APPLICATION/PDF" DATA="FILE.PDF#PAGE=2" HEIGHT=100% WIDTH=100% >…</OBJECT >
Firefox shows page #2 on screen 👍 but it prints page #1 when told to print the embedding page 👎
Also problem
Moreover, if I scroll to page #2 when viewing a PDF file (meaning that the current page in the PDF tool bar is 2) and print the current page from the tool bar, it also prints page #1 👎 . It prints page #2 when I print custom page 2.
Work-around
Print page #2 to PDF and embed the print-out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2024 05:01 PM
There is a bug on file about Current not working when you have navigated a PDF past page 1 (this is independent of the object/iframe scenario): https://bugzilla.mozilla.org/show_bug.cgi?id=1850442

