|
查看: 2679|回复: 12
|
请问如果要做有barcode scanner的系统。。。。
[复制链接]
|
|
|
请问,什么地方有教材?什么语言会适合?要懂些什么?要准备些什么?
这样的系统通常多少钱?
我对这个完全一窍不通,却很有兴趣做做。感谢任何人的赐教~
[ 本帖最后由 雨吟 于 7-7-2006 04:25 PM 编辑 ] |
|
|
|
|
|
|
|
|
|
|
发表于 7-7-2006 04:37 PM
|
显示全部楼层
|
你只要有barcode scanner, 然后就可以用简单得vb6的MSCOMM来写。(如果你的scanner 是 rs232) |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 7-7-2006 04:42 PM
|
显示全部楼层
|
如果要用.NET呢?请问有些什么类型的scanner?通用的是哪一种? |
|
|
|
|
|
|
|
|
|
|
发表于 7-7-2006 05:22 PM
|
显示全部楼层
原帖由 雨吟 于 7-7-2006 04:42 PM 发表
如果要用.NET呢?请问有些什么类型的scanner?通用的是哪一种?
通常出名的 scanner 会有 API, 例如 Symbol. |
|
|
|
|
|
|
|
|
|
|
发表于 8-7-2006 12:21 AM
|
显示全部楼层
原帖由 雨吟 于 7-7-2006 04:42 PM 发表
如果要用.NET呢?请问有些什么类型的scanner?通用的是哪一种?
如果你得barcode scanner 的 interface 是 keyboard wedge, 那就好像读 keyboard 打出来的一样,不需要任何API.
如果你的barcode scanner 的 interface 是 rs232/rs422/rs485(serial comm), vb6 可以用mscomm 的 on_comm event 来读取 barcode. .NET 1.1 对serial comm 没有很好的对应, 但在microsoft的官方网站有一个关于serial comm 的 sample program. (.NET 1.1 本来就没有 serial comm 的 component, 如果你得scanner使用virtual comm, .NET 1.1 还是不用最好). .NET 2.0 已经加了 Serial Port 的 component(same as MScomm).
如果是USB的interface, 我所用过的是可以把scanner simulate as keyboard input or comm input. 可能会有一些像
goatstudio 所说的一样,会有API. |
|
|
|
|
|
|
|
|
|
|
发表于 8-7-2006 10:21 AM
|
显示全部楼层
Barcode Printer 需不需要 setting?
还是每个 Barcode Printer 都可用? |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 8-7-2006 03:17 PM
|
显示全部楼层
。。。还真是满头问号。。。好多陌生的词汇~
我要做的很简单,就--user's customer 会有会员证,打算把barcode粘贴在原有的会员证后面,然后,个别customer购买coupon,买多少张,用了多少张,
scan了就知道。。也不需要另外再把coupon打印出来。所以基本上,应该是scan 了barcode, 就知道customer ID, 然后系统做接下来的事。
我没用过和做过这样的系统,客户希望我建议要用何种barcode scanner诸如此类的。。。我想越简单容易implement的该是最好的吧~各位大大所说的,可否有详细的资料? 可不可以大略给我一个概念,这样的系统通常是怎样做的? |
|
|
|
|
|
|
|
|
|
|
发表于 9-7-2006 11:23 AM
|
显示全部楼层
hooi1983
-------------------
多数的 barcode scanner 都可以读取不同的 barcode (code 3, code 9, EAN-8, etc). barcode scanner setting 都可以 enable barcode scanner 本身可以读些什么barcode. 但要记得, 2D barcode scanner 可以读取 2D & 1D barcode. 1D barcode scanner 只能读取 1D barcode.
(1D barcode: 平常看到的,一条一条的 | 2D barcode: 较少看到的,是四方的, 打横,直,斜,都可以读取barcode. )
barcode printer 打印出来的, 只要是对的code, barcode scanner 都能读。 |
|
|
|
|
|
|
|
|
|
|
发表于 9-7-2006 11:27 AM
|
显示全部楼层
原帖由 雨吟 于 8-7-2006 03:17 PM 发表
。。。还真是满头问号。。。好多陌生的词汇~
我要做的很简单,就--user's customer 会有会员证,打算把barcode粘贴在原有的会员证后面,然后,个别customer购买coupon,买多少张,用了多少张,
scan了就知道。 ...
买一个较便宜的barcode scanner(不管它的interface是什么), 你一用了,你就会发觉原来一切都是很简单。 |
|
|
|
|
|
|
|
|
|
|
发表于 9-7-2006 03:53 PM
|
显示全部楼层
|
应该很简单吧,我没用什么api.只是in focus那textbox.就行了。就算没有我的application.用在msExcel也一样行得通。不过我的barcode scanner是usb的。如果SCSI的就不清楚。 |
|
|
|
|
|
|
|
|
|
|
发表于 22-7-2006 01:36 AM
|
显示全部楼层
原帖由 雨吟 于 8-7-2006 03:17 PM 发表
。。。还真是满头问号。。。好多陌生的词汇~
我要做的很简单,就--user's customer 会有会员证,打算把barcode粘贴在原有的会员证后面,然后,个别customer购买coupon,买多少张,用了多少张,
scan了就知道。 ...
买一个keyboard wedge 的scanner , plug & play 几百块的。Print Barcode label
simple way :
1. Download Code 39 font from internet
2. Intsall the Code 39 font into control panel >> font
3. Open MS Word Type *12345* where 12345 is customer code then
highlight the word. Change the font from New Times Roman to Code 39.
4. Print the label using laser printer.
Professional way :
1. Buy a Barcode Printer ( Zebra or Intermac ).
2. Install the barcode printer ( Can ask supplier to install )
3. Install Label Design Software which come together with the new
barcode |
|
|
|
|
|
|
|
|
|
|
发表于 22-7-2006 01:45 AM
|
显示全部楼层
原帖由 sunday365 于 22-7-2006 01:36 AM 发表
买一个keyboard wedge 的scanner , plug & play 几百块的。Print Barcode label
simple way :
1. Download Code 39 font from internet
2. Intsall the Code 39 font into control panel &g ...
Professional way :
1. Buy a Barcode Printer ( Zebra or Intermac ).
2. Install the barcode printer ( Can ask supplier to install )
3. Install Label Design Software which come together with the new
barcode printer.
4. Use the label design software to design the barcode label.
5. Save the barcode label design to printer language file in text file
( Zebra - ZPL , Intermac - IPL )
6.Using write statement in your program to write text exactly same as
the contain of printer language file. Just pass in customer id
parameter in the text ( which need to convert to barcode ).
7. Program print the text file to barcode printer. |
|
|
|
|
|
|
|
|
| |
本周最热论坛帖子
|