postnl/postnl-magento1-End-of-life

Would it be an idea to add a simple option for page numbering?

Closed this issue · 3 comments

  • [X ] Feature request (request for a new functionality)

feature request

Would it be an idea to add some kind of page numbering? (suppose you mass print and drop the pile; or when there are multipage orders)?

/**
 * Create new page and assign to PDF object.
 *
 * @param  array $settings
 * @return Zend_Pdf_Page
 */
public function newPage(array $settings = array())

Hi Sean,

Adding page numbering would cause issues for certain labels. Depending on which labels you are printing, if you have multiple labels on one A4, the label will go through the page numbering.

I printed 4 combi-labels as an example, as seen on the following screenshot, the page number will most likely go through the lines:
screenshot 2018-12-27 at 14 44 30

There is also another issue, also related to the combi-labels, that is that certain labels get placed at the very top of the PDF. This would mess up the order of the page numbers either way.

I hope this clears up why we did not include page numbering in the PDF's.

Hi Sean,

Currently the labels are printed in order based on the Order ID. For most merchants this would be enough to reorder them if they do manage to drop a pile of labels.

The issue is that, as mentioned in my previous statement, the page numbering would go through your actual labels. To place a page number at the bottom of the A4 page, we would have to edit the actual label and make it smaller, so that the page number wouldn't go through your label.

Remember that the extension doesn't create the labels. We receive the labels from the PostNL servers. PostNL can send us back several kind of labels. It might go flawless with a normal domestic label, but other labels can cause too many issues.