Changing printer preference using vb6?

Posted by Mahmoud on Stack Overflow See other posts from Stack Overflow or by Mahmoud
Published on 2010-04-21T19:05:29Z Indexed on 2010/04/21 20:43 UTC
Read the original article Hit count: 225

Filed under:
|

I am having a problem when my program is installed to another computer, where its printer preference is different, where my data report accepts Letter size 8.2 * 11 in, because when the printer preference is different the data report well not show and gives an error saying the page width is larger than paper width, does anyone know how to fix this problem.

i tried this code but it didn't work

Printer.PaperSize = vbPRPSLetter

© Stack Overflow or respective owner

Related posts about vb6

Related posts about printing