I have Win2000 and Panasonic Printer KX-P1150.
I'll have to print a voucher with this dimension:
width = 9 inches or 22.86 cm
heigth = 5.5 inches or 13.97 cm
I create a custom papersize in "Settings\Printers" on Windows, but, when I use in VB6
Printer.PaperSize = vbPRPSUser
send me an error message.
I changed for
Printer.Width = 9
Printer.Height = 5.5
but not recognize paper size for printer.
How I do, in VB6 to set paper size ?
I'll have to print a voucher with this dimension:
width = 9 inches or 22.86 cm
heigth = 5.5 inches or 13.97 cm
I create a custom papersize in "Settings\Printers" on Windows, but, when I use in VB6
Printer.PaperSize = vbPRPSUser
send me an error message.
I changed for
Printer.Width = 9
Printer.Height = 5.5
but not recognize paper size for printer.
How I do, in VB6 to set paper size ?