Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom PaperSize for Printer?

Status
Not open for further replies.

joseprez

Vendor
Sep 7, 2002
19
0
0
PA
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 ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top