Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with "Paper Type" - VB program -> MSWord

Status
Not open for further replies.

WCSBC

Programmer
Jul 16, 2003
12
GB
We have an application which generates a Word Document, which more often than not requires printing to a text rather than Laser style printer.

We can print quite happily in the office.
We deploy the application, and the printing goes to pot -
Pagination and margins!

Is there a way
a) that I can set the Printer to be a Particular Printer on a User PC, which is not necessarily the default, and then
b) Choose the Paper Type for the Printer?

There may be different sizes and types of paper produced from the App, and I need to be able to set programatically the applicable paper type.
At present, if we set eg doc.height, we seem to get "Custom"
as the Paper Type.

Any help or suggestions would be much appreciated.



 
To use OLE control what open documen in Word and then make adjustments how to want.

mi1306
 
Thanks for that, but this is the nub of the problem for us.

The document is opened using wordapp.
However, we present the document as "Protected", and we don't want to force the users down the line of "unprotect"/
Choose the appropriate printer/Choose Paper Type etc.

We would like to set the whole thing up, and for them to "File/Print" without having to worry about the settings in use.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top