Royal Mail CMDM Barcode 追蹤

0
Avatar
Bahram Karimi

Hi,

 

I am using BarTender to design a set of labels to print to ZPL printers. One of my requirements is for a Royal Mail Mailmark label which uses the CMDM Barcode.

We output to file using alias values in the label fields. We then run an application which swaps out the alias values and replaces them with the database values we actually want to print. The issue is when I open label designs previously use to create the template files, the output (which previously was in simple text form) has now been outputted into a DGR....GRF format. (Please see below)

Unfortunately the CMDM barcode on BarTender is designed so that I can't just use an alias. That is my understanding anyway.

^FT407,1137
^A0B,28,34^FD*ship_to_zip^FS
^FT659,1148
^A0B,25,31^FDOur Reference ^FS
^FT564,1148
^A0B,25,28^FDCustomer Reference^FS
^FT595,1148
^A0B,25,28^FD*po_nbr^FS
^FT697,1148
^A0B,25,28^FD*distro_nbr^FS
^FO553,300
^BY2^BCB,124,N,N^FD>:*carton_nbr^FS
^FO28,72
^XGR:SSGFX000.GRF,1,1^FS
^ISR:SS_TEMP.GRF,N^XZ
~DGR:SSGFX001.GRF,1352,13,:Z64:eJydk9ERBCEMQtMB/XdJBxzE3D93ruP6nDHBoMDvjYBEDoZqYeSF8TiCSqC7vD2IEvK5Z3cNTkRqZ2phnM4zKyZbSIic0YprcIAMLrpqUHQSV8UOUo/dij1dBTGXCaT1oAIrdEp6Kbeig/jlCCZNC7H3Sk6U4ADMEV3+TdrAXoxLjRL4HoUjjFqIOM+2/i2k7PEY++/A+fTd2cKz+ElVCTN7XVdqC/b1pK4FFeRlnNT3agv4p30AH1GDtw==:D4A2
^XA
^ILR:SS_TEMP.GRF^FS
^FO242,308
^XGR:SSGFX001.GRF,1,1^FS
^PQ1,0,1,Y
^XZ
^XA
^IDR:SSGFX000.GRF^XZ
^XA
^IDR:SSGFX001.GRF^XZ
^XA
^IDR:SS_TEMP.GRF^XZ

 

Has anyone come across this problem or know of a ZPL command I can use for this type of Barcode?

Thank you

 

3 意見

0
Avatar
Pete Thane
評論操作 永久連結

I dont know enough about the Royal Mail code but if the printer is unable to produce a particular code or subtype of barcode symbol then BarTender will send this down to the printer as an image file. Look at a sample Royal Mail code in BarTender I see it is made up of a series sub-strings including various truncation features, such as suppression and prefixes and so I am guessing this is what is happening here.

You maybe able to get round this by creating the code as a standard DataMatrix and symbol and making it from less sub-strings if that is possible, but I am not sure if that will work

0
Avatar
Bahram Karimi
評論操作 永久連結

Thanks for the reply Pete.

I am hoping to find a ZPL command for this but coming up blanks everywhere. Royal Mail are very particular about what this barcode should look like.

I have already generated this barcode using the Citizen CPL language but had to get Citizen to create a patch for the type of printer we use so the barcode worked the way Royal Mail want it. At least CPL had a command that we could just run with the full code.

Unfortunately, we have decided to change all our systems and we can only use ZPL so back to square one.

I will keep looking.

0
Avatar
Pete Thane
評論操作 永久連結

The only thing you could try is write the ZPL yourself for the DataMatrix symbol or else you would have to drop the hard coded route and print via BarTender itself either directly or automated via Integration Builder

登入寫評論。