Positioning of fields on Attachpdf

  • Posts: 9
  • Thank you received: 0
  • Hikashop Business
2 years 8 months ago #321978

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


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.

Last edit: 2 years 8 months ago by andiman.

Please Log in or Create an account to join the conversation.

  • Posts: 25702
  • Thank you received: 3973
2 years 8 months ago #321989


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

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.


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.056 seconds
Powered by Kunena Forum