Skip to main content
Version: 1.00

Overview

This guide explains how to configure and use label printing in the SAP Business One add-on provided by CompuTec. It includes automatic and manual printing, configuration requirements, and printer assignment.


Guide: Label Printing Setup

Label printing in the SAP add-on requires proper configuration of object types and event triggers. For full setup instructions, refer to:

Only objects explicitly marked for printing will trigger automatic or manual print actions.


Reference: Event Trigger Behavior

Configuration in CT_LP_ETRG TableColumnBehavior
Object marked as 'Add'SAPAutomatically prints on Add action (if user has access)
Object marked as 'OnChange'SAPAutomatically prints on Add/Update actions (if user has access)
Any objectN/ACan be printed manually via SAP add-on (regardless of trigger setting)

How-to: Printing Labels

Manual Printing from SAP Add-on

To manually print a document, follow these steps:

  1. Open the document (ensure the object type has been defined for printing).

  2. Navigate to:

    Path

    File → Print Labels

    SAP Add-on

  3. A new window will appear. Select the desired printer and click Print.

    SAP Add-on


Automatic Printing (Autonomic Printing)

To enable automatic printing when an object is added or updated:

  • Ensure the object type is configured in the CT_LP_ETRG table.
  • Assign default printers per user for seamless printing.

Steps to Set Default Printer

  1. In SAP Business One, go to:

    Path

    Administration → Setup → General → User Defaults

  2. Under the General tab, choose the default printer.

  3. Assign the User Code to match the corresponding code from the users_default page.

    User Defaults

  4. Verify that the Employee Master Data is correctly configured and matches the user.

    Employee Master Data


Explanation: How Event Triggers Control Printing

The CT_LP_ETRG table determines which objects initiate printing and under what conditions. It enables fine-grained control over:

  • Automatic printing upon creation or update.
  • Manual printing accessibility.
  • User-based access control for printing actions.

If an object isn’t listed or configured in this table, it won't trigger automatic printing—even if it's manually accessible.