救救我吧!

我使用375編寫打印機(jī)程序,可初始化完成后,怎么也打不出數(shù)據(jù). 現(xiàn)將電腦與打印機(jī)初始化和打印一個字符的數(shù)據(jù)用Bus Hound記錄下來,有那位高手幫我寫一段程序,能解決此問題,有勞動報酬!

//============================================ 初始化程序

Bus Hound 3.02 capture. Complements of www.perisoft.net

Dev - Device ID Time - Elapsed time since the start of the previous Phase Phase - ADDR= 1394 transfer address LOCK= 1394 lock transaction CDB = Command block NSTS= NT status CTL = USB control packet RSET= bus reset DI = Data In RSTS= I/O Request Status DO = Data Out SNS = SCSI Sense Data IDE = IDE task file command SSTS= SCSI Request Block Status ISOC= Isochronous Transfer USTS= USB status

(19) DOT4 USB Printing Support [85KB/Sec]

Dev Phase Data Info Time Cmd.Phase.Ofs --- ----- ----------- ------------- ----- ------------------ 19 CTL 80 06 00 01 00 00 12 00

19 DI 12 01 10 01 00 00 00 08 f0 03 17 0e 00 01 01 02 03 01 19 CTL 80 06 00 02 00 00 09 01 19 DI 09 02 4e 00 01 01 00 c0 01 09 04 00 00 03 07 01 03 00 07 05 01 02 40 00 00 07 05 81 02 40 00 00 07 05 82 03 08 00 ff 09 04 00 01 02 07 01 02 00 07 05 01 02 40 00 00 07 05 81 02 40 00 00 09 04 00 02 01 07 01 01 00 07 05 01 02 40 00 00

19 CTL 00 09 01 00 00 00 00 00 19 CTL a1 00 00 00 00 00 ff 00

19 DI 00 94 4d 46 47 3a 48 65 //================================我寫的程序只能收到這前八個數(shù)據(jù),后面的就沒了,為什么? 77 6c 65 74 74 2d 50 61 63 6b 61 72 64 3b 43 4d 44 3a 50 4a 4c 2c 4d 4c 43 2c 42 49 44 49 2d 45 43 50 2c 50 43 4c 2c 44 57 2d 50 43 4c 3b 4d 44 4c 3a 68 70 20 4c 61 73 65 72 4a 65 74 20 31 30 31 35 3b 43 4c 53 3a 50 52 49 4e 54 45 52 3b 44 45 53 3a 48 65 77 6c 65 74 74 2d 50 61 63 6b 61 72 64 20 4c 61 73 65 72 4a 65 74 20 31 30 31 35 3b 4d 45 4d 3a 31 33 4d 42 3b 43 4f 4d 4d 45 4e 54 3a 52 45 53 3d 36 30 30 78 32 3b

打印時的數(shù)據(jù)見附件.

UploadImages/silverman200512692253.rar

你再次啟動接收不就有了嗎??


接收數(shù)據(jù)是連續(xù)的,在獲得設(shè)備描述信息(78個字節(jié)),連續(xù)接收都是正確的,


只有登錄才能回復(fù),可以選擇微信賬號登錄

国产91精品新入口,国产成人综合网在线播放,九热这里只有精品,本道在线观看,美女视频a美女视频,韩国美女激情视频,日本美女pvp视频