This article provides an example of how to manually set up Print Buttons for the PSAProjInvoice report in AX 2012. Additional information on print buttons can be found in the Lasernet Connector for Microsoft Dynamics 2012 - Configuration Manual.


Print buttons are created to make the print or distribution of the document much easier than standard AX. With print buttons, you can create a button that does a range of actions for you just like macros in word or excel.

Improve the users’ way of handling the various output possibilities within Axapta, as the Print buttons supports both Standard AX and Standard AX with Lasernet Connector.


Print buttons generates buttons at user or group level. The buttons will fulfill exactly the needs a company has for optimizing workflows. It is possible to decide the content for each button and who is allowed to use the buttons predefined. The buttons can be used for Emails, print, fax or filers in PDF, Tiff, CSV or MS file-standards.

Using predefined buttons minimizes the risk for error in the process generating output. A predefined button can prevent paychecks from being printed on wrong printers or sent on wrong email addresses. Predefined buttons also prevents invoices being sent to wrong recipients.

 


Sample setup:


Uncheck Disable all in order to see print buttons


  • Go to Lasernet>Print Buttons>Setup>Parameters
  • Uncheck Disable all 


Make a Report group for the PSAProjInvoice

  • Go to Lasernet>Print Buttons>Common>Report Group
  • Give the report group a name as below "PSAProj".
  • In the View and maintain quick destinations, search for the PSAProjInvoice and PSAProjInvoice.Report, and move both to the Destination settings are valid. with the arrow and Close the form.



Create Direct printout destinations

  • Go to Lasernet>Print Buttons>Common>Direct printout destinations
  • Fill in the same information as shown below.
  • The Description is the value you will see as the button name; for "Button1," this will be "Proj Invoice".
  • Select or type the name of the Report group you just created, "PSAProj".



  • For the Print destination, select the Destination button. 
  • Once opened, fill in the below information for the button.
  • Check the Force rerun checkbox.


  • Create a New record.
  • Fill in the same information as shown below. 
  • The Description is the value you will see as the button name; for "Button2," this will be "Proj Detail Invoice".
  • Select or type the name of the Report group you just created, "PSAProj".




  • For the Print destination, select the Destination button. 
  • Once opened, fill in the below information for the button.
  • Check the Force rerun checkbox.


Create Form adjustment

  • The last step is to create Form adjustments.
  • Go to Lasernet>Print Buttons>Common>Form adjustment
  • Create a Form adjustment with the same information as shown below for "Button1"


  • Create a Form adjustment with the same information as shown below for "Button2"


Now you will be able to see your Print button in the forms: