Tech Off Post

Single Post Permalink

View Thread: ASP.NET and iTextSharp (free PDF Generator for .NET)
  • User profile image
    Le Moustique


    I have 1 question ...

    In Itextsharp you can prompt the Printerfunction from the pdf file.

    But is it possible to change the printer settings of the pdf printfunction:

    - I need to have 2 pages on 1 paper.

    In the examples of Itextsharp is this the code to prompt the print settings.

    PdfAction jAction = PdfAction.JavaScript("this.print(true);\r", writer);


    You see, it is some Javascript to add the action.

    Can somebody help me out ?