
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.

Thanks Mike, Gerald && David
I think most sizes in PDF.pm are already relative. If you would have patches to improve, they would be welcome.
BTW: I guess your use case is to be able to print a statistic with all attributes on one sheet?
Of course, but only i changed the params to mediabox(w,h); I can print a static with more attributes
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.
Ok, I thing too in create cvs file and pass it to make a static with latex :) ----- Martin Edmundo De: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] En nombre de David Boyes Enviado el: jueves, 06 de septiembre de 2012 08:32 a.m. Para: User questions and discussions about OTRS. Asunto: Re: [otrs] how customize sheet size in PDF 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.
participants (2)
-
David Boyes
-
Soporte Informatica PGJE