Need help clarify Custom Barcode field logic

How does the barcode field gets render on print? And which encoded barcode symbol are supported?

I'm trying to auto-generate barcode on printed docs but seem to get lost in how to auto-gen(on-save) barcode and render them on prints. 

any guide or suggestion is much appreciated.

Thanks.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/e6814c14-9a06-4c69-bb3d-8fa8a5aa9dd6%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Barcode printing is not out of the box in ERPNext. I think there are specialized tools for this. If anyone has figured this out (Indictrans?) please share.



On 09-Jun-2014, at 12:09 pm, Nonnatee Kanjana <no...@ps-groups.com> wrote:

How does the barcode field gets render on print? And which encoded barcode symbol are supported?

I'm trying to auto-generate barcode on printed docs but seem to get lost in how to auto-gen(on-save) barcode and render them on prints. 

any guide or suggestion is much appreciated.

Thanks.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/e6814c14-9a06-4c69-bb3d-8fa8a5aa9dd6%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/4AAEF731-F988-493F-9B5B-EC3C33392EBC%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.
Hi,

You have to add, a custom field on form with type image or html, then just generate an barcode image with the help of pyBarcode package.

we have done this with field type html: refer method generate_barcode() from line 464-480.
https://github.com/saurabh6790/medsynapp/blob/master/clinical/doctype/patient_register/patient_register.py

Then use the same field on print format.




On Mon, Jun 9, 2014 at 4:21 PM, Rushabh Mehta <rm...@gmail.com> wrote:
Barcode printing is not out of the box in ERPNext. I think there are specialized tools for this. If anyone has figured this out (Indictrans?) please share.




On 09-Jun-2014, at 12:09 pm, Nonnatee Kanjana <no...@ps-groups.com> wrote:

How does the barcode field gets render on print? And which encoded barcode symbol are supported?

I'm trying to auto-generate barcode on printed docs but seem to get lost in how to auto-gen(on-save) barcode and render them on prints.

any guide or suggestion is much appreciated.

Thanks.



Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/e6814c14-9a06-4c69-bb3d-8fa8a5aa9dd6%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.




Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/4AAEF731-F988-493F-9B5B-EC3C33392EBC%40gmail.com.

For more options, visit https://groups.google.com/d/optout.



--
S.S.Palande



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAGCrPP85E8UdU9qTohx5eh4u56mxp1D_tX6B_9k98JFujz2%3DPg%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.

Hi Rushabh,

Visit the following URL, providing free barcode generation tool

http://www.barcoderesource.com/htmlBarcode.shtml

Regards
Manish
+91 77788 36218

On 6/9/14, Rushabh Mehta rm...@gmail.com wrote:

Barcode printing is not out of the box in ERPNext. I think there are
specialized tools for this. If anyone has figured this out (Indictrans?)
please share.

On 09-Jun-2014, at 12:09 pm, Nonnatee Kanjana no...@ps-groups.com
wrote:

How does the barcode field gets render on print? And which encoded barcode
symbol are supported?

I’m trying to auto-generate barcode on printed docs but seem to get lost
in how to auto-gen(on-save) barcode and render them on prints.

any guide or suggestion is much appreciated.

Thanks.


Note:

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much
    information as you can. Please see it from the point of view of the person
    receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and
    send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do
    not send images as attachments. Links are good. Same goes for any file you
    are going to send.

End of Note

You received this message because you are subscribed to the Google Groups
“ERPNext Developer Forum” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to erpnext-developer-forum+un...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/erpnext-developer-forum/e6814c14-9a06-4c69-bb3d-8fa8a5aa9dd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Note:

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much
    information as you can. Please see it from the point of view of the person
    receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send
    only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do
    not send images as attachments. Links are good. Same goes for any file you
    are going to send.

End of Note

You received this message because you are subscribed to the Google Groups
“ERPNext Developer Forum” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to erpnext-developer-forum+un...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/erpnext-developer-forum/4AAEF731-F988-493F-9B5B-EC3C33392EBC%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Note:

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

End of Note

You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAJgXDftE0pP9tGrziAmH3rp21fFkBkgAH%2B3JKPV-Vj6wVDs_ow%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.