I need to store various printer settings into the database (this would be
done by the user thru “Maintain Printers” screen).
1. In what format I’ve to store the printer information (paper source,
papersize …)?
2. Then how do I apply the stored values to word object. (It’ll accept
only its enumerations)?
Jezebel - 11 Jul 2005 09:33 GMT
Use the object browser to check the property names and data types. The data
types will tell you the format for storing the values in the database. You
set Word object properties the same as any other VB/VBA properties.
>I need to store various printer settings into the database (this would be
> done by the user thru "Maintain Printers" screen).
[quoted text clipped - 5 lines]
> accept
> only its enumerations)?
Chuck - 11 Jul 2005 10:59 GMT
You might find the following MS Knowledgebase articles helpful
How To Obtain Built-In Constant Values for an Office Application (macro for
getting constants from Office apps, 2000+):
http://support.microsoft.com/default.aspx?scid=kb;en-us;239930
Built-in Constants in Visual Basic for Applications (contains link to
downloadable modules and spreadsheet containing contant values for Office 97):
http://support.microsoft.com/default.aspx?scid=kb;en-us;112671
> I need to store various printer settings into the database (this would be
> done by the user thru “Maintain Printers” screen).
[quoted text clipped - 3 lines]
> 2. Then how do I apply the stored values to word object. (It’ll accept
> only its enumerations)?