ActiveX and Word

All,
I am in the process of parsing documents and creating a Word 97 document.
This document only contains a table. I was able to successfully create the
table,
change the column widths, and add headers. One of the columns contains comma
delimited variables. I am trying to select the column and then replace the
"," with
. The code snippet below was one of the many attempts to do this:
err = Word_SelectColumn( tableHandle, 3 );
err = CA_VariantSetCString( &vtFindText, "," );
err = CA_VariantSetCString( &vtReplaceWith, "^l" );
err = CA_VariantSetLong( &vtReplace, WordConst_wdReplaceAll );
err = CA_VariantSetLong( &vtWrap, WordConst_wdFindStop );
err = Word_GetProperty( tableHandle, NULL, Word_SelectionFind, CAVT_OB
JHANDLE,
&findHandle );
//Word_FindClearFormatting( findHandle, NULL );
//Word_ReplacementClearFormatting( findHandle, NULL );
err = Word_FindExecute( findHandle, NULL, vtFindText, CA_DEFAULT_VAL,
CA_DEFAULT_VAL,
CA_DEFAULT_VAL, CA_DEFAULT_VAL, CA_DEFAULT_VAL,
CA_DEFAULT_VAL, vtWrap, CA_DEFAULT_VAL,
vtReplaceWith, vtReplace, &status);
Word_FindExecute expects a Find Obj but the call to Word_GetProperty yields
an error.
Any help would be greatly appreciated.
Thanks.
Randy Schmidt
DAQtech, Inc.

We do not have an example that will do *exactly* what you need, but you should
find an ActiveX example program, either in the CVI samples folder or on the
Example Programs Database, that illustrates how to print a document in Word.
The function you will need to call that actually invokes the print method
is Word_DocumentPrintOutOld. It's defined in word2000.h; the prototype,
in case you were curious is:
HRESULT CVIFUNC Word_DocumentPrintOutOld (CAObjHandle objectHandle,
ERRORINFO *errorInfo,
VARIANT background, VARIANT append,
VARIANT range, VARIANT outputFileName,
VARIANT from, VARIANT to, VARIANT
item
VARIANT copies, VARIANT pages,
VARIANT pageType, VARIANT printToFile,
VARIANT collate,
VARIANT activePrinterMacGX,
VARIANT manualDuplexPrint);
"Han Stehmann" wrote:
>>I'd like to print labels from CVI. I managed to create the label type I
need>in WORD. Now I want to use that in CVI. The following macro describes
exactly>what I want. Maybe someone can translate this to CVI, please ???>>>Sub
Macro2()>'>' Macro2 Macro>' Macro recorded 17-02-00 by IT-Systems>'> Documents.Add
Template:= _> "C:\Program Files\Microsoft Office\Templates\Normal.dot",
NewTemplate:=>_> False> Application.MailingLabel.DefaultPrintBarCode
= False> Application.MailingLabel.CreateNewDocument Name:="10.63230",
Address:="">_> , AutoText:="ToolsCreateLab
els1", ExtractAddress:=False>End
Sub>

Similar Messages

  • Printing labels from CVI using ActiveX and WORD

    I'd like to print labels from CVI. I managed to create the label type I need
    in WORD. Now I want to use that in CVI. The following macro describes exactly
    what I want. Maybe someone can translate this to CVI, please ???
    Sub Macro2()
    ' Macro2 Macro
    ' Macro recorded 17-02-00 by IT-Systems
    Documents.Add Template:= _
    "C:\Program Files\Microsoft Office\Templates\Normal.dot", NewTemplate:=
    False
    Application.MailingLabel.DefaultPrintBarCode = False
    Application.MailingLabel.CreateNewDocument Name:="10.63230", Address:=""
    , AutoText:="ToolsCreateLabels1", ExtractAddress:=False
    End Sub

    We do not have an example that will do *exactly* what you need, but you should
    find an ActiveX example program, either in the CVI samples folder or on the
    Example Programs Database, that illustrates how to print a document in Word.
    The function you will need to call that actually invokes the print method
    is Word_DocumentPrintOutOld. It's defined in word2000.h; the prototype,
    in case you were curious is:
    HRESULT CVIFUNC Word_DocumentPrintOutOld (CAObjHandle objectHandle,
    ERRORINFO *errorInfo,
    VARIANT background, VARIANT append,
    VARIANT range, VARIANT outputFileName,
    VARIANT from, VARIANT to, VARIANT
    item
    VARIANT copies, VARIANT pages,
    VARIANT pageType, VARIANT printToFile,
    VARIANT collate,
    VARIANT activePrinterMacGX,
    VARIANT manualDuplexPrint);
    "Han Stehmann" wrote:
    >>I'd like to print labels from CVI. I managed to create the label type I
    need>in WORD. Now I want to use that in CVI. The following macro describes
    exactly>what I want. Maybe someone can translate this to CVI, please ???>>>Sub
    Macro2()>'>' Macro2 Macro>' Macro recorded 17-02-00 by IT-Systems>'> Documents.Add
    Template:= _> "C:\Program Files\Microsoft Office\Templates\Normal.dot",
    NewTemplate:=>_> False> Application.MailingLabel.DefaultPrintBarCode
    = False> Application.MailingLabel.CreateNewDocument Name:="10.63230",
    Address:="">_> , AutoText:="ToolsCreateLab
    els1", ExtractAddress:=False>End
    Sub>

  • Can I mix Pages page layout and word processing together in one document?

    Hello there ! I am quite new to Pages and I am desperate to learn as i want to get rid of everything being Microsoft
    As you all know when you open Pages you can choose between page layout and word processing !
    the thing is i thought that after using a page layout you could just go with word processing easily... well no, you can't, but i'm sure i'm missing something...
    For exemple i really like the catalogue brochure and it would be perfect for me to start a project... but after a few pages, i can just add blank pages and if i want to type text, i have to add text boxes... i don't want that, I want word processing... and another thing in this brochure i can't add table of content because it is not by default in the template...
    So my question is quite basic here, can we link Page layout and word processing without having to use text boxes and everything ?
    Thanks in advance !
    Have a good day

    Alexander,
    Welcome to Apple discussions.
    The simple answer is no. What differentiates page layout from word processing mode is that the PL mode has no text layer. So everything that goes on the page must be an object of some kind. And any pages you add to a PL document must also be PL. You can't mix the two modes. One way around it is to start with a blank page, insert a text box, then stretch the box so that it covers the entire page. You can the type in it as if it were a text layer in a WP file. You can even capture that page so that you can add it automatically when you need it, or save it as a template.
    As for building a Table of Contents, it appears that Pages only sees text styles that are on the text layer, which means it won't see styles that are in objects -- which means it won't work with a PL document. From being a long-time reader of this discussion group, I've noticed it's rare that someone wants to add a ToC to a PL document.
    If you find that you're going to be mixing text and graphics, start with a word processing template. If you really like the Catalog Brochure, you could always copy some or all of its elements over to a blank WP template.
    Hope this helps.
    -Dennis

  • Can I search for pdf and word documents at the same time in finder?

    I often want to search for more than one file type at a time - for instance pdfs and word docs in a directory, or Jpgs, GIFs, PNGs etc.
    Can I do this in the finder in one go (so I can save it as a folder I can then select when I want to)?
    I tried typing OR between the 'tokens' it creates, but then it just searches for OR - so not as intelligent as one would think?!
    Surely there must be a way to do something as simple as this?
    regards
    Rob

    Forget the whole "tokens" business (I think that is a pretty useless "improvement" to constructing Spotlight searches). Hit command-F to bring up the search window, and set your first criteria, in the example I changed it from the default Kind to Created Date, to keep the number of results manageable. Now hold down the Option key and click on the "+" at the end of the criteria line, it will change to "..." and you get a new criteria line. From the dropdown menu choose "Any" if necessary (this will give you the Boolean OR), then enter what you want in the first sub-head. To get a second sub-head OR criteria click the "+" at the end of the Any line.
    I don't generate many MS Word docs, so I just stopped in the example above after typing Microsoft, since that brought up all the MS anything I have from this year (a couple of Power Point thingies sent to me by friends).
    Francine

  • How can I download excel and word

    I need work in excel and word in my iPed - please guide

    You cannot download or install Word or Excel for the iPad. MS has not released an iOS version.
    There are MS Office compatible apps available in the app store like Quick Office Pro and Documents to Go. Take a look at those and see what you think. Apple also has their iWorks suite of apps, Pages, Numbers and Keynote that are compatible with the MS Office apps.

  • How can I use excel and word on the IPAD2

    How can I use excel and word documents on my Ipad 2

    There are apps such as Documents To Go which support reading/editting/creating those sorts of documents :
    standard version  -  http://itunes.apple.com/us/app/documents-to-go-office-suite/id317117961?mt=8
    premium version  -  http://itunes.apple.com/us/app/documents-to-go-premium-office/id317107309?mt=8

  • Can you have pages and word on the same computer

    can you have pages and word on the same computer

    Sure, I do (my Office is 2008 but I keep it around for some things I get from work).

  • Is there a small and lite portable, around 5 lbs or less, printer for my iPad to take on vacation for photos, more than 1 at a time, and words? I have both HP dj460 and ps 616A but they don't support iPad. Is there a device, work around or ePrinter air pr

    Is there a small and lite (5 lbs or under) portable air printer / ePrinter I can use to print contact sheets of photos and words with my iPads? I already have the HP dj460 and HP ps 616A but they don't support the iPads.

    Helper app -- /print n share
    Print directly to the widest range of network or WiFi printers available in any app. Alternatively print via your computer to ALL printers including USB & Bluetooth printers. View read and display large PDF, Office & iWork files. Easily transfer & store files from the Cloud or your computer.
    https://itunes.apple.com/us/app/print-n-share/id301656026?mt=8
    HP  ePrint Home & Biz
        http://itunes.apple.com/us/app/hp-eprint-home-biz/id299531647?mt=8
    http://h10025.www1.hp.com/ewfrf/wc/searchResults?tmp_product=HP+Photosmart+5515+ e-All-in-One+Printer+-+B111a&product=5063608&tmp_qt=eprint&cc=us&dlc=en&lc=en&su bmit
    Mobile printing.
    This blogger found one solution.
    http://genuinely-original.blogspot.com/search/label/iPad%20Printing
    Make Portable Printing Easier with Print n Share and the Brother RJ-4040
    http://prmac.com/release-id-44494.htm
    Use an airprinter with a power inverter
    http://genuinely-original.blogspot.com/search/label/iPad%20Printing
    see makethisstuffwork post in:
    https://discussions.apple.com/thread/4987217?tstart=0
    Brother PocketJet® 673
    -- Prints on a variety of 8.5" wide thermal media.
    -- Print PDF files from your iPhone and iPad with the PJ-673 Print app
    http://www.brother-usa.com/Mobile/ModelDetail.aspx?ProductID=pj673-k&PG=26#.UeX0 Z18pDDJ
    List of supported AirPrinters.
       http://support.apple.com/kb/HT4356

  • After hours of back-up, downloading and uploading...I am now updated with all the latest Mac software. However, I no longer have access to Excel and Word. Is there a way I can access my documents in either of those? Help, please.

    After hours of back-up, downloading and uploading...I am now updated with all the latest Mac software. However, I no longer have access to Excel and Word. Is there a way I can access my documents in either of those? Help, please.

    If you have older versions of excel and word that previously ran under the Rosetta emulator (allows PowerPC code to run on Intel system), they will no longer work with Lion.
    You can use the Apple programs Pages and Numbers to access the files. They can be bought and downloaded from the App store. NeoOffice is available at http://www.neooffice.org/neojava/en/index.php which has Lion support. OpenOffice doesn't talk to Lion support, it's at http://www.openoffice.org/

  • Hp officejet pro 8610 prints solid black on scanned pdf and word doc pictures

    -HP Officejet Pro 8610
    -problem printing scanned pdf document and word doc. photos
    -My new HP Officejet Pro 8610 printed a newly scanned pdf document as an all black picture. I then printed a saved word documtent from my iMac which included a small picture. The document print was acceptable, but the picture was solid black. There were no error messages. These were, my initial tests, to check this new printer.

    Hey there @TM-10 
    Welcome to the Community
    I read through your post about your new Officejet 8610 scanning a document to your computer and printing out all black. I have a couple ideas for you to try.
    Try the steps in this guide: Unexpected Scan Output Using HP Scan Application for HP Multifunction Printers When Using OS X v10.9...
    Press the Power button to turn on the product.
    With the product turned on, disconnect the power cord from the rear of the product.
    Unplug the power cord from the wall outlet.
    Wait at least 15 seconds.
    Plug the power cord back into the wall outlet.
    Reconnect the power cord to the rear of the product.
    If the product does not turn on by itself, press the Power button to turn it on.
    Ensure the printer is plugged in directly to the wall outlet, avoiding power bars and surge protectors. This ensures the printer is receiving full power and may help.
    Good luck
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Read Only TextAreas with Carriage Return, Line Breaks and Word Wrapping

    Hi all,
    I know there are a few posts around this subject but I cannot find the answer to the exact problem I have.
    I have a page that has a 'TextArea with Character Counter' (4000 Chars) that is conditionally read only based on the users credentials (using the 'Read Only' attributes of the TextArea item).
    When the field is editable (not Read Only) everything works fine but when I make the field Read Only I start to have problems:
    The first problem is that the Carriage Return and Line Breaks are ignored and the text becomes one continuos block. I have managed to fix this by adding pre and post element text of pre and /pre tags. This has made the Carriage Return and Line Breaks word nicely and dispaly correctly.
    However, it has introduced a second problem. Long lines, with no Carriage Returns or Line Breaks, now extend to the far right of the page with no word wrapping, making my page potentially 4000+ characters wide.
    How can I get the field to be display only, with recognised Carriage Returns and Line Breaks, and Word Wrapping inside a fixed width of, say, 150 characters?
    Many thanks,
    Martin

    Hi,
    Just a cut and paste of yours with the field name changed:
    htp.p('<script>');
    htp.p('$x("P3_COMMENTS").readonly=true;');
    htp.p('</script>');I also have the following in the page HTML Header, could they be conflicting?
    <script type="text/javascript" language="JavaScript">
    function setReleaseToProd(wpTypeCode){
       //setReleaseToProd($v(this))
      var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=set_release_to_prod',0);
      get.addParam('x01',wpTypeCode);
      gReturn = get.get();
      if(gReturn) {
         $s('P3_RELEASE_TO_PROD',gReturn);
      get = null;
    </script>I am a long way from knowing much about Javascript (this page code was written by someone else) so all help is much appreciated.
    Martin

  • Not enough memory or disk space in excel and word office 365

    I have windows 8.1 and am having huge issues with excel and word in office 365.
    When i download a document i am unable to open as message reads cannot open as not enough memory or disk space.
    I have plenty of disk space and memory however have searched this and the following has been answered BUT I CANNOT UNDERSTAND This and need HELP  with step by step instructions on how to do please;
    To resolve the issue, refer to the methods below:
    Go to this key on Registry Editor (Run | Regedit)HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
    Shell Folders
    change key Cache to something like C:\Windows\Temp
    You might also right click on the file with file explorer, choose Properties, then General tab and click on the Unblock button.
    Some of our customers found it sometimes a permission problem.
    cmd  => dcomcnfg
    Click >Component services >Computes >My Computer>Dcom config> and select micro soft Excel Application>
    Right Click on microsoft Excel Application>Properties>Give Asp.net Permissions
    Select Identity table >Select interactive user >select ok
    However i do not understand a word of the above or how to do PLEASE HELP this is extremly frustrating as i am doing correspondence and I am unable to access any files.
    Thanks

    Hi,
    You must have read this thread:
    http://social.technet.microsoft.com/Forums/en-US/9773a7c4-29a8-48ff-9d16-e1ca4c478610/excel-2013-microsoft-excel-can-not-open-or-save-anymore-documents-because-there-is-not-enough?forum=officesetupdeploy
    To detail the steps, please do as I describe:
    Important
    This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the
    registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry,
    http://windows.microsoft.com/en-US/windows7/Back-up-the-registry
    To open the Registry Editor, please press Win + R, type regedit in the blank box, press
    Enter. / Or we can type regedit.exe in Windows 8.1 Search, you'll find it easily.
    Now the Registry Editor is open.
    Then we see the pane on left, expand the following path:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
    Then we can see a list on right, find Cache, right click on it, click
    Modify..., under Value data, change the value to something like
    C:\Windows\Temp, click OK.
    Exit Registry Editor.
    As for "You might also right click on the file with file explorer, choose Properties, then General tab and click on the Unblock button." Just find the file, right click on it, choose
    Properties, under General tab, if you see a
    Unblock button, click on it.
    "Some of our customers found it sometimes a permission problem.
    cmd  => dcomcnfg" Do the following:
    Press Win + R, type in cmd in the blank box, press
    Enter.
    In the new black-background window, type in dcomcnfg, press
    Enter.
    Then the Component Services window will pop up, on the left pane, expand
    Component services -> Computes ->
    My Computer -> Dcom config -> and select
    Microsoft Excel Application, right click on it -> Properties ->
    Identity tab -> Select The interactive user ->
    OK.
    I hope I've explained the steps clearly.
    Good luck.
    Regards,
    Melon Chen
    TechNet Community Support

  • I have an iMac with Mavericks that is experiencing a lot of "spinning balls" from particularly Mail, Google Chrome, and Word. I took it to the Apple store and it was fast there, at home slow. I have been having internet speed issues, could it be that?

    I have a pretty new iMac with LOTS of storage (about 4TB with externals) that is experiencing a lot of "spinning balls of death" from time to time in almost any program that I might have open, but particularly MacMail, Google Chrome browsers, and Word. I took it to the Apple store to be checked out and it was really fast with no issues there. I brought it home and it was better at first but then it started happening again.
    I have been having a lot of issues with Time Warner where my download speeds will dip really low, and all I can think of is that MacMail goes and tries to check for email and can't get out to the internet and it locks all the other resources up while it is doing it. It will also take a REALLY long time to even let you look at mail. The folder size is over 13GB (down from 22GB that I just cleared out from - I have a lot of MP3s etc in there) and I will try to get this down to under 10GB which might help, and the mail is on an external drive. I have been told that Verizon is not a shared network but a direct connection to their server, and if I can't fix this then I will try switching to them. If anyone has any direct knowledge on this stuff, I am all ears.

    We need to know more about your system, please download EtreCheck and run the report and please post it on your next reply. Then we can see how your system is configured, what apps are on it and look for anything obvious. We will look forward to seeing your report.

  • Sorry, something went wrong and Word was unable to start (6) Office 2013

    Ok this is just so annoying.
    Whenever I try to open Word, it gives the error "Sorry, something went wrong and Word was unable to start.(6)". Other office applications either freeze or crash. Only Excel works fine. Running Win7 64 bit.
    Tried all possible ways of installation/reinstallation. Did repair, uninstalled and reinstalled manually, uninstalled with FixIt from Microsoft, removed every leftover thing from registry. Also removed some other applications that I thought could cause this
    problem for Office. 
    Uninstalled 64 bit Office, and installed 32 bit, same exact problems.
    !!!Don't suggest me to run as administrator please!!!

    Hi,
    According to your description, I suppose that Word 2013 was blocked by some other applications after you opening it.
    Which operation system do you use?  Have you installed the Office 2013 SP1?
    Then, we try to do some tests to narrow down the issue:
    1. Collect the Event log
    http://windows.microsoft.com/en-us/windows/what-information-event-logs-event-viewer#1TC=windows-7
    2. Use the
    Process Monitor to collect the detailed information.
    Open process monitor, and reproduce this issue, if there is any files or keys were blocked during the process.Please let me know,  and you could save as the file from process monitor, upload the file through One Drive and share the link to me. I'll
    analysis it.
    Regards,
    George Zhao
    TechNet Community Support

  • Integration between InfoPath web forms (browser side), SharePoint 2010, and Word or Excel

    To begin with the end in mind, here's what I need to do:
    User A (employee) fills out infopath form in browser.
    User A saves infopath form, workflow runs, and sends a link to the manager
    User B (Manager) opens infopath form, clicks a button, and all the information from the saved infopath form magically appears in a excel document
    Here's how I did it, because I couldn't find an easier way to do it. This is an InfoPath no-code solution (uses web service and workflow I had to build) and this is working somewhat:
    In InfoPath Designer 2010, created the form from Blank 2007 form template.
    Published the form and promoted fields to Sharepoint 2007 as a new forms library.
    Created a view on forms library to show all fields (SQLExportView1).
    Created SSIS package to import data from SharePoint forms list using the view "SQLExportView1" into a new database and table in SQL Server (tblSQLExport1).
    Created SQL Agent job to run this package every 2 minutes.
    Created workflow to notify manager.
    Created excel document with an external data connection to SQL server.
    In SQL, created a stored proceedure ("spGetCurrentID") to truncate, then add a row to a table ("tblCurrentFormID").
    On InfoPath form, added a button that takes the current infopath form "ID" into a table in SQL server by calling the stored procedure via a web service.
    On Infopath form, added a hyperlink to the excel file which opens in the client.
    In excel, added a button on the workbook that queries the SQL database for the current form ID, and drops it into a cell.
    In excel, added a button on the workbook that queries the SQL database for the sharepoint list details that were exported via SSIS, returning only the row for the current form ID.
    In excel, created a button on the workbook that displays the fields I want in the location I want
    With over 25 users concurrently hitting the form library, there is a chance that when they open excel they will generate an excel document with bad data in it (data from someone else's current ID).
    I've since migrated to SharePoint 2010, and it works the exact same way in 2010.
    What I want to do is find a way to get the data that is already saved in the infopath form DIRECTLY to Excel by clicking a button without the web service, the stored procedure, the SSIS package, the SQL agent job, etc.  My problem has always been
    in getting the data from infopath into RAM/Clipboard/temp file(?) and imported into Excel by bypassing the SQL.
    Of course, I would like to do this without requiring an administrator approved template in InfoPath, and have it be much more simpler to maintain. There are a lot of moving parts.
    Please point me to any examples or make recommendations. The requirement is that users open the form, the data is filled out already, and with a click of a button, the data shows up in excel automatically in the right place for the item they're currently
    looking at in infopath.
    Now that I've got this working (kind of) for one excel document, management wants to add 25 other documents that this one infopath form can generate. 
    Therefore, once I get this to work better for one excel document, I can add other excel documents.
    I've considered passing a parameter to the excel document in Excel Web Services, as I believe that excel web services 2010 can support this. However, I believe that the macros that run in the excel client okay won't work in excel web services 2010.
    Users would prefer to open Excel in the client, though, so not sure I'm going to go down this path.

    Clayton,
    You rock - thank you for all your responses!
    The infopath form was built doing what it does long before the need to get the data into Excel.
    You are correct in that I could have modified the infopath code to save to SQL, but the fields in the form and on the forms library columns do change before and after the manager approves it.  As such, adding some code to submit the infopath data to
    SQL could have been used to write data into SQL server instead of leveraging SSIS/SQL Agent to do so. However the aformentioned workflow (see way up in the thread) does more than just send an email to the manager with a link. It also edits some fields in the
    forms library column on that particular list item. By using SSIS, every two minutes they get the latest stuff from sharepoint into SQL without having to add code in the workflow or - if possible - on the infopath code that does a table update where item=abc.
    It is common to get data from sharepoint into sql, regardless of whether or not it is a list or library (including infopath forms libraries). There is sample code on Codeplex that has been downloaded close to 40,000 times for this purpose which I'm sure
    you are familiar with:
    http://msdn.microsoft.com/en-us/library/dd365137(v=sql.100).aspx and
    http://sqlsrvintegrationsrv.codeplex.com/releases/view/17652
    I agree with you in so many ways on why they should not be using excel (or word) to present the information. Having InfoPath or a custom workflow magically convert the data presented on a specific view in a filled out InfoPath form to PDF and emailing it
    would be wonderful, but it simply is not a possible solution.
    Surely you're familiar with companies that have a word document that, say, a manager will email to someone as an attachment, then the employee prints out the word document, fills it out on paper and signs it with a pen (or fills out a fillable form, then
    prints it), they then either fax it back or scan it and email it back to the manager, who then prints it out and hands it to a VP for a signature, etc.  Yes, the process is very old-fashioned, but in health care, finance, and for legal compliance reasons,
    some places simply have to do their manual processes the way they are. I've suggested and shown examples of how it can all be done electronically with digital signatures, etc., but their legal compliance officers and board members do not agree to this methodology.
    As such, I work within the confines I am presented with, as I'm sure you've had to do as well.
    I myself have worked for several Fortune 100 firms for many years (Microsoft, T-Mobile, etc), know what is possible. However the place I am at now, many of those options simply are not possible.
    They use excel (and word) because that is the templates the legal department and third party companies they work with gives them to work with. 
    If you've used enterprise OCR systems (LaserFiche, OnBase, Hyperion, etc.) you would be familiar with the fact that in order to scan and index keywords from OCR cover pages, the document has to have fields in a certain location. While I have tried to
    get the InfoPath form to line up properly, I cannot print out headers or footers and page breaks where the OCR system requires and expects them to be. What's more: when you print a filled out infopath form that loads browser side, as you know you get the browser-related
    stuff with it. Although they're all on the same web browser (finally - IE8) and all on windows 7 and office 2010, I cannot control the fact that some users use large fonts and other accessability features to make their 21" screens run at 640x480 (exaggeration).
    When you do this, it changes the margins in the print area, and more.
    If I could take the data that is in infopath, merge it with an excel template, and export that to PDF, that could be an option. Not looking to buy some enterprise PDF generating product, though, and looking to do this as close to a no-code solution as possible.
    Why we're suggesting PDF, perhaps we should be considering XPS, since we are staying with the Microsoft technology stack here.
    Perhaps I should rephrase my original question like this:  "I have 25 different documents that all need to be filled out automatically. Each document has different text on it, but the fields that need to be filled out on the documents are almost all
    the same. I want to present one form for users to fill out, and once saved, to generate all 25 different documents. How would you do this?". While not entirely accurate, as not all 25 documents need to be created at once, only on demand with a click of a button
    for each document, perhaps that is a better way of stating the need.
    Thank you Clayton (and all you lurkers out there hoping to find out how we solve this).

Maybe you are looking for