Tech Off Post

Single Post Permalink

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

    Hello,

    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);

    writer.AddJavaScript(jAction);


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

    Can somebody help me out ?

    thanx