We have an online transport application which prints tickets in PDF format which includes barcode for scanning while travelling.Currently we have to change printing format from PDF to HTML.While doing that Barcode is not getting printed.So,is it possible to have Barcode printed in HTML format?More Info related to this would be grateful...
preguntado el 28 de agosto de 12 a las 10:08
You can create an HTML representation of your barcode, just remember: The way a page is showed depends on the styles you apply to it, and the way the client interprets it (That's wy I.E. is a pain in the...).
A barcode has dimension restrictions to be interpreted. That would make your styling a mess.
Besides, when printing a webpage, the client (Internet Explorer, Mozilla, Chrome, Safari etc.) could have been configured by the user to save ink or improve legibility, so the barcode might not get printed the best.
estoy con t3hn00b. The easiest would be to generate the barcode in server as a jpg or png that is inserted in your html. That way you keep the dimensions and your barcode is less prone to errors when printing.