[Skip to main content](#vessel-content)

#   Est-ce possible d'utiliser un fichier PDF?

##

- **[christian13](/forum/user/12846-christian13 "View christian13's Profile")**
- [![christian13's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12846-christian13 "View christian13's Profile") Topic Author
- [ Offline](/forum/user/12846-christian13)

Less More

- Posts: 90
- Thank you received: 0
-
-

13 years 9 months ago [\#89262](#89262) by [christian13](/forum/user/12846-christian13 "View christian13's Profile")  *[Est-ce possible d'utiliser un fichier PDF?](/forum/18-support-en-francais-de-hikaserial-french-support/78187-est-ce-possible-dutiliser-un-fichier-pdf#89262 "Bonjour  Dans le Plugin AttachSerial peut-on utliser un fichier PDF dans Image path de Image generation?  Merci")* was created by *[christian13](/forum/user/12846-christian13 "View christian13's Profile")*

Bonjour

Dans le Plugin AttachSerial peut-on utliser un fichier PDF dans Image path de Image generation?

Merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE4LXN1cHBvcnQtZW4tZnJhbmNhaXMtZGUtaGlrYXNlcmlhbC1mcmVuY2gtc3VwcG9ydC83ODE4Ny1lc3QtY2UtcG9zc2libGUtZHV0aWxpc2VyLXVuLWZpY2hpZXItcGRmP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Away](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 9 months ago [\#89268](#89268) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Est-ce possible d'utiliser un fichier PDF?](/forum/18-support-en-francais-de-hikaserial-french-support/78187-est-ce-possible-dutiliser-un-fichier-pdf#89268 "Bonjour  Dans le Plugin AttachSerial peut-on utliser un fichier PDF dans Image path de Image generation?  Merci")*

Bonjour,

Le plugin "AttachSerial" ne prends en entrée que des images au format : JPG (JPEG) / PNG / GIF.
Pour cela, la librairie "GD" est utilisée.

Je ne crois pas qu'il soit possible d'ouvrir un fichier PDF existant et de le modifier pour rajouter des informations.
Par contre, avec la librairie FPDF, il est possible de générer entièrement un fichier PDF. Il est donc possible de créer un plugin permettant de générer un fichier PDF (qui pourrait utiliser un template pour tout son contenu).
Le plugin "Invoice PDF" d'HikaShop permet de créer des factures au format PDF, il utilise pour cela un template au format HTML. On peut tout à fait imaginer un principe similaire pour HikaSerial ou un template serait utilisé pour générer un PDF, qui serait attaché au l'email mais au lieu de générer une invoice comme "Invoice PDF", cela serait en lien avec le ou les serials.

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE4LXN1cHBvcnQtZW4tZnJhbmNhaXMtZGUtaGlrYXNlcmlhbC1mcmVuY2gtc3VwcG9ydC83ODE4Ny1lc3QtY2UtcG9zc2libGUtZHV0aWxpc2VyLXVuLWZpY2hpZXItcGRmP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[christian13](/forum/user/12846-christian13 "View christian13's Profile")**
- [![christian13's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12846-christian13 "View christian13's Profile") Topic Author
- [ Offline](/forum/user/12846-christian13)

Less More

- Posts: 90
- Thank you received: 0
-
-

13 years 9 months ago [\#89308](#89308) by [christian13](/forum/user/12846-christian13 "View christian13's Profile")  Replied by *[christian13](/forum/user/12846-christian13 "View christian13's Profile")* on topic *[Est-ce possible d'utiliser un fichier PDF?](/forum/18-support-en-francais-de-hikaserial-french-support/78187-est-ce-possible-dutiliser-un-fichier-pdf#89308 "Bonjour  Dans le Plugin AttachSerial peut-on utliser un fichier PDF dans Image path de Image generation?  Merci")*

Bonjour

Quand tu dis 'on pourrait imaginer' c'est qu'il y a du code supplémentaire à faire ou bien on a déjà tout ce qu'il faut mais il y a de la configuration spéciale.

Merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE4LXN1cHBvcnQtZW4tZnJhbmNhaXMtZGUtaGlrYXNlcmlhbC1mcmVuY2gtc3VwcG9ydC83ODE4Ny1lc3QtY2UtcG9zc2libGUtZHV0aWxpc2VyLXVuLWZpY2hpZXItcGRmP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Away](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 9 months ago [\#89323](#89323) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Est-ce possible d'utiliser un fichier PDF?](/forum/18-support-en-francais-de-hikaserial-french-support/78187-est-ce-possible-dutiliser-un-fichier-pdf#89323 "Bonjour  Dans le Plugin AttachSerial peut-on utliser un fichier PDF dans Image path de Image generation?  Merci")*

Bonjour,

Il y a du code supplémentaire à faire. Le plug "attach serial" peut servir de base afin d'aider à développer un nouveau plugin (pour faire du pdf) plus facilement, mais il faut tout de même insérer la librairie et faire le code spécifique au PDF.

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE4LXN1cHBvcnQtZW4tZnJhbmNhaXMtZGUtaGlrYXNlcmlhbC1mcmVuY2gtc3VwcG9ydC83ODE4Ny1lc3QtY2UtcG9zc2libGUtZHV0aWxpc2VyLXVuLWZpY2hpZXItcGRmP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")**
- [![lionel75's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11856-lionel75 "View lionel75's Profile")
- [ Offline](/forum/user/11856-lionel75)

Less More

- Posts: 846
- Thank you received: 92
-
-

13 years 6 months ago -  13 years 6 months ago [\#100147](#100147) by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")  Replied by *[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")* on topic *[Est-ce possible d'utiliser un fichier PDF?](/forum/18-support-en-francais-de-hikaserial-french-support/78187-est-ce-possible-dutiliser-un-fichier-pdf#100147 "Bonjour  Dans le Plugin AttachSerial peut-on utliser un fichier PDF dans Image path de Image generation?  Merci")*

La librarie FPDF est vraiment de bas niveau . TCPDF existe aussi et semble un fork de FPDF mais de plus au niveau .
[ test pdf engine](http://www.prestaopen.com/joomla-pdf/joomla-pdf-methode-view.html)

[ joomla Eticket](http://www.thomasbouffon.fr/fr/blog/5-etickets-4-hikashop-plugin-de-billetterie-en-ligne-pour-joomla)

Last edit: 13 years 6 months ago by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile"). Reason: custom extension pdf

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE4LXN1cHBvcnQtZW4tZnJhbmNhaXMtZGUtaGlrYXNlcmlhbC1mcmVuY2gtc3VwcG9ydC83ODE4Ny1lc3QtY2UtcG9zc2libGUtZHV0aWxpc2VyLXVuLWZpY2hpZXItcGRmP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Away](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 6 months ago [\#100164](#100164) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Est-ce possible d'utiliser un fichier PDF?](/forum/18-support-en-francais-de-hikaserial-french-support/78187-est-ce-possible-dutiliser-un-fichier-pdf#100164 "Bonjour  Dans le Plugin AttachSerial peut-on utliser un fichier PDF dans Image path de Image generation?  Merci")*

Bonsoir,

Oui nous connaissons bien ces deux librairies de PDF.
Le plugin "invoice PDF" ( [ www.hikashop.com/en/component/hikashop/product/cid-18.html](http://www.hikashop.com/en/component/hikashop/product/cid-18.html) ) utilise TCPDF si ma mémoire est bonne (via "html 2 pdf").

La librairie PDF est malheureusement bien plus lourde (au niveau taille de fichiers) que les librairies de QRCode ou de BarCode.
Son ajout dans le package d'HikaSerial est donc assez compromis.
Par contre, rien n'empèche d'implémenter un plugin indépendant, qui fonctionnerait un peu comme le plugin "AttachSerial" mais qui génèrerait des PDFs au lieu d'images.

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE4LXN1cHBvcnQtZW4tZnJhbmNhaXMtZGUtaGlrYXNlcmlhbC1mcmVuY2gtc3VwcG9ydC83ODE4Ny1lc3QtY2UtcG9zc2libGUtZHV0aWxpc2VyLXVuLWZpY2hpZXItcGRmP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.107 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
