Hi,

I need to create a script that changes the paper settings of a user
printer(s) to A4.

Can someone help me in this process

--
Urvin

--
Urvin

Re: Change paper settings by Adam

Adam
Fri Jul 27 10:52:20 CDT 2007

On Jul 27, 4:14 am, Urvin <Ur...@discussions.microsoft.com> wrote:
> Hi,
>
> I need to create a script that changes the paper settings of a user
> printer(s) to A4.

WMI can help you out with that. Please reference the
Win32_PrinterConfiguration class. In that class is a PaperSize
property.


Re: Change paper settings by urkec

urkec
Fri Jul 27 11:46:02 CDT 2007

"Adam Sandler" wrote:

> On Jul 27, 4:14 am, Urvin <Ur...@discussions.microsoft.com> wrote:
> > Hi,
> >
> > I need to create a script that changes the paper settings of a user
> > printer(s) to A4.
>
> WMI can help you out with that. Please reference the
> Win32_PrinterConfiguration class. In that class is a PaperSize
> property.
>
>

It's a read-only property. I haven't be able to find a way to change printer
paper size with WMI.


--
urkec

Re: Change paper settings by Urvin

Urvin
Fri Jul 27 13:26:02 CDT 2007

Thanks for you response,

I must be able to change the paper size not only read its value.
Is theer another way?

Regards,

--
Urvin


"urkec" wrote:

> "Adam Sandler" wrote:
>
> > On Jul 27, 4:14 am, Urvin <Ur...@discussions.microsoft.com> wrote:
> > > Hi,
> > >
> > > I need to create a script that changes the paper settings of a user
> > > printer(s) to A4.
> >
> > WMI can help you out with that. Please reference the
> > Win32_PrinterConfiguration class. In that class is a PaperSize
> > property.
> >
> >
>
> It's a read-only property. I haven't be able to find a way to change printer
> paper size with WMI.
>
>
> --
> urkec

Re: Change paper settings by urkec

urkec
Fri Jul 27 13:42:01 CDT 2007


"Urvin" wrote:

> Thanks for you response,
>
> I must be able to change the paper size not only read its value.
> Is theer another way?
>
> Regards,
>
> --
> Urvin

Sorry, no. I have been looking around, but no luck.

--
urkec



Re: Change paper settings by Urvin

Urvin
Fri Jul 27 14:10:07 CDT 2007

Thanks for the help
I will continue searching.although I have the impression that this is simply
not possible via script.

Regards,
Urvin
--
Urvin


"urkec" wrote:

>
> "Urvin" wrote:
>
> > Thanks for you response,
> >
> > I must be able to change the paper size not only read its value.
> > Is theer another way?
> >
> > Regards,
> >
> > --
> > Urvin
>
> Sorry, no. I have been looking around, but no luck.
>
> --
> urkec
>
>