View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.printing,microsoft.public.excel.programming
Dennis Macdonald[_2_] Dennis Macdonald[_2_] is offline
external usenet poster
 
Posts: 3
Default Printer PaperSize returned as a String - How

I have an API that returns the papersize as a number but how do I get
the string version (ie 9 = "A4").

This is OK when the parpersize returned is one of the papersize
contants, I can map it, but when it is not, how do I get the string
version.

That is - in Excel it shows a pulldown of all the page sizes available
in text form - where can I get a similar list wityh an API.

I hope this makes sense.

Thanks,
Dennis.