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

#   Positioning of fields on Attachpdf

##

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

Less More

- Posts: 10
- Thank you received: 0
-
-

6 years 3 months ago -  6 years 3 months ago [\#321978](#321978) by [andiman](/forum/user/44491-andiman "View andiman's Profile")  *[Positioning of fields on Attachpdf](/forum/14-hikaserial/900410-positioning-of-fields-on-attachpdf#321978 "-- HikaShop version -- : 4.3.0 -- HikaSerial version -- : 3.1.1 -- Joomla version -- : 3.9.14 -- PHP version -- : 7  Hello,  I use the attach PDF and also the atach serial plugin. But how to position the elements on the PDF. Where is 0/0 ?  When I position a text on -200/-200 he stays in the middle top of the document. How to fix that?  As you can see in my image I positioned three elements on 0/0 but they are aligned under each other.")* was created by *[andiman](/forum/user/44491-andiman "View andiman's Profile")*

-- HikaShop version -- : 4.3.0
-- HikaSerial version -- : 3.1.1
-- Joomla version -- : 3.9.14
-- PHP version -- : 7

Hello,

I use the attach PDF and also the atach serial plugin. But how to position the elements on the PDF. Where is 0/0 ?

When I position a text on -200/-200 he stays in the middle top of the document. How to fix that?

As you can see in my image I positioned three elements on 0/0 but they are aligned under each other.

- [ ![hika.jpg](/forum/attachment/50051) ](/forum/attachment/50051 "hika.jpg") [ ](/forum/attachment/50051?download=1 "hika.jpg")

Last edit: 6 years 3 months ago by [andiman](/forum/user/44491-andiman "View andiman's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE0LWhpa2FzZXJpYWwvOTAwNDEwLXBvc2l0aW9uaW5nLW9mLWZpZWxkcy1vbi1hdHRhY2hwZGY/dG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

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

6 years 3 months ago [\#321989](#321989) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Positioning of fields on Attachpdf](/forum/14-hikaserial/900410-positioning-of-fields-on-attachpdf#321989 "-- HikaShop version -- : 4.3.0 -- HikaSerial version -- : 3.1.1 -- Joomla version -- : 3.9.14 -- PHP version -- : 7  Hello,  I use the attach PDF and also the atach serial plugin. But how to position the elements on the PDF. Where is 0/0 ?  When I position a text on -200/-200 he stays in the middle top of the document. How to fix that?  As you can see in my image I positioned three elements on 0/0 but they are aligned under each other.")*

Hello,

Since "0/0" is the default value when you create entries ; that specific value is not read by the plugin and it display the text "below" the previous entry.

From TCPDF and FPDF documentations

> SetXY
> Defines the abscissa and ordinate of the current position. If the passed values are negative, they are relative respectively to the right and bottom of the page.

The unit is by default "mm" but that value can be override by your template. Since you're using a PDF as template, the plugin use "FPDi" to load your PDF and performs dynamic modifications.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE0LWhpa2FzZXJpYWwvOTAwNDEwLXBvc2l0aW9uaW5nLW9mLWZpZWxkcy1vbi1hdHRhY2hwZGY/dG1wbD1tYXJrZG93bg==) 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.187 seconds

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

[](#top)
