[jQuery] Re: jQuery barcode

2009-05-29 Thread Antonello Pasella

Great work! Would you set up a git repository @ github (http://
github.com/)? So we'll easily share the code. Regards!

On 27 Mag , 13:47, FireJocker jbdemo...@gmail.com wrote:
 hi,

 I just found this discussion when I posted my own version last week (I
 found no existent when I started my plugin and the time to start a
 website you had posted yours)

 Anyway, I have a version that handles barcode : ean 8, ean 13, 2 of 5
 standard (or industrial) and interleaved, code 11, code 39, code 93,
 code 128 and msi

 Your version create an inline image, which mine doesn't, it is an
 interesting feature, i create mine in CSS, i think i'll have a look on
 it to integrate it too

 Do you want to join me to managed other barcode type ?

 Available here :http://barcode-coder.com/en/barcode-jquery-plugin-201.html

 jb.


[jQuery] Re: jQuery barcode

2009-05-27 Thread FireJocker

hi,

I just found this discussion when I posted my own version last week (I
found no existent when I started my plugin and the time to start a
website you had posted yours)

Anyway, I have a version that handles barcode : ean 8, ean 13, 2 of 5
standard (or industrial) and interleaved, code 11, code 39, code 93,
code 128 and msi

Your version create an inline image, which mine doesn't, it is an
interesting feature, i create mine in CSS, i think i'll have a look on
it to integrate it too

Do you want to join me to managed other barcode type ?

Available here : http://barcode-coder.com/en/barcode-jquery-plugin-201.html

jb.


[jQuery] Re: jQuery barcode

2009-05-01 Thread betweenbrain

 I'm working to pass a parameter (for codes like code39) called digit
 width so 123 coded is half size of 456987.

The digit width sounds exactly like what I'm talking about.

Digits 123456789 bar coded in a container of 60x100 pixels look very
different than in a container of 150x100 pixels (see example posted at
http://betweenbrain.com/lab/barcode/comparison.html). It seems like
the bar codes generated from strings with more characters should be
wider then those with less characters. In either case, in theory, the
density or number of lines per inch should be the same.This is merely
theory only based on quick tests.

Keep up the good work. This is cool.

Matt



[jQuery] Re: jQuery barcode

2009-04-30 Thread Richard W

1: create a html demo document
2: check it in the repository
3: change the mimetype of the html file using svn prop set (eg
http://svnbook.red-bean.com/en/1.0/re23.html) so that you can view the
html file through subversion
4: bob's your uncle

I have done this for my little snake game:
http://jquery-snakey.googlecode.com/svn/trunk/index.html

peace!

On Apr 29, 4:56 pm, apaella apae...@gmail.com wrote:
 Yes, but I'm not able to embed a script into the googlecode wiki...
 there is a way to host a working example into it?
 thanks!

 On 29 Apr, 17:12, rigo conven...@gmail.com wrote:

  Is there any example web page?


[jQuery] Re: jQuery barcode

2009-04-30 Thread apaella

thanks!

On 30 Apr, 11:54, Richard W willis...@gmail.com wrote:
 1: create a html demo document
 2: check it in the repository
 3: change the mimetype of the html file using svn prop set 
 (eghttp://svnbook.red-bean.com/en/1.0/re23.html) so that you can view the
 html file through subversion
 4: bob's your uncle


[jQuery] Re: jQuery barcode

2009-04-30 Thread Antonello Pasella

I tried with canvas but time and memory comsumption were higher than
simple B/W BMP encoding.

My purpose is to save brandwidth and server pricessing time.

@ client side it takes 3ms to draw an image

Thanks for the attention


On 29 Apr, 22:17, Ricardo ricardob...@gmail.com wrote:
 Not really since it uses img elements to draw the barcode. But
 interfacing with a bitmap library or a saveable canvas would be very
 interesting indeed.


[jQuery] Re: jQuery barcode

2009-04-30 Thread Antonello Pasella

On 29 Apr, 18:28, Ricardo ricardob...@gmail.com wrote:
 Does this have any use case besides printing? If not, what's the point
 in making it a jQuery plugin? (just curious).

I wrote a javascript plugin (now with jQuery, maybe indipendent in the
future) because in some cases a client generated barcode wolud be
useful.
No server side language dependencies (all by javascript) and no extra
HTTP request for few bytes (network latency + brandwidth usage)

I ran into a page with 3000 barcodes to be embedded and the 3000 HTTP
requests blocks my server (100% CPU, all 255 threads working) for 240
seconds. Using my plugin I drew them in 20 seconds.

A courious aspect: FF3 is 10x slower than Chrome. I'll post in the FF
ml for comments :D

Bye


[jQuery] Re: jQuery barcode [DEMO PAGE]

2009-04-30 Thread Antonello Pasella

Thanks to Richard W I finally got a demo page hosting on googlecode:D

http://jquery-barcode.googlecode.com/svn/trunk/jquery-barcode/demo/demo.html


[jQuery] Re: jQuery barcode

2009-04-30 Thread betweenbrain

Hi Antonello,

How would you propose using this to process large sets of data? I
*quickly* implemented it for a paragraph, viewable at
http://betweenbrain.com/lab/barcode/paragraph.html , as well as a
list, http://betweenbrain.com/lab/barcode/list.html . The only issue I
ran into was determining and setting a reasonable size (aspect ratio)
for the bar code. Any suggestions? Could a fixed ratio be coded into
the plug-in so that you only need to set a height? It seems that the
paragraph version may not be machine readable, although it looks great
on screen to the human eye. Great work.

Thanks!

Matt


[jQuery] Re: jQuery barcode

2009-04-30 Thread Ricardo

What I meant is, is this solely for generating barcodes for printing?
Or is someone going to laser scan an LCD screen?

On Apr 29, 2:07 pm, Antonello Pasella antonello.pase...@gmail.com
wrote:
 On 29 Apr, 18:28, Ricardo ricardob...@gmail.com wrote:

  Does this have any use case besides printing? If not, what's the point
  in making it a jQuery plugin? (just curious).

 I wrote a javascript plugin (now with jQuery, maybe indipendent in the
 future) because in some cases a client generated barcode wolud be
 useful.
 No server side language dependencies (all by javascript) and no extra
 HTTP request for few bytes (network latency + brandwidth usage)

 I ran into a page with 3000 barcodes to be embedded and the 3000 HTTP
 requests blocks my server (100% CPU, all 255 threads working) for 240
 seconds. Using my plugin I drew them in 20 seconds.

 A courious aspect: FF3 is 10x slower than Chrome. I'll post in the FF
 ml for comments :D

 Bye


[jQuery] Re: jQuery barcode

2009-04-30 Thread Antonello Pasella

The plugins has some parameters to set width and heoght.
By default the img has a 100% width and a 100% height of the
container.

I'm working to pass a parameter (for codes like code39) called digit
width so 123 coded is half size of 456987.

Was what you means?

Thanks to testing

On 30 Apr, 16:52, betweenbrain m...@betweenbrain.com wrote:
 Hi Antonello,

 How would you propose using this to process large sets of data? I
 *quickly* implemented it for a paragraph, viewable 
 athttp://betweenbrain.com/lab/barcode/paragraph.html, as well as a
 list,http://betweenbrain.com/lab/barcode/list.html. The only issue I
 ran into was determining and setting a reasonable size (aspect ratio)
 for the bar code. Any suggestions? Could a fixed ratio be coded into
 the plug-in so that you only need to set a height? It seems that the
 paragraph version may not be machine readable, although it looks great
 on screen to the human eye. Great work.

 Thanks!

 Matt


[jQuery] Re: jQuery barcode

2009-04-29 Thread rigo

Is there any example web page?


[jQuery] Re: jQuery barcode

2009-04-29 Thread Richard D. Worth
http://code.google.com/p/jquery-barcode/wiki/Demo

On Wed, Apr 29, 2009 at 11:12 AM, rigo conven...@gmail.com wrote:


 Is there any example web page?


[jQuery] Re: jQuery barcode

2009-04-29 Thread apaella

Yes, but I'm not able to embed a script into the googlecode wiki...
there is a way to host a working example into it?
thanks!

On 29 Apr, 17:12, rigo conven...@gmail.com wrote:
 Is there any example web page?


[jQuery] Re: jQuery barcode

2009-04-29 Thread Ricardo

On Apr 29, 8:04 am, apaella apae...@gmail.com wrote:
 Hi all,
    I releades a new plugin for jquery named jQuery Barcode.

 http://code.google.com/p/jquery-barcode/

 Works with Opera, Firefox3, IE8, Prism, Gecko-based browsers

 Could someone review it?

 Thanks!

Does this have any use case besides printing? If not, what's the point
in making it a jQuery plugin? (just curious).


[jQuery] Re: jQuery barcode

2009-04-29 Thread Web Specialist
This plugin could be very useful when jquery runs in server side. Today,
with ColdFusion, we're creating reports with barcode inside using Java
Barbecue library.

Cheers
Marco Antonio

On Wed, Apr 29, 2009 at 1:28 PM, Ricardo ricardob...@gmail.com wrote:


 On Apr 29, 8:04 am, apaella apae...@gmail.com wrote:
  Hi all,
 I releades a new plugin for jquery named jQuery Barcode.
 
  http://code.google.com/p/jquery-barcode/
 
  Works with Opera, Firefox3, IE8, Prism, Gecko-based browsers
 
  Could someone review it?
 
  Thanks!

 Does this have any use case besides printing? If not, what's the point
 in making it a jQuery plugin? (just curious).


[jQuery] Re: jQuery barcode

2009-04-29 Thread Ricardo

Not really since it uses img elements to draw the barcode. But
interfacing with a bitmap library or a saveable canvas would be very
interesting indeed.

On Apr 29, 2:14 pm, Web Specialist especialista...@gmail.com wrote:
 This plugin could be very useful when jquery runs in server side. Today,
 with ColdFusion, we're creating reports with barcode inside using Java
 Barbecue library.

 Cheers
 Marco Antonio

 On Wed, Apr 29, 2009 at 1:28 PM, Ricardo ricardob...@gmail.com wrote:

  On Apr 29, 8:04 am, apaella apae...@gmail.com wrote:
   Hi all,
      I releades a new plugin for jquery named jQuery Barcode.

  http://code.google.com/p/jquery-barcode/

   Works with Opera, Firefox3, IE8, Prism, Gecko-based browsers

   Could someone review it?

   Thanks!

  Does this have any use case besides printing? If not, what's the point
  in making it a jQuery plugin? (just curious).