Saving printerer properties in a document

E

ewout.boter

I have made a function to create a merged document. The merge can be
started from an application running on an iSeries server (a.k.a. AS/
400). The application first assembles some data, writes it to a comma-
separated file, and then uses a command to start Word. The -m switch
is used to automatically start a macro that will run the merge. When I
do this, the merged document is displayed on screen and can be printed
(or modified, if necessary) by the user. When everything is fine, the
user can then print the document.

At our shop, we normally use A4 printer paper. However, the merged
document should be printed on a pre-printed form, with paper size
Letter 8.5"x 11'. In the template document for the merge, I have
selected this paper size. No problem so far. However, when I now want
to print the merged document on the pre-printed form, I also have to
make some changes to the printer properties. For example, for our IBM
InfoPrint 1130 printer, I have to set both 'Form Size' and 'Fit to' to
Letter 8.5"x 11". With this settings, the merged document prints just
fine. (When the properties are NOT changed, the positioning of the
merged data fields, which was painstakingly measured out by me, is
completely mixed-up.)

However, when the function is invoked again, the printer properties
have returned to their standard values. Thus, with this setup, the end
user would always have to change the printer properties before
printing the merged document. Now, that's NOT what I consider a user-
friendly solution.

Therefore, I am wondering if there is some way to save the printer
properties with the template document. I hope someone can help me out!

Ewout
 

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