Identify Section in each page of the Word document RRS feed

  • Question

  • Hi All,

    We are trying to build a solution which will print the documents in specific tray and below is the sample logic we are trying to build. But couldn't identify much of the info in the Net.


    Loop through  each pages in the word document

                                    If there is a section break in the page, then set

                                                    Firstpage Tray = PrePrinted

                                                    OtherPages Tray = PrePrinted

                                    Else if there is no section break in the page, then

                                                    FirstPage Tray = LetterHead

                                                    OtherPage tray = PrePrinted

                                    End if

                    End Loop


                    If any Errors encountered in changing the settings, then

                                    Change the Width of the Page to 21.4 and apply the settings to whole document

                                    Start the Above Loop again.


    Any Advice to implement this code change would be much helpful.

    Thanks in Advance.

    Krishna Prakash

    Thursday, November 22, 2012 3:56 PM