How customize papersize on VBNET under XP, help me

  • Thread starter Thread starter JuanCarlos Gomez
  • Start date Start date
J

JuanCarlos Gomez

I am try to customize papersize on VBNET (PrintDialog, PritnDocument), but
only have access to defined Paper Size on my
Printer (FX-2180), how I can customize papersize and use it. Because all the
time have access only to the defined paper.
I need create an paper size (not ISO's). Please help me
 
In this regard Windows XP is different from 98 & Me.

To add a custom page size directly in the driver in Windows 2000 and XP do
the following:

1. Start | Printers & Faxes
2. Click File, Server Properties
3. Check, Create New Form, Form Name: "New Name"
4. Form description: put in the measurements: ... Then click Save
Form

You will then have this custom page available for the printer.

If you want to do this in code there is an article that may help at
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q282474

This is the way you would have to do it in VB 6, since there is no way to
add a custom form without API calls in VB 6. I don't know if VB.net has an
easy method for this or not. A quick look didn't expose one for me.
 
Back
Top