static void
Job1(Args _args)
{
System.Drawing.Printing.PrinterSettings printSetting = new
System.Drawing.Printing.PrinterSettings();
System.Drawing.Printing.PaperSize
size = new
System.Drawing.Printing.PaperSize();
System.Collections.ArrayList paperSizes;
System.Collections.IEnumerator
enumerator;
paperSizes=
printSetting.get_PaperSizes();
enumerator = paperSizes.GetEnumerator();
while
(enumerator.MoveNext())
{
size =
enumerator.get_Current();
info(size.get_PaperName());
}
}