Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If this is an intranet application and a small number of concurrent users, I will recommend you to consider using Word Automation. Over the years I have implemented Win32 Apps, Winform and Web Apps that automate Ms. Word and although many will critize the use of it, I personally find that it has its niche and can be very useful and work well if managed correctly. For printing to label, some of the key concerns will be layout, formatting and paging. The beauty of using Word MailMerge, you can design and test all that using Ms. Word. You can then create a template file and from the automation perspective, all you need to do is:</p> <ul> <li>Open the specific template file (from your 5 templates)</li> <li>Specify your data source</li> <li>Specify your mail merge option </li> <li>Execute the mail merge</li> <li>Print the resulting document to printer or save it to PDF (directly if you are using 2007 or later, or print to 3rd party pdf driver) </li> <li>Close the document &amp; word app</li> </ul> <p>Another very nice feature of using word automation is your ability to record macro and look into the code. So for example, if you are not sure on how to set the data source/mail merge option above, you can record the macro as you are doing that in the UI. Later, look into the generated VBA code and transpose the same logic in your .NET code to achieve the same processing logic flow.</p> <p>Here is some info to get you started (based on Word 2003, but the object model is very much the same for newer version) <a href="http://www.c-sharpcorner.com/UploadFile/amrish_deep/WordAutomation05102007223934PM/WordAutomation.aspx" rel="nofollow">http://www.c-sharpcorner.com/UploadFile/amrish_deep/WordAutomation05102007223934PM/WordAutomation.aspx</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload