Change Printer Paper Size @ runtime VB6

hi experts

how can i change the printer paper size @ run time in visual basic 6.
a sample, or code will be aapreciated.

Thanks
LVL 4
LeDaoukAsked:
Who is Participating?
 
LunchyCommented:
Closed, 50 points refunded.
Lunchy
Friendly Neighbourhood Community Support Admin
0
 
RimvisCommented:
Use PaperSize property, like this:

Printer.PaperSize = vbPRPSA3 'Sets paper size to A3

Search MSDN for more constants
0
 
LeDaoukAuthor Commented:
u can use this when u r using the printer object like printer.print "BLA BLA BLA..."
I want to resize the paper before that I run a data report
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.