web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Print Custom Labels for multiple records from the Work Line Details form

(5) ShareShare
ReportReport
Posted on by 12
I've configured the system to print custom labels from the Work Line Details form. I am able to select one record and print successfully. However, I'd like to be able to print a label for each row in my table. The table does not allow me to select multiple records and holding down shift/ctrl to select multiple records does not work either. Is there another way to have a label print for each record on a filtered view? I'm using ZPL language to configure the label layout.
I have the same question (0)
  • Suggested answer
    Holly Huffman Profile Picture
    6,536 Super User 2025 Season 2 on at
    Good morning, afternoon, or evening depending on your location!
     
    To print custom labels for multiple records from the Work Line Details form using ZPL language, you can follow these steps:
    Solution:
    1. Iterate Through Records:
      • Since the table doesn't allow multiple selections, you can programmatically loop through the filtered records and generate ZPL commands for each record.
    2. Create a Script or Workflow:
      • Use a script or workflow in your system to fetch the filtered records and dynamically generate ZPL commands for each row.
      • For example, you can concatenate ZPL commands for all records into a single print job.
    3. Concatenate ZPL Commands:
      • Combine multiple ZPL commands into one string. For example:
        ^XA
        ^FO10,10^FDRecord 1^FS
        ^FO10,50^FDRecord 2^FS
        ^FO10,90^FDRecord 3^FS
        ^XZ
      • This approach sends all labels in one print job.
    4. Use Stored Formats:
      • If your printer supports stored formats, you can upload a template to the printer and call it for each record with dynamic data.
    5. Automate Printing:
      • Automate the process using a custom application or integration that fetches records and sends ZPL commands to the printer.
    6. Test and Adjust:
      • Test the ZPL commands to ensure proper alignment and formatting for each label.
    For more advanced techniques, you can explore resources like this guide on printing multiple labels or ZPL documentation.
     
    Hope this helps some!
  • Suggested answer
    Jonas "Jones" Melgaard Profile Picture
    4,986 Most Valuable Professional on at
    Not out of the box I'm afraid. We had our vendor make a customization for use at my former workplace.
  • Suggested answer
    Laurens vd Tang Profile Picture
    4,012 Super User 2025 Season 2 on at
    Good day,
     
    I don't think that's possible in standard Dynamics.
    My advice would be to either develop a customization or submit an idea on the Ideas portal.
     
    Best regards,
    Laurens van der Tang

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 301 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 118 Super User 2025 Season 2

#3
Siv Sagar Profile Picture

Siv Sagar 105 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans