Html / Pdf Problem

In this forum you can write about anything that does not fit in other forums.
This includes generic Oric talkings and things that are totaly unrelated but want to share with people here :)
andrec
2nd Star Corporal
Posts: 22
Joined: Tue Jan 17, 2006 11:46 am
Location: France

Html / Pdf Problem

Post by andrec »

English below.

Quelqu'un peut-il m'aider?
Pour le CD du Ceo-Mag, j'ai construit un système d'index basé sur des
pages html. En cliquant sur un lien, l'utilisateur ouvre un pdf qui
contient uniquement la page correspondant à l'article qu'il veut lire.
Cela entraîne une multiplication des pdf, car il y a maintenant des
milliers de pages. De plus si quelqu'un veut imprimer l'ensemble d'un
magazine à partir des pdf séparés, c'est un peu galère, surtout pour
faire du recto-verso. Savez-vous s'il est possible, dans une page html,
de mettre un lien capable d'ouvrir un pdf à une page donnée. Je crois
qu'on peut configurer un pdf pour qu'il s'ouvre à une page donnée
(toujours la même, ou peut-être la dernière ouverte), mais est-il
possible d'indiquer dans le lien html la page où l'on veut ouvrir le
pdf? Cela me permettrait de regrouper les pdf par numéros du Ceo-Mag (il
y en a quand même 200 actuellement).
J'ai bien conscience de vous poser une colle, mais comme je ne suis pas
très futé avec ce genre de problème...
En espérant que quelqu'un connaît la solution...
Bien Oricalement.
André Chéramy
Rédac-chef du Ceo-Mag 8-)
- - - -

Can somebody help me?
For CD of Ceo-Mag, I built a system of index based on HTML pages. While
clicking on a bond, the user opens a pdf, which contains only the page
corresponding to the article that he wants to read. That involves a
multiplication of the pdf files, because there are now thousands of
pages. Moreover if somebody wants to print the whole of an issue
starting from the separated pdf, it is a bit difficult, especially to
make a double-sided print. Do you know if it is possible, in an HTML
page, to put a bond able to open a pdf file in a given page. I believe
that one can configure a pdf so that it opens in a given page (always
the same one, or perhaps the open last), but is it possible to indicate
in an HTML bond the page where one wants to open the pdf? That would
enable me to gather the pdf by issues of Ceo-Mag (there are nevertheless
currently 200 of them). I am well aware to ask an embarrassing question
to you, but as I am not very smart with this kind of problem… By hoping
that somebody knows the solution… Best regards.
André Chéramy
Ceo-Mag éditor. 8-)
User avatar
Dbug
Site Admin
Posts: 4460
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Post by Dbug »

I found this page, seems to work fine :D
http://www.rdpslides.com/psfaq/FAQ00050.htm

Let's try:
Chapter 9: Advanced Graphics
andrec
2nd Star Corporal
Posts: 22
Joined: Tue Jan 17, 2006 11:46 am
Location: France

Html / Pdf Problem

Post by andrec »

English below

Merci Mike. J’ai eu par ailleurs la même réponse de Symoon et Robert (mon fils). Si vous voulez plus d'information, consultez aussi la doc:
http://partners.adobe.com/public/develo ... meters.pdf
En bref, pour ouvrir par exemple le document 201.pdf à la page 25, il faut utiliser un lien du type: <A HREF="2007/201.pdf#page=25">201</A>.

Ce devrait donc être bon. Mais hélas, comme Symoon me l’avait indiqué, ça ne semble pas marcher avec tous les navigateurs, notamment pas avec les IE récents, navigateur re-hélas très largement utilisé.
Ceci m’a été confirmé par Robert : « Sous Linux (Debian version Etch), voici le constat:
* en local sous Konqueror (le gestionnaire de fichiers de KDE), ça marche.
* en local sous Firefox (1.5), ça ne marche pas.
* sur un serveur web avec Firefox, ça marche avec le plugin PDF activé. »
Pour ma part, sous WinXP SP2, ça marche au poil avec Firefox 1.5, mais pas avec IE 7.0, qui ouvre à n'importe quelle page au hasard!

Je ne sais donc pas encore si c'est une question de plugin ou de navigateur.
Pourriez-vous essayer sur vos systèmes, notamment Mac, Linux et Windows avec divers navigateurs web (précisez la version).
N'hésitez pas à me donner votre avis et vos conseils...
Merci d'avance. Andrec

Sorry for this bad English translation:

Thank you, Mike. I had in addition the same answer from Symoon and Robert (my son). If you want more information, consult also the doc.: http://partners.adobe.com/public/develo ... meters.pdf In short, to open for example the document 201.pdf on page 25, it is necessary to use a bond of the type: <A HREF= " 2007/201.pdf#page=25 " >201</A>.

It should thus be good. But alas, as Symoon had indicated it to me, that does not seem to go with all the navigators, in particular not with the recent IE, navigator, re-alas, very largely used. This was confirmed to me by Robert: “Under Linux (Debian Etch version), here is the report:
* Locally under Konqueror (the manager of files of KDE), it goes.
* Locally under Firefox (1.5), that does not go.
* On a Web server with Firefox, it goes with activated plugin PDF.”
For my part, under WinXP SP2, it goes to the hair with Firefox 1.5, but not with IE 7.0, which opens in any page randomly!

Thus I do not know yet if it is a question of plugin or of navigator. Could you test on your systems, in particular Mac, Linux and Windows with various web navigators (specify the version). Do not hesitate to deliver your opinion and your councils to me… Thank you in advance. Andrec.
Post Reply