Hi Sheng,
Please find the answer to your questions below:
Yesheng:
I suppose such an approach: place some specific text in the pages of Word, convert it to Pdf,
You can use
Aspose.Words for .NET in order to create Word documents and then convert them to PDF.
Yesheng:
search these text and get the Page number, then make decision according to the number:
Aspose.Pdf for .NET allows you to
search particular text and returns the related information. You may also keep track of the related pages at your end. For example, when you loop through the pages and search text in each page, you can keep record of the page number in which you find the text.
Yesheng:
if the number is odd,skip, otherwise,insert a blank page before this page.
You may
insert an empty page at a particular location (page number) in the PDF file.
Yesheng:We got a requirement from our client that when doing two-sided print pdf file, some specific pages should be at the front page, for example, the cover of appendix.
You can also
send a whole PDF to printer using Aspose.Pdf for .NET. Also, as I shared the details in reply to your other questions, you can organize the pages in the PDF before sending it to the printer. However, when the PDF is sent to the printer, it is sent as a whole and all the pages are printed in a sequence.
I hope this helps. If you find any further questions, please do let us know.
Regards,
Shahzad Latif - [
Follow me on Twitter!]
Support Developer/Developer Evangelist
Aspose Sialkot Team
Aspose - Your File Format Experts
Keep in touch! We're on
Twitter and
Facebook