List Windows Paper Sizes

I can get the current locale paper size using

GetLocaleStr(LCID,LOCALE_IPAPERSIZE,IntToStr(DMPAPER_A4)) 

where LOCALE_IPAPERSIZE = $100A

but is there a way to list all paper sizes with their names?

+3
source share
2 answers

No enumerator, see "Paper Sizes" on MSDN for a complete list.

You can find out the paper sizes supported by a specific installed printer, but this may not include everything.

+3
source

There is EnumForms .

Stephen Friedl did research on this.

+1
source

All Articles