Skip to Content

Printing Barcode Label throught smartforms using Zebra printer

Hi,

I have a requriment Barcode Label throught smartforms using Zebra printer

How to pass Form Interface fields and Global Definitions , I created Smartstyles bar code and how to display in form.

please give me any one positive solution.

Thanks,

BRS.

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 24, 2012 at 06:23 AM

    Hi Ravi,

    You cannot make the smart forms as the Zebra printer has it own language.

    So my solution is that First Make the Label through Zebra software and from that make the prn file.

    In PRN file there is code for making the Barcode.

    Now you have two option

    1. Want to make the Program

    2. Want to make the RFC i.e Function

    If you decide to use the Program then just write down your logic and use that PRN code.

    The PRN code would appear like below

    Q239,019

    q831

    rN

    S2

    D9

    ZT

    JB

    OD

    R248,0

    N

    b104,13,D,c24,r24,"01089041183000331713080010D11SC00121D11SC001A250016001"

    A27,152,0,1,1,2,N,"(01)08904118300033(17)130800"

    P1

    You want to just replace the string from your actual data. The string that to be replace is written in "" [double quote]

    Just replace the string and pass that Internal Data table to the Zebra printer. It will print the Barcode as same manner just in Printing the Barcode from Label. This solution will work only if you have Zebra Printer.

    If You decide to use RFC then pass the Data which you want to the front end application

    that may be in any language such as VB.net or C#

    Whatever RFC return should be replace same in above manner and the string which generate finnally should pass to the ZEBRA printer.

    Hope it will be helpful.

    Shailesh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hi.

      Here is my prn file fromat.

      <xpml><page quantity='0' pitch='50.0 mm'></xpml>I8,A

      ZN

      q779

      O

      JF

      KIZZQ0

      ZT

      Q400,25

      KI80

      <xpml></page></xpml><xpml><page quantity='1' pitch='50.0 mm'></xpml>N

      A746,387,2,1,2,2,N,"Lot No "

      A746,339,2,1,2,2,N,"G. Pcs. No "

      A746,291,2,1,2,2,N,"Meter "

      A746,243,2,1,2,2,N,"Design"

      A746,195,2,1,2,2,N,"SRPL SHD"

      A746,147,2,1,2,2,N,"MILL SHD"

      A746,99,2,1,2,2,N,"Selvedge"

      A746,51,2,1,2,2,N,"Lump Pc No"

      A514,387,2,1,2,2,N,":"

      A514,339,2,1,2,2,N,":"

      A514,299,2,1,2,2,N,":"

      A514,251,2,1,2,2,N,":"

      A514,203,2,1,2,2,N,":"

      A514,155,2,1,2,2,N,":"

      A514,99,2,1,2,2,N,":"

      A514,51,2,1,2,2,N,":"

      A474,387,2,1,2,2,N,"Lot No "

      A474,339,2,1,2,2,N,"G. Pcs. No "

      A466,291,2,1,2,2,N,"Meter "

      A466,243,2,1,2,2,N,"Design"

      A466,195,2,1,2,2,N,"SRPL SHD"

      A466,147,2,1,2,2,N,"MILL SHD"

      A466,99,2,1,2,2,N,"Selvedge"

      A458,51,2,1,2,2,N,"Lump Pc No"

      P1

      <xpml></page></xpml><xpml><end/></xpml>.

      i want to print data on barcode using java spring mvc with hibernate. need help.