0 Replies Latest reply on Jan 18, 2011 12:58 AM by josh_54

    javascript cant print with long printer name

    josh_54

      Hello

       

      I am using javascript for printing the PDF document when the site is loaded and

      it works fine if the printer name is < 62 characters long. I have followed the AcroJSGuide and using

      itext (com.lowagie.text.pdf) API.

       

      this is my code:

       

      var pp = this.getPrintParams();

      pp.interactive = pp.constants.interactionLevel.silent;

      this.print(pp); 

       

      I can print the document if i press the printer button even if the printer name is longer then 62 characters.

       

      Can someone please help me understand why I cant print via javascript when the printer name is longer then 62 charatcers ?