Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, a few days I'm trying to use the itextsharp library and it seems very well done and above all fast.
I created a document composed of rows and tables but now I find myself facing 2 difficulties ....

1) Send the document to the default printer
2) Automatically set from VB code that the document is printed not adapting it to the printer but keeping the original dimensions

I tried but unfortunately I could not, neither to change the settings nor to print the document.
Already there I propose a last problem ... I have documents in pdf not created by me that have a watermark inserted ... I would like to capture that watermark, save it in a picturebox in the form and then, when I create the pdf with itextsharp I believe the sheets of the document with that watermark in the background of the pages of the document.
It's possible ?
Thanks for the answers.
Best regards.

Andrew

What I have tried:

Every things but .... nothing.
Posted
Comments
Member 12286211 22-Feb-19 14:11pm    
You can call your pdf with itextsharp and print it from adobe or anything,
Process.Start(""your pdf here".pdf")
RazzSekhar 4-Jun-21 8:43am    
May I know which "Process" you are referring to in your reply? Can you please elaborate your valuable answer. Thanks in advance! :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900