Author Topic: PDF Display Center Fold  (Read 2022 times)

0 Members and 1 Guest are viewing this topic.

Offline metrologistTopic starter

  • Super Contributor
  • ***
  • Posts: 2273
  • Country: 00
PDF Display Center Fold
« on: May 11, 2022, 04:00:44 pm »
We have PDF documents that use a two page spread, like a centerfold. i.e., schematics, illustrations, and with text.

Users use Chrome to view our document online and Chrome does not observe the facing pages setting in the PDF file. Is it possible, at the web server or anywhere, to force browsers to show facing pages, so the pages are side-by-side, and not split apart and stacked top-to-bottom?

Someone is telling me they will fix this issue "online" but I think there is no technical mechanism to achieve this and we should instead abandon this center fold layout for better online viewing.
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6403
  • Country: es
Re: PDF Display Center Fold
« Reply #1 on: May 11, 2022, 11:54:57 pm »
Chrome PDF reader is rather limited, installing Adobe Reader will add the extension to Chrome, which should be way better:
https://helpx.adobe.com/acrobat/kb/open-in-acrobat-reader-from-chrome.html
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22436
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: PDF Display Center Fold
« Reply #2 on: May 12, 2022, 06:46:13 am »
I recommend SumatraPDF, though it is standalone and not browser plugin.

Alternately you could generate pairs of sheets (B(ledger) / A3 size, assuming this is otherwise an A(letter) / A4 document), which might be harder to print, but I want to say most printer drivers should figure out how to print a B sheet over two A's?

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: NiHaoMike

Offline metrologistTopic starter

  • Super Contributor
  • ***
  • Posts: 2273
  • Country: 00
Re: PDF Display Center Fold
« Reply #3 on: May 12, 2022, 02:56:39 pm »
This is an online experience problem though. We can set up a print file, but what we want is for the world to see the document in their browser the way we want them to see it.

I read that Chrome now supports facing page view, but it seems individual users need to set it up.

I just want to know if the marketing lady knows something that I do not and she will be able to force the world to see the PDF the way she wants them to see it.

I don't think it's possible, but I could be wrong.

Here is an example where the title page should show as a single page and pages 2 and 3 should be side-by-side so you can see the entire radio. My browser shows them full width and scrolls pages that are stacked one over the other.

https://www.icomjapan.com/api/download.php?page_id=29&fl=/uploads/support/brochures/download/HAM_USA.pdf

So can Icom do something to make the PDF show properly in my browser?
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22436
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: PDF Display Center Fold
« Reply #4 on: May 12, 2022, 03:13:20 pm »
I should say, in event users want to print it as well.  If you're only worried about browser viewing, maybe it's an option.

Or HTML output, why not?

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline metrologistTopic starter

  • Super Contributor
  • ***
  • Posts: 2273
  • Country: 00
Re: PDF Display Center Fold
« Reply #5 on: May 12, 2022, 07:00:42 pm »
I should say, in event users want to print it as well.  If you're only worried about browser viewing, maybe it's an option.

Or HTML output, why not?

Tim

I am not actually trying to solve the display problem. I can do that by making single page layouts or HTML, etc. so that is not the problem.

I do not make the documents, and I do not publish them, and I do not run the web site, but I do see the documents and I do hear the complaints from the field about the difficultly in reading text that splits across pages that are stacked, and product images that are cut and spread across those pages, and I have to listen to sales guys comment on the stupidity of having a layout that is not reader friendly. So the issue is that the marketing lady refuses to change the layout and claims she will have the web team fix the way the PDF is displayed instead.

I am looking for confirmation that the marketing lady is full of BS and there is no way she is going to have our web team make the PDF display differently to all you peeps. I think there is no technological mechanism to achieve that.

But I could be wrong, so that's what I want to know.

Because if I am right, then I will climb the hill to change the layout. No sense in doing that if I'm wrong.
« Last Edit: May 12, 2022, 07:09:03 pm by metrologist »
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22436
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: PDF Display Center Fold
« Reply #6 on: May 12, 2022, 11:45:55 pm »
Oh... an organizational problem then?

Management should realize this is a friction point, direct the document author(s) to use, you know, actually readable formatting given typical viewing conditions/limitations; and to direct complaints related to such, to said author, not to some humble Metrologist, whatever your function is exactly I guess.  Their failure to do so indicates a problem (or, it's intentional, for unknown reasons).  So, while facing-page display would be a solution to this particular problem -- that it's a problem at all, seems indicative of other issues?

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 7521
  • Country: ca
  • Non-expert
Re: PDF Display Center Fold
« Reply #7 on: May 12, 2022, 11:56:37 pm »
Here is an example where the title page should show as a single page and pages 2 and 3 should be side-by-side so you can see the entire radio. My browser shows them full width and scrolls pages that are stacked one over the other.

https://www.icomjapan.com/api/download.php?page_id=29&fl=/uploads/support/brochures/download/HAM_USA.pdf

So can Icom do something to make the PDF show properly in my browser?

Page 2 and 3 shows as single pages in Firefox, Adobe, and Chrome.
Could have it as landscape, then user would have to rotate the page to view it.
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline JDubU

  • Frequent Contributor
  • **
  • Posts: 451
  • Country: us
Re: PDF Display Center Fold
« Reply #8 on: May 13, 2022, 02:22:59 am »
metrologist:

The Microsoft Edge browser can show your sample file correctly by setting 'Page View' to 'Two Pages' and enabling 'Show cover page separately'.

Same can be done with Acrobat Reader using the View -> Page Display menu.
« Last Edit: May 13, 2022, 02:48:23 am by JDubU »
 

Offline MarkF

  • Super Contributor
  • ***
  • Posts: 2763
  • Country: us
Re: PDF Display Center Fold
« Reply #9 on: May 13, 2022, 12:08:48 pm »
I'm using the PDF Viewer 2.3.164 extension in Chrome. It can display two pages side-by-side but you have to select it manually.  Select 'Odd Spreads' or 'Even Spreads' from the dropdown PDF Viewer menubar.  I haven't found anyway to activate it automatically.  Also, it applies two page display to the entire document; not just pages 2 and 3.
 

Offline Marco

  • Super Contributor
  • ***
  • Posts: 7043
  • Country: nl
Re: PDF Display Center Fold
« Reply #10 on: May 13, 2022, 12:49:33 pm »
There are javascript PDF viewers, so why not just embed one which can do this? This feature request for pdf.js suggests some way to do it that way :
https://github.com/mozilla/pdf.js/issues/590

No need for the user to change any configuration then.
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 7453
  • Country: pl
Re: PDF Display Center Fold
« Reply #11 on: May 13, 2022, 01:17:06 pm »
This looks like the only choice.

If the PDF viewers in the wild don't respect instructions embedded in the PDF file, your only option is to provide a different viewer that does.
Some of the users with disabled JS will curse you :-DD
 

Offline metrologistTopic starter

  • Super Contributor
  • ***
  • Posts: 2273
  • Country: 00
Re: PDF Display Center Fold
« Reply #12 on: May 13, 2022, 04:04:35 pm »
Oh... an organizational problem then?

Management should realize this is a friction point, direct the document author(s) to use, you know, actually readable formatting given typical viewing conditions/limitations; and to direct complaints related to such, to said author, not to some humble Metrologist, whatever your function is exactly I guess.  Their failure to do so indicates a problem (or, it's intentional, for unknown reasons).  So, while facing-page display would be a solution to this particular problem -- that it's a problem at all, seems indicative of other issues?

Tim

I really bring this upon myself. I could be like everyone else and just not care. I guess Icom's example is not that bad, but I wouldn't do it that way.

I'm kind of a jack of all around here.
 

Offline Someone

  • Super Contributor
  • ***
  • Posts: 5155
  • Country: au
    • send complaints here
Re: PDF Display Center Fold
« Reply #13 on: May 13, 2022, 11:00:39 pm »
This looks like the only choice.

If the PDF viewers in the wild don't respect instructions embedded in the PDF file, your only option is to provide a different viewer that does.
Some of the users with disabled JS will curse you :-DD
Also awful for accessibility and OS integration, the PDF workflow/tools usually available all evaporate! PDF is supposed to be like paper, easy to copy/print/file/markup and consistent visual/dimensional display everywhere.
 

Offline Someone

  • Super Contributor
  • ***
  • Posts: 5155
  • Country: au
    • send complaints here
Re: PDF Display Center Fold
« Reply #14 on: May 13, 2022, 11:11:32 pm »
Here is an example where the title page should show as a single page and pages 2 and 3 should be side-by-side so you can see the entire radio. My browser shows them full width and scrolls pages that are stacked one over the other.

https://www.icomjapan.com/api/download.php?page_id=29&fl=/uploads/support/brochures/download/HAM_USA.pdf
And in other browsers, that example has the page fold ordering misaligned.

There is no standard in PDF to align pages to each other (as far as I am aware) so its undefined/implementation specific behaviour. Web 1.0 style solution, server up different files after sniffing the request :P
 

Offline Marco

  • Super Contributor
  • ***
  • Posts: 7043
  • Country: nl
Re: PDF Display Center Fold
« Reply #15 on: May 14, 2022, 09:38:54 am »
PDF is supposed to be like paper, easy to copy/print/file/markup and consistent visual/dimensional display everywhere.

Yet two-up view works fine on paper for everything while it mostly doesn't on monitors for plain text pages ... reality meets supposed reality and forces compromises.

Forcing bad outcomes for ideological purity is silly. Users will mostly be happy getting the two-up view for selected pages, if not they can use their own viewer.
« Last Edit: May 14, 2022, 09:40:48 am by Marco »
 

Offline Someone

  • Super Contributor
  • ***
  • Posts: 5155
  • Country: au
    • send complaints here
Re: PDF Display Center Fold
« Reply #16 on: May 14, 2022, 10:49:36 am »
PDF is supposed to be like paper, easy to copy/print/file/markup and consistent visual/dimensional display everywhere.
Yet two-up view works fine on paper for everything while it mostly doesn't on monitors for plain text pages ... reality meets supposed reality and forces compromises.

Forcing bad outcomes for ideological purity is silly. Users will mostly be happy getting the two-up view for selected pages, if not they can use their own viewer.
That comment was against the idea of using some "viewer" that displays the underlying PDF (in the preferred manner) but does not expose the file to the end user. Like having pamphlets shown under glass, you can see but you cant take it to do what you want (standards are going this way).

PDF files can have varying page sizes (attached), if that presentation is the most important part of the content then the capability is already there. How many people actually want to print some glossy brochure with 2 page spreads but in separate split page sizes?
 

Offline bw2341

  • Regular Contributor
  • *
  • Posts: 169
  • Country: ca
Re: PDF Display Center Fold
« Reply #17 on: May 15, 2022, 04:55:32 pm »
Is the Icom product brochure an example of a working PDF or a broken PDF?

I tried it in Firefox, Chrome, Edge and Adobe Acrobat Reader. All of them open in single-page view. The Icom PDF has a single cover page and two-page spreads starting with the even numbered pages. In Firefox, Edge and Adobe Acrobat Reader, I was able to change the view settings to show them properly with the cover page alone and the subsequent pages side by side. In Chrome, I could not find a setting to show the even numbered pages on the left, so in that sense, Chrome is broken.

I don't have the tools to check if the Icom PDF has Document Properties / Initial View / Page Layout set to Two-Up (Cover Page). Can you check with your tools?

If it is set correctly, it means that PDF Initial View is effectively unsupported and useless. If it isn't set, could you link to a different PDF as this one is a poor example of the problem you are trying to solve.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf