--- title: "Project Invoice Print Preview Always Goes to Standard AX Screen" slug: "project-invoice-print-preview-goes-to-standard-ax-screen" description: "This article provides a solution for the when the PSAProjInvoice/ProjInvoice report is sent to the AX screen if the user clicks the Print Preview button." tags: ["Project invoice", "Print Management", "Lasernet Connector ", "AX2012", "Preview", "Form setup"] updated: 2025-06-02T12:01:41Z published: 2025-06-02T12:01:41Z canonical: "kb.lasernetgroup.com/project-invoice-print-preview-goes-to-standard-ax-screen" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.lasernetgroup.com/llms.txt > Use this file to discover all available pages before exploring further. # Project Invoice Print Preview Always Goes to Standard AX Screen This article provides a solution for the known issue where the **PSAProjInvoice/ProjInvoice** report is sent to the AX screen if the user clicks the **Print preview** button. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-73MDO6AS.png) ### Resolution To control the destination of the **Print preview** button, change the **Print management** settings for the report, then change the **printPreview** function code. This can be executed through the following steps: 1. Navigate to **Project management and accounting** > **Forms** > **Form setup**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-3JVMQCJ6.png) 1. On the **Form setup** window, select **Print management**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-U02K1DSJ.png) 1. Change the settings for the **Project invoice** **without the billing rules** report and close the window. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-SIJFK9KP.png) 1. Navigate to the **AOT** by clicking **CTRL + D**. 2. Locate the **ProjFormLetter** class and open the **printPreview** function. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-AMOWOIMR.png) 1. Change the code according to the following snippet: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-6C9L4HGU.png) 1. Click **Save** and compile the class. 2. Run an incremental **CIL**. 3. Click **Print preview** to run the report again. You should now be able to view a **ProjInvoice** with Lasernet. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-83RUJ5RS.png)