Skip to main content

Search

Search

Print total number to be serialized on the printed labels

Comments

10 comments

  • Avatar
    Peter Thane

    The font used in the serialised field will need to be an internal font of the printer and on the File>Print>Performance tab you will need to make sure the Allow Serialisation is ticked.  

    For example as shown here

     

    0
  • Avatar
    Jonas Granstrand

    Hello

    I am using a Zebra font and I do optimize for serialization and the counter for the serialization "Sida 1" works as expected.

     

    It's when I add an element for "Total number of pages" it starts adding one copy for each label in the printer queue

    So Just "Sida 1" on the label and serialized for 20000: One (or actually 5) copies is sent to the printer queue and the printer prints 20000 serialized from 1-20000

    Add "Total number of pages" on the label and serialized for 20000: 20000 copies are sent to the printer queue and the printer prints them like individual copies

    Does that clarify my situation?

    0
  • Avatar
    Peter Thane

    Interesting. I get the same. 

    To get round this delete the Total Number of Pages field and add a new field onto the label and give that field a Name via the Change Data Source Name Button

     

    And then on the File Print screen link the Serial Numbers value to the Named Data Source. I would suggest adding an Entry Box on to a Data Entry Screen for the users to enter this value.

    Setup like this then the correct commands are sent down, ie for 25 serialised labels ^PQ25,0,1,Y

     

     

    1
  • Avatar
    Jonas Granstrand

    Thank you Peter!
    That worked perfectly.

    Best regards
    Jonas

    0
  • Avatar
    Jonas Granstrand

    Hello

    I'm coming back to this old issue because a new related problem occured.

    The basics works for this label, ie it gets serialized the correct way by the printer, the problem occurs when I try to do this with a printer that is set to cut the labels after each print.

    Scenario 1: The label is set to use the printer settings (cut) this will cause the label to serialize correctly BUT the printer doesn't cut the labels after each label.

    Scenario 2: The printer uses the label settings (cut) this will cause the label to be added to the printer queue and not serialize correctly BUT the printer cuts the labels after each print.

    Any idea on why the serialzation doesn't work when the printer uses the label settings?

    0
  • Avatar
    Peter Thane

    What printer and driver are you using and can you do a print to file and paste in the commands in a reply?

    I haven't a printer to test with but looking at a ZPL file that I created in BarTender then the print and cut commands are correct according to the ZPL manual/Zebra website

    0
  • Avatar
    Jonas Granstrand

    Hello Peter

    We are using Zebra printers (ZT610 in this case) with drivers from Seagull (v2020.4).

    When I do the print to file do you want me to print a label where the printer settings are defiend by the label or defiend by the printer?

    0
  • Avatar
    Peter Thane

    I think sending the command in the label format would be the best way to go.

    The label file needs a print command something like this ^PQ10,1,1,Y where the first 1 is the cut after 1 label command and BarTender should include that automatically if the cutter has been enabled in the driver settings. 

    Just in case the printer isnt calling up a cached version of the printer without the cutter enabled then it maybe worth flushing the cache memory of the printer. Cycling the power will do this or else you can use the flush cache option from the File>Print>Printers cache tab. 

     

    0
  • Avatar
    Jonas Granstrand

    Hello Peter

    Here are the commands from my 'print-to-file'

    ^XA
    ^SZ2^JMA
    ^MCY^PMN
    ^PW1244
    ~JSN
    ^JZY
    ^LH0,0^LRN
    ^XZ
    ~DGR:SSGFX000.GRF,2480,16,:Z64:eJzFlb9u2zAQxo9mAWcwIo8aBJlFlo7c4iGA+igy8gLu5iGoGQRolr5DX+WydesbBMrU1aMGoeqR+sc7GxBQFAgHGT/w+N3H45EGoKGBj3dkBNRtGzGeMVv6Dzynrx2PVyeh91VwEqVoWwRVc4YC+FgKFvPxej+kfpyfmPkD7Zh/ysX2B5ngrfBSCS/IWVq/Fizl9oLJL8sv2Q+RUloSmgiWGRQ8U9vliXNhOdeCcWZerpf6Mj/50+w+LFFrdj8kwwzPrf//zM/v7HyZWclzwwHvVxQcyhs14cF/solz/4kaJvGfamLtBV1sEHmPE0dyIT7u8YTL+XzsymyF3/35fthwgml+IVhLRs6q4tzVJOK7iP15JIK18Cc5jpd6l/IJP/JJYftJ87Dfom27Vdtj+LlZ2Y73987H0y0zgcs359vRQn/r/ft9gc0QP3EZ+OUyj/ovruOy19s9cr5/DPmN6eMLen/pfM0n2+nlSThvU5w6hlX40qyJtz3qSfb/h1ShUT/415Pfga8dY7upWLzdW8u4XDM2JhX6aSnmS7E+xK9G/bXdOVDfp/z2dwPHpn/fTYI+/sfI3r/S+fAaGlgTP22aYf+QGgcfIr6yCOntK8Bn6iA/T3wompwqdAh+vf6mOT6h+pOAuQr1z+vds1Pf8qH+m+btF+jnO7AfHekTY0Pv5yn0CwLcvmJNXA1cNFgRu6F/KJ6ux9gvmNeMf47zvn+C/4l7/YgXqojqYWChxvr4/s8OMNZnmX3BzMDq4S800DuW:3285
    ^XA
    ^FT106,227
    ^CI28
    ^A@B,30,30,TT0003M_^FD12345-6^FS
    ^FT139,227
    ^A@B,30,30,TT0003M_^FD2023-02-02^FS
    ^FT172,292
    ^A@B,17,18,TT0003M_^FDQ-Med AB^FS
    ^FT329,204
    ^A@N,34,33,TT0003M_^FDSida^FS
    ^FT419,205
    ^CI0
    ^A0N,34,45^SN1,1,Y^FS
    ^FT453,206
    ^CI28
    ^A@N,34,33,TT0003M_^FD(20000)^FS
    ^FO24,136
    ^XGR:SSGFX000.GRF,1,1^FS
    ^PQ9,0,1,Y
    ^XZ
    ^XA
    ^IDR:SSGFX000.GRF^XZ
    ~DGR:SSGFX000.GRF,2480,16,:Z64:eJzFlb9u2zAQxo9mAWcwIo8aBJlFlo7c4iGA+igy8gLu5iGoGQRolr5DX+WydesbBMrU1aMGoeqR+sc7GxBQFAgHGT/w+N3H45EGoKGBj3dkBNRtGzGeMVv6Dzynrx2PVyeh91VwEqVoWwRVc4YC+FgKFvPxej+kfpyfmPkD7Zh/ysX2B5ngrfBSCS/IWVq/Fizl9oLJL8sv2Q+RUloSmgiWGRQ8U9vliXNhOdeCcWZerpf6Mj/50+w+LFFrdj8kwwzPrf//zM/v7HyZWclzwwHvVxQcyhs14cF/solz/4kaJvGfamLtBV1sEHmPE0dyIT7u8YTL+XzsymyF3/35fthwgml+IVhLRs6q4tzVJOK7iP15JIK18Cc5jpd6l/IJP/JJYftJ87Dfom27Vdtj+LlZ2Y73987H0y0zgcs359vRQn/r/ft9gc0QP3EZ+OUyj/ovruOy19s9cr5/DPmN6eMLen/pfM0n2+nlSThvU5w6hlX40qyJtz3qSfb/h1ShUT/415Pfga8dY7upWLzdW8u4XDM2JhX6aSnmS7E+xK9G/bXdOVDfp/z2dwPHpn/fTYI+/sfI3r/S+fAaGlgTP22aYf+QGgcfIr6yCOntK8Bn6iA/T3wompwqdAh+vf6mOT6h+pOAuQr1z+vds1Pf8qH+m+btF+jnO7AfHekTY0Pv5yn0CwLcvmJNXA1cNFgRu6F/KJ6ux9gvmNeMf47zvn+C/4l7/YgXqojqYWChxvr4/s8OMNZnmX3BzMDq4S800DuW:3285
    ^XA
    ^FT106,227
    ^A@B,30,30,TT0003M_^FD12345-6^FS
    ^FT139,227
    ^A@B,30,30,TT0003M_^FD2023-02-02^FS
    ^FT172,292
    ^A@B,17,18,TT0003M_^FDQ-Med AB^FS
    ^FT329,204
    ^A@N,34,33,TT0003M_^FDSida^FS
    ^FT419,205
    ^CI0
    ^A0N,34,45^SN10,1,Y^FS
    ^FT453,206
    ^CI28
    ^A@N,34,33,TT0003M_^FD(20000)^FS
    ^FO24,136
    ^XGR:SSGFX000.GRF,1,1^FS
    ^PQ90,0,1,Y
    ^XZ
    ^XA
    ^IDR:SSGFX000.GRF^XZ
    ~DGR:SSGFX000.GRF,2480,16,:Z64:eJzFlb9u2zAQxo9mAWcwIo8aBJlFlo7c4iGA+igy8gLu5iGoGQRolr5DX+WydesbBMrU1aMGoeqR+sc7GxBQFAgHGT/w+N3H45EGoKGBj3dkBNRtGzGeMVv6Dzynrx2PVyeh91VwEqVoWwRVc4YC+FgKFvPxej+kfpyfmPkD7Zh/ysX2B5ngrfBSCS/IWVq/Fizl9oLJL8sv2Q+RUloSmgiWGRQ8U9vliXNhOdeCcWZerpf6Mj/50+w+LFFrdj8kwwzPrf//zM/v7HyZWclzwwHvVxQcyhs14cF/solz/4kaJvGfamLtBV1sEHmPE0dyIT7u8YTL+XzsymyF3/35fthwgml+IVhLRs6q4tzVJOK7iP15JIK18Cc5jpd6l/IJP/JJYftJ87Dfom27Vdtj+LlZ2Y73987H0y0zgcs359vRQn/r/ft9gc0QP3EZ+OUyj/ovruOy19s9cr5/DPmN6eMLen/pfM0n2+nlSThvU5w6hlX40qyJtz3qSfb/h1ShUT/415Pfga8dY7upWLzdW8u4XDM2JhX6aSnmS7E+xK9G/bXdOVDfp/z2dwPHpn/fTYI+/sfI3r/S+fAaGlgTP22aYf+QGgcfIr6yCOntK8Bn6iA/T3wompwqdAh+vf6mOT6h+pOAuQr1z+vds1Pf8qH+m+btF+jnO7AfHekTY0Pv5yn0CwLcvmJNXA1cNFgRu6F/KJ6ux9gvmNeMf47zvn+C/4l7/YgXqojqYWChxvr4/s8OMNZnmX3BzMDq4S800DuW:3285
    ^XA
    ^FT106,227
    ^A@B,30,30,TT0003M_^FD12345-6^FS
    ^FT139,227
    ^A@B,30,30,TT0003M_^FD2023-02-02^FS
    ^FT172,292
    ^A@B,17,18,TT0003M_^FDQ-Med AB^FS
    ^FT329,204
    ^A@N,34,33,TT0003M_^FDSida^FS
    ^FT419,205
    ^CI0
    ^A0N,34,45^SN100,1,Y^FS
    ^FT453,206
    ^CI28
    ^A@N,34,33,TT0003M_^FD(20000)^FS
    ^FO24,136
    ^XGR:SSGFX000.GRF,1,1^FS
    ^PQ900,0,1,Y
    ^XZ
    ^XA
    ^IDR:SSGFX000.GRF^XZ
    ~DGR:SSGFX000.GRF,2480,16,:Z64:eJzFlb9u2zAQxo9mAWcwIo8aBJlFlo7c4iGA+igy8gLu5iGoGQRolr5DX+WydesbBMrU1aMGoeqR+sc7GxBQFAgHGT/w+N3H45EGoKGBj3dkBNRtGzGeMVv6Dzynrx2PVyeh91VwEqVoWwRVc4YC+FgKFvPxej+kfpyfmPkD7Zh/ysX2B5ngrfBSCS/IWVq/Fizl9oLJL8sv2Q+RUloSmgiWGRQ8U9vliXNhOdeCcWZerpf6Mj/50+w+LFFrdj8kwwzPrf//zM/v7HyZWclzwwHvVxQcyhs14cF/solz/4kaJvGfamLtBV1sEHmPE0dyIT7u8YTL+XzsymyF3/35fthwgml+IVhLRs6q4tzVJOK7iP15JIK18Cc5jpd6l/IJP/JJYftJ87Dfom27Vdtj+LlZ2Y73987H0y0zgcs359vRQn/r/ft9gc0QP3EZ+OUyj/ovruOy19s9cr5/DPmN6eMLen/pfM0n2+nlSThvU5w6hlX40qyJtz3qSfb/h1ShUT/415Pfga8dY7upWLzdW8u4XDM2JhX6aSnmS7E+xK9G/bXdOVDfp/z2dwPHpn/fTYI+/sfI3r/S+fAaGlgTP22aYf+QGgcfIr6yCOntK8Bn6iA/T3wompwqdAh+vf6mOT6h+pOAuQr1z+vds1Pf8qH+m+btF+jnO7AfHekTY0Pv5yn0CwLcvmJNXA1cNFgRu6F/KJ6ux9gvmNeMf47zvn+C/4l7/YgXqojqYWChxvr4/s8OMNZnmX3BzMDq4S800DuW:3285
    ^XA
    ^FT106,227
    ^A@B,30,30,TT0003M_^FD12345-6^FS
    ^FT139,227
    ^A@B,30,30,TT0003M_^FD2023-02-02^FS
    ^FT172,292
    ^A@B,17,18,TT0003M_^FDQ-Med AB^FS
    ^FT329,204
    ^A@N,34,33,TT0003M_^FDSida^FS
    ^FT419,205
    ^CI0
    ^A0N,34,45^SN1000,1,Y^FS
    ^FT453,206
    ^CI28
    ^A@N,34,33,TT0003M_^FD(20000)^FS
    ^FO24,136
    ^XGR:SSGFX000.GRF,1,1^FS
    ^PQ9000,0,1,Y
    ^XZ
    ^XA
    ^IDR:SSGFX000.GRF^XZ
    ~DGR:SSGFX000.GRF,2480,16,:Z64:eJzFlb9u2zAQxo9mAWcwIo8aBJlFlo7c4iGA+igy8gLu5iGoGQRolr5DX+WydesbBMrU1aMGoeqR+sc7GxBQFAgHGT/w+N3H45EGoKGBj3dkBNRtGzGeMVv6Dzynrx2PVyeh91VwEqVoWwRVc4YC+FgKFvPxej+kfpyfmPkD7Zh/ysX2B5ngrfBSCS/IWVq/Fizl9oLJL8sv2Q+RUloSmgiWGRQ8U9vliXNhOdeCcWZerpf6Mj/50+w+LFFrdj8kwwzPrf//zM/v7HyZWclzwwHvVxQcyhs14cF/solz/4kaJvGfamLtBV1sEHmPE0dyIT7u8YTL+XzsymyF3/35fthwgml+IVhLRs6q4tzVJOK7iP15JIK18Cc5jpd6l/IJP/JJYftJ87Dfom27Vdtj+LlZ2Y73987H0y0zgcs359vRQn/r/ft9gc0QP3EZ+OUyj/ovruOy19s9cr5/DPmN6eMLen/pfM0n2+nlSThvU5w6hlX40qyJtz3qSfb/h1ShUT/415Pfga8dY7upWLzdW8u4XDM2JhX6aSnmS7E+xK9G/bXdOVDfp/z2dwPHpn/fTYI+/sfI3r/S+fAaGlgTP22aYf+QGgcfIr6yCOntK8Bn6iA/T3wompwqdAh+vf6mOT6h+pOAuQr1z+vds1Pf8qH+m+btF+jnO7AfHekTY0Pv5yn0CwLcvmJNXA1cNFgRu6F/KJ6ux9gvmNeMf47zvn+C/4l7/YgXqojqYWChxvr4/s8OMNZnmX3BzMDq4S800DuW:3285
    ^XA
    ^FT106,227
    ^A@B,30,30,TT0003M_^FD12345-6^FS
    ^FT139,227
    ^A@B,30,30,TT0003M_^FD2023-02-02^FS
    ^FT172,292
    ^A@B,17,18,TT0003M_^FDQ-Med AB^FS
    ^FT329,204
    ^A@N,34,33,TT0003M_^FDSida^FS
    ^FT419,205
    ^CI0
    ^A0N,34,45^SN10000,1,Y^FS
    ^FT453,206
    ^CI28
    ^A@N,34,33,TT0003M_^FD(20000)^FS
    ^FO24,136
    ^XGR:SSGFX000.GRF,1,1^FS
    ^PQ10001,0,1,Y
    ^XZ
    ^XA
    ^IDR:SSGFX000.GRF^XZ

     

    0
  • Avatar
    Peter Thane

    There is no cut command in that file and so, for example, the 

    ^PQ10001,0,1,Y

    should be 

    ^PQ10001,1,1,Y

    You need to check that you enabled this in the File>Print>Document Properties>Stock tab.

     

    0

Please sign in to leave a comment.