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

(4) ShareShare
ReportReport
Posted on by 8
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.
  • Suggested answer
    Laurens vd Tang Profile Picture
    2,621 Super User 2025 Season 1 on at
    Print Custom Labels for multiple records from the Work Line Details form
    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
  • Suggested answer
    Jonas "Jones" Melgaard Profile Picture
    3,508 Super User 2025 Season 1 on at
    Print Custom Labels for multiple records from the Work Line Details form
    Not out of the box I'm afraid. We had our vendor make a customization for use at my former workplace.
  • Suggested answer
    Holly Huffman Profile Picture
    5,917 on at
    Print Custom Labels for multiple records from the Work Line Details form
    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!

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,011 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans