CL-BARCODE ========== Robert Smith CL-BARCODE is a library for acquiring and creating barcodes. CL-BARCODE is not a library for recognizing barcodes from images (at least not right now). ACQUISITION ----------- To acquire a barcode, your scanner must be recognized by your machine as an keyboard device. At this time, scanning over serial ports is not supported. When you have a scanner connected, call RETRIEVE-CODE: * (cl-barcode:retrieve-code) "657622118516" We can also use a variety of options: * (loop :repeat 3 :do (retrieve-code :prompt "Code: " :echo t)) Code: 016000625709 Code: 048500020654 Code: 657622118516 NIL DRAWING ------- To draw a barcode as a PNG file, call one of the drawing functions. (draw-barcode-code-39 "hello" "~/hello.png") #P"/Users/quad/hello.png" 168 50 The output can be viewed here: http://i.imgur.com/fEcDog0.png The drawing functions output the filename written to, the width of the image, and the height of the image.