Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

Document Routing # labels in ZPL

Posted on by 130

Hello all,  I suppose that this is really a ZPL question and not an 2012\FinOps question, but perhaps someone here has had some experience with this topic.  I have successfully been sending labels via document routing and ZPL for years now, but I have never determined a good way to control the number of labels.  There is a ZPL ^PQ command that allows you to hard code the number of labels to print, but I would like to print a number of labels related to the quantity.   In this scenario, pretend that there are 40 eaches on a license plate and I want to print 40 shipping labels at the time of picking.  I could hardcode 40 via ^PQ in the ZPL, but the next license plate might have 50 eaches.

Has anyone worked a way around this via standard configuration?

Thanks,

Alex

  • Suggested answer
    Abel Camacho Profile Picture
    Abel Camacho 8 on at
  • dynamicsnewb96 Profile Picture
    dynamicsnewb96 190 on at
    RE: Document Routing # labels in ZPL

    This link is not working.

  • Verified answer
    Abel Camacho Profile Picture
    Abel Camacho 8 on at
    RE: Document Routing # labels in ZPL

    Hello

    You can use ^PQ$Qty:0$,0,1,Y

    Screenshot_5F00_20220516_2D00_163954_5F00_Chrome.jpg

    Review the link in my last answer tha I posted.

    Note: In the ZPL emulator downloaded from Chrome this command didn't works, you try it in a real printer or other emulator.

  • dynamicsnewb96 Profile Picture
    dynamicsnewb96 190 on at
    RE: Document Routing # labels in ZPL

    Any update on this requirement? I have the same requirement.

  • Abel Camacho Profile Picture
    Abel Camacho 8 on at
    RE: Document Routing # labels in ZPL

    Hpastedimage1622851525347v1.png"YQaNob" id="tw-container">

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,584 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,864 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans