How is Paper Size set for a Printer using a Program?

C

Cyril Balmadres

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.
 
J

Jonathan West

Cyril Balmadres said:
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
 
C

Cyril Balmadres

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.
 
J

Jonathan West

Cyril Balmadres said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top