locked
Report Printing Problem RRS feed

  • Question

  • Hi,

    I'm facing a problem when trying to print a CRM 4.0 report.

    I choose to print one copy of the report but it prints 3 copies.

    Does anybody know how to solve this issue?

    Thanks in advance

    Monday, September 15, 2008 12:52 PM

Answers

  • Hi,

    I can confirm now that this is not a CRM problem. It was a networking one.

     

    Thursday, October 16, 2008 6:31 AM

All replies

  • Hi,

    I just found this code that they said can be used to specify the number of copies to be printed by default.

    So i could use it and put the default number as 1.

    But does anybody have any idea where i should write this code?

    Here it is:

    Code Snippet

    if (NPSUtilities::isDeveloper() && box::yesNo('Special debugger option:\nPrint to screen instead of printer?', DialogButton::Yes) == DialogButton::Yes)
       element.printJobSettings().setTarget(PrintMedium::Screen);

    You would want to use:

    public void init()
    {
        super();
       
        element.printJobSettings().copies(2);
    }

     

     

    Thanks in advance

    Tuesday, September 16, 2008 12:35 PM
  • Any idea? Still can't find a solution.

     

    Wednesday, September 17, 2008 7:46 AM
  • Hi,

    I can confirm now that this is not a CRM problem. It was a networking one.

     

    Thursday, October 16, 2008 6:31 AM