How to set special pager size

Jan 5, 2012 at 4:06 AM
Edited Jan 5, 2012 at 4:16 AM

I created new pager size with name is 'dotPrinter'.

If i count number of pagersize type in printer server properties on my PC, then I set pagersize = number of pagersize type: 

$objPHPExcel->getActiveSheet()->getPageSetup()->setPaperSize(143)

It's OK.

But, I can't do so, because i don't know other PC how many pagersize type.

Please tell me how to set special pager size with name is 'dotPrinter'.