Printer paper size setting RRS feed

  • Question

  • hello all , I got a problem related to printing out the desired size paper , hope someone can help me out here
    I am going to write a program that able to print out 2 diffirence size of papers on a large scroll dot matrix printer.I found out that if my current printer paper size(from control panel>print and fax)  is smaller than my paper size(Printing.PageSettings.PaperSize in runtime) , my document will be printed in the size according to my default printer paper size(in this case some lines are missing).On the other hand , when my default is larger than Printing.PageSettings.PaperSize , my upcoming print out will be weird(due to the incorrect paper scrolling base on printer paper size).
    Is there any simple way overriding the printer paper setting in programing level?

    Thanks for reply
    Sunday, October 16, 2005 8:48 PM