If you are running OTRS on Linux/Unix, look at using the CUPS API to query the supported media types/sizes for the printer you intend to use. I’m not sure if the same API exists for Windows, but it might be a route to investigate.

 

Long-term, that might be the way to code it.

 

From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Planeacion, Desarollo Informatico
Sent: Wednesday, September 05, 2012 8:37 PM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] how cutomize sheet size in PDF

 

Hi Mike, 

PDF::PageSize  only receive:
* Letter
* A4
* Legal (perhaps).

I wanna know how customize PDF sheet report, "the clear way", but i try this change PDF.pm, when mediabox(w,h), is called. This way is very dirty and causes that the pdf generation is acting weird u_u.