vbscript >> Set Printer Paper Size & Disable Advanced Printing Features

by William Robertson » Fri, 14 Oct 2005 16:24:14 GMT

Hi there

Does anyone perhaps know how to set the paper size to A4 for ~200 printers?

Also, to perhaps remove the "Enable Advanced Printing Features" option?

William R.

vbscript >> Set Printer Paper Size & Disable Advanced Printing Features

by William Robertson » Sun, 16 Oct 2005 13:47:27 GMT

Hi guys

I *really* don't want to visit each print queue and change manually... Isn't
there anyway I can script at least just the Paper Size to A4?

William R.

Similar Threads

1. How do I set the printer size of paper the same as page size (48

2. Setting printer paper size

I want to save and then be able to restore the printer paper size.

Something like:

WriteLine(lFileNum, gAddressesPD.DefaultPageSettings.PaperSize.ToString)


Dim lTempPaperSize As PaperSize

Input(lFileNum, lTempPaperSize)

gAddressesPD.DefaultPageSettings.PaperSize = lTempPaperSize

Of course that is not correct but I don't know how to do it.

Can anyone help?

3. Disable advanced features on a printer.

4. 2003 Server - Prints sometimes disappear when printer runs out of paper

5. changing printer paper size - VB.Net

6. Getting the paper size for a custom printer form

Have you successfully added a custom form and then retrieved the paper size 
using VB.

I tried




But neither approach returns the correct values.

If you've done the above successfully I'd like to know so I'll keep looking 
for a bug.

If you've had problems, that of cause would be good for me to know.

Thanks in advance for any help at all

7. Get Available Paper Sizes for Installed Printers - VB.Net

8. Paper size on switching printer.

We develop our reports on laser printers (Kyoseras mainly, or Oki), at one 
customer site they wish to print the delivery notes on dot matrix.

We set the reports to default printer, but the dot matrix is not their 
default printer. When they switch to this printer in the dialog box, the 
paper size changes to letter. We have set the default paper size in XP to 
a4, but crystal doesn't appear to take any notice. Oddly I think the paper 
size on the default printer is a4.

Does anyone know of any way we can enforce the selection of the printer 
default paper size at this point (report.printersetup(0))?