Applies To: |
|
Summary: |
By default, the Print button which is found at the top right of every xp_style template will call the CSV_Nav_PagePrint Cicode function, which will use the Printer specified by the [Printer]Port citect.ini parameter, or default to LPT1: if nothing is specified. However, it is common to have Client machines scattered around various networks where the same printer is not accessible. |
Solution: |
You can create a Cicode function as specified in Knowledgebase Article Q4450. However, instead of trying to modify the template in the CSV_Include project, or copying the template into your own project for modification, you can use the [Navigation]PrintPage citect.ini parameter to specify which function to execute when the Print button is pressed by prefixing the Cicode function with a question mark (?). Using the example of Q4450, if your print Cicode function is called MyPrintFunction, then you would set the parameter as follows: [Navigation]PrintPage = ?MyPrintFunction The CSV_Nav_PagePrint function checks this parameter and if there's an entry with a ? prefix it will treat it as a custom Print Cicode function and will execute that instead. |
Keywords: |
Related Links
Attachments