SVD wrote:
> 1.Can we give the printer details like printer name and tray in the pdf
> generation? Can you provide some code sample for this.
Do you know what the P in PDF stands for?
It stands for Portable; adding printer details would break
a PDFs portability. In the past there have been ways to
work around this, but they are discouraged.
> 2. Is it possible in itext to print on the client printer? I have a
> requirement that when client clicks on print link it should print to the
> client printer with out showing print dialogue.
Silent printing is possible with iText:
http://www.1t3xt.info/examples/browse/?page=example&id=266BUT!!! As is explained in the iText book, silent printing
is a security hazard, and after the book was published Adobe
rightfully changed its policy and recent versions of Reader
demands user interaction before the document is printed.
In other words: you can't prevent the print dialogue to be
shown in recent versions of Adobe Reader.
Note that everything I say above is true regardless from
whether or not you are using iText.
--
This answer is provided by 1T3XT BVBA
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questionsDo you like iText?
Buy the iText book:
http://www.1t3xt.com/docs/book.phpOr leave a tip:
https://tipit.to/itexttipjar