Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR BASIC

vb.net printing set page size

'set new size 
Dim mySize As New PaperSize("mySize", WidthInDots, HeightInDots)
'Set printer object default page size 
'The size must supported by printer
'The actual size depents by printer resolution
myPrinter.DefaultPageSettings.PaperSize = mySize
 
PREVIOUS NEXT
Tagged: #printing #set #page #size
ADD COMMENT
Topic
Name
9+8 =