Is there a way I could send from a program the PAPER SIZE to use for a
PRINTER without the manual procedure of setting up the printer through its
properties.

For example instead of the default A4 or LETTER, I want the paper size 9.5 X
8.5 inches set first before proceeding with my printing program.

Re: How is Paper Size set for a Printer using a Program? by Jonathan

Jonathan
Wed May 25 07:48:40 CDT 2005


"Cyril Balmadres" <Cyril Balmadres@discussions.microsoft.com> wrote in
message news:BB38450E-C878-4435-942A-67032077BA88@microsoft.com...
> Is there a way I could send from a program the PAPER SIZE to use for a
> PRINTER without the manual procedure of setting up the printer through its
> properties.
>
> For example instead of the default A4 or LETTER, I want the paper size 9.5
> X
> 8.5 inches set first before proceeding with my printing program.

Take a look here

Controlling the Printer from Word VBA
Part 3: Dealing with Different Paper Sizes
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=132


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org


Re: How is Paper Size set for a Printer using a Program? by Cyril

Cyril
Thu May 26 22:28:02 CDT 2005

Thanks Jonathan.
I went through to all your 4 parts on Controlling The Printer.
I am not using VBA.
I am developing a Point of Sale System of one of the Biggest Retailing
Company here in Sydney, AUSTRALIA and we are using CA-Visual Object for the
Front-End and some old OKI Dot Matrix Printers in the Stores. Obviously, I
need to convert your codes into something I can integrate with CA-Visual
Object (CAVO). Am I doing the right thing?

Thanks.

"Jonathan West" wrote:

>
> "Cyril Balmadres" <Cyril Balmadres@discussions.microsoft.com> wrote in
> message news:BB38450E-C878-4435-942A-67032077BA88@microsoft.com...
> > Is there a way I could send from a program the PAPER SIZE to use for a
> > PRINTER without the manual procedure of setting up the printer through its
> > properties.
> >
> > For example instead of the default A4 or LETTER, I want the paper size 9.5
> > X
> > 8.5 inches set first before proceeding with my printing program.
>
> Take a look here
>
> Controlling the Printer from Word VBA
> Part 3: Dealing with Different Paper Sizes
> http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=132
>
>
> --
> Regards
> Jonathan West - Word MVP
> www.intelligentdocuments.co.uk
> Please reply to the newsgroup
> Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
>
>

Re: How is Paper Size set for a Printer using a Program? by Jonathan

Jonathan
Thu Jun 02 09:57:10 CDT 2005


"Cyril Balmadres" <Cyril Balmadres@discussions.microsoft.com> wrote in
message news:FD415156-045D-4799-83A5-3FB739481516@microsoft.com...
> Thanks Jonathan.
> I went through to all your 4 parts on Controlling The Printer.
> I am not using VBA.

Ah. Since you are posting to a Word VBA group, I had assumed you were!

> I am developing a Point of Sale System of one of the Biggest Retailing
> Company here in Sydney, AUSTRALIA and we are using CA-Visual Object for
> the
> Front-End and some old OKI Dot Matrix Printers in the Stores. Obviously, I
> need to convert your codes into something I can integrate with CA-Visual
> Object (CAVO). Am I doing the right thing?

I have no idea whether the code I have written can be adapted to CA-Visual
Object, since I know nothing of that package's capabilities. Since you
appear to be using neither Word nor VBA, I think it unlikely you will get
any useful answers here. Sorry I can't be more help.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org