HSP¥Ý¡¼¥¿¥ë
¥µ¥¤¥È¥Þ¥Ã¥× ¤ªÌ䤤¹ç¤ï¤»


HSPTV!·Ç¼¨ÈÄ


̤²ò·è ²ò·è Ää»ß ºï½üÍ×ÀÁ

2008
0526
DoubleQuote¥×¥í¥¸¥§¥¯¥¿¤òRS-232C¤ÇÆ°ºî¤µ¤»¤¿¤¤20²ò·è


DoubleQuote

¥ê¥ó¥¯

2008/5/26(Mon) 15:15:57|NO.16130

´û¤Ë
http://hsp.tv/play/pforum.php?mode=all&num=15980
RS-232C¤ÇDVD¥Ç¥Ã¥­¤òÀ©¸æ¤·¤¿¤¤
¢¬¤³¤Á¤é¤Ç¼ÁÌä¤ò¤µ¤»¤Æ夤¤¿¡¢DoubleQuote¤È¿½¤·¤Þ¤¹¡£
¾å¤Î¼ÁÌä¤ÎºÝ¤Ë¤Ï¤¿¤¯¤µ¤ó¤Îµ®½Å¤Ê²óÅú¡¢À¿¤Ë¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£

DVD¥Ç¥Ã¥­¤Ç¤Î»î¸³¤òÁ°¤Ë¶á¤¯¤Ë¤¢¤ëepson¤Î¥×¥í¥¸¥§¥¯¥¿¡¼ELP7700¤Ë
RS-232C¤¬ÅëºÜ¤µ¤ì¤Æ¤¤¤ë°Ù¡¢¤½¤Á¤é¤Ç»î¸³¤ò¹Ô¤Ã¤Æ¤ß¤Þ¤·¤¿¡£

¢­¹Í¤¨¤¿¥¹¥¯¥ê¥×¥È¤Ç¤¹

#include "hspext.as" // »ÈÍѤ¹¤ëCOM¥Ý¡¼¥È¤ÎÈÖ¹æ #define COM_PORT 5 sdim power_on , 32 sdim power_off , 32 sdim source_dsub , 32 power_on_data = 0x1B , 0x07 , 0x01 , 0x00 , 0x03 , 0x01 , 0xF4 power_off_data = 0x1B , 0x07 , 0x01 , 0x00 , 0x03 , 0x00 , 0xF5 source_dsub_data = 0x1B , 0x07 , 0x01 , 0x01 , 0x00 , 0x10 , 0xE7 repeat length(power_on_data) poke power_on , strlen(power_on) , power_on_data(cnt) poke power_off , strlen(power_off) , power_off_data(cnt) poke source_dsub , strlen(source_dsub) , source_dsub_data(cnt) loop /* // ³ÎǧÍÑ dialog power_on dialog power_off dialog source_dsub */ comopen COM_PORT,"baud=9600 parity=N data=8 stop=1" if ( stat ) : dialog "COMOPEN¤Ë¤Æerror¤¬È¯À¸¤·¤Þ¤·¤¿",1 : end comput power_on if ( stat == 0 ) : dialog "COMPUT¤Ë¤Æerror¤¬È¯À¸¤·¤Þ¤·¤¿",1 : end end

COM¥Ý¡¼¥È¤Ë´Ø¤·¤Æ¤Ï5ÈÖ¤À¤Ã¤¿¤Î¤Ç¤½¤ì¤ò»ØÄꤷ¤Þ¤·¤¿¤Î¤Ç´Ö°ã¤¤¤Ê¤¤¤è¤¦¤Ç¤¹¡£
¼Â¹Ô¤·¤Æ¤ß¤¿¤Î¤Ç¤¹¤¬¡¢¥¨¥é¡¼¤Ï½Ð¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢¥×¥í¥¸¥§¥¯¥¿¡¼Â¦¤¬²¿¤È¤âÆ°¤­¤Þ¤»¤ó¡£
ÄÌ¿®¤ÏÀ®¸ù¤·¤Æ¤¤¤ë¡Ê¡©¡Ë¤è¤¦¤Ç¤¹


http://hsp.tv/play/pforum.php?mode=pastwch&num=13223

¤³¤Á¤é¤Î²áµî¥í¥°¤ò¾Ò²ð¤·¤Æ夤¤¿¤Î¤Ç¡¢»²¹Í¤Ë¤·¤Æ¤ß¤Þ¤·¤¿¡£

Ì¿Îá¤ÎËöÈø¤Ë"\r"¤òÉÕ¤±¤Æ¤ß¤ë
Ì¿Îá¤ÎËöÈø¤Ë"\n"¤òÉÕ¤±¤Æ¤ß¤ë
Ì¿Îá¤ÎËöÈø¤Ë"\r\0"¤òÉÕ¤±¤Æ¤ß¤ë
Ì¿Îá¤ÎËöÈø¤Ë0x0d¤òÉÕ¤±¤Æ¤ß¤ë

¤Ê¤É»î¹Ô¤·¤Æ¤ß¤Þ¤·¤¿¤¬¡¢·ë²Ì¤ÏÆ°¤­¤Þ¤»¤ó¤Ç¤·¤¿¡£

¤Ê¤Ë¤«µ­½Ò¤Ç´Ö°ã¤Ã¤Æ¤¤¤ë¤È¤³¤í¤¬¤¢¤ê¤Þ¤·¤¿¤é¡¢¤´»ØŦ¤·¤Æ失¤ë¤È¤¢¤ê¤¬¤¿¤¤¤Ç¤¹¡£
¤è¤í¤·¤¯¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£

¾°¡¢ÄÌ¿®¤Ë¤ª¤±¤ë¥³¥Þ¥ó¥É¤Ï°Ê²¼¤ÎÄ̤ê¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£

ÄÌ¿®Â®ÅÙ 9600bps
¥Ñ¥ê¥Æ¥£ ̵¤·
¥¹¥È¥Ã¥×¥Ó¥Ã¥È 1
BITĹ 8
¥Õ¥í¡¼À©¸æ ¥Ï¡¼¥É¥¦¥§¥¢


ÅŸ» POWER ON 1B 07 01 00 03 01 F4
POWER OFF 1B 07 01 00 03 00 F5
ÆþÎÏ¥½¡¼¥¹ D-SUB PC1 1B 07 01 01 00 10 E7
BNC PC2 1B 07 01 01 00 30 C7
Y/Cr/Cb 1B 07 01 01 00 40 B7
¥³¥ó¥Ý¥¸¥Ã¥È 1B 07 01 01 00 21 D6
Sü»Ò 1B 07 01 01 00 22 D5


¤è¤í¤·¤¯¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£



¤³¤Îµ­»ö¤ËÊÖ¿®¤¹¤ë


f

¥ê¥ó¥¯

2008/5/26(Mon) 20:51:56|NO.16139

ÅŸ»ON¤Î4byteÌܤˡ¢00(ʸ»úÎó½ªÃ¼µ­¹æ)¤¬Æþ¤Ã¤Æ¤ë¡£
ʸ»úÎó¤ÇÁ÷¿®¤·¤è¤¦¤È¤·¤¿¤é¡¢¤½¤³¤ÇÁ÷¿®¤¬¤È¤Þ¤ë¡£

¥Ð¥¤¥Ê¥ê¤ÇÁ÷¿®¤¹¤ì¤ÐÎɤ¤¤ó¤Ç¤Í¡£



f

¥ê¥ó¥¯

2008/5/26(Mon) 21:16:36|NO.16142

¤ó¡©¤Õ¤È»×¤Ã¤Æ¥É¥­¥å¥á¥ó¥ÈÆɤó¤À¤é¡¢¥Ð¥¤¥Ê¥êÁ÷¿®¤ÎÌ¿Îá̵¤¤¤Î¤Ê¡£
computc¤ÇÁ÷¿®¤¹¤ë¤·¤«Ìµ¤¤¤Ê¡£



GENKI

¥ê¥ó¥¯

2008/5/26(Mon) 21:26:32|NO.16143

comcloseÌ¿Îá˺¤ì¤Æ¤Þ¤¹¤è¡£

> ÅŸ» POWER ON 1B 07 01 00 03 01 F4

¥³¥Þ¥ó¥É¤¬Ê¸»ú¥³¡¼¥É¤È°ìÃפ·¤Ê¤¤¤³¤È¤â¤¢¤ë¤ó¤Ç¤¹¤Í¡£
Ƭ¤ò¤½¤í¤¨¤Æ¤ß¤ë¤È¡Ä¡£

> 1B 07 01 00 03 01 F4
> 1B 07 01 00 03 00 F5
> 1B 07 01 01 00 10 E7
> 1B 07 01 01 00 30 C7
> 1B 07 01 01 00 40 B7
> 1B 07 01 01 00 21 D6
> 1B 07 01 01 00 22 D5

¤È¤Ê¤ë¤ï¤±¤Ç¤¹¤¬¡£
¤¦¡¼¤ó¡£Ê¸»ú¿ô¤¬½ªÃ¼¥³¡¼¥É¤ÎÊѤï¤ê¤Ë¤Ê¤ë¤ó¤Ç¤·¤ç¤¦¤«¡£»ä¤Î¾¯¤Ê¤¤·Ð¸³Ãμ±¤Ç¤Ï¤ªÌò¤ËΩ¤Æ¤Ê¤µ¤½¤¦¤Ç¤¹¡£

¤è¤¯¤ï¤«¤é¤Ê¤¤¤Î¤Ç¥Þ¥Ë¥å¥¢¥ëõ¤·¤Æ¤ß¤¿¤ó¤Ç¤¹¤¬¡¢RS-232C¤Î»ÅÍͤϸ«¤Ä¤±¤ë¤³¤È¤¬½ÐÍè¤Þ¤»¤ó¤Ç¤·¤¿¡£
http://www.epson.jp/support/manual/elp/elp7700.htm

¤È¤ê¤¢¤¨¤º¡¢computÌ¿Îá¤Î¸å¤Îstat¤ÎÃͤò¸«¤Æ¤ß¤Æ¤Ï¤É¤¦¤Ç¤·¤ç¤¦¤«¡©
À®¸ù¤¹¤ë¤È¡¢Á÷¿®¤ËÀ®¸ù¤·¤¿¥Ð¥¤¥È¿ô(ʸ»ú¿ô)¤¬ÂåÆþ¤µ¤ì¤ë¤Ï¤º¤Ê¤Î¤Ç
ÁÛÄꤷ¤¿Ãͤ¬½Ð¤Æ¤¤¤ë¤«³Îǧ¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£
ÅÓÃæ¤Ë¥Ì¥ë¤¬Æþ¤Ã¤Æ¤¤¤ë¤Î¤Ç2¡Á3¥Ð¥¤¥È¤Ç¤È¤Þ¤Ã¤Æ¤¤¤¿¤ê¤·¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡©

¥±¡¼¥Ö¥ë¤¬¥¯¥í¥¹¤À¤Ã¤¿¤È¤«¤½¤¦¤¤¤¦¤³¤È¤¬¤Ê¤¤¤«¤â³Îǧ¤·¤Æ¤ª¤¯¤Î¤â¤¤¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£



DoubleQuote

¥ê¥ó¥¯

2008/5/26(Mon) 22:09:43|NO.16145

f¤µ¤ó¡¢GENKI¤µ¤ó¡¢ÊÖ¿®¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£


f¤µ¤ó¡¢GENKI¤µ¤ó
>ÅŸ»ON¤Î4byteÌܤˡ¢00(ʸ»úÎó½ªÃ¼µ­¹æ)¤¬Æþ¤Ã¤Æ¤ë¡£
³Î¤«¤ËÆþ¤Ã¤Æ¤¤¤Þ¤¹¤Í¡£¤¿¤À¡¢comput¤ÇÁ÷¤Ã¤¿¤È¤­¡¢stat¤¬8¤È¤·¤Æµ¢¤Ã¤Æ¤­¤Þ¤·¤¿¡£
¤³¤ì¤Ï8¥Ð¥¤¥È¤Þ¤ÇÁ÷¤é¤ì¤Æ¤¤¤ë¤ó¤Ç¤¹¤è¤Í¡£¤Ä¤Þ¤êºÇ¸å¤Þ¤ÇÁ÷¤é¤ì¤Æ¤Ï¤¤¤ë
¤ß¤¿¤¤¤Ê¤ó¤Ç¤¹¤Í¡£

¥¯¥í¥¹¤Ç¤Ï¤Ê¤¤¤Ç¤¹¡£



DoubleQuote

¥ê¥ó¥¯

2008/5/26(Mon) 22:13:46|NO.16146

f¤µ¤ó

¤â¤·¡¢computc¤Ç¤ä¤ë¤Î¤Ç¤¢¤ì¤Ð

computc 0x1B computc 0x07 computc 0x01 computc 0x00 computc 0x03 computc 0x01 computc 0xF4

¤³¤ó¤Ê´¶¤¸¤Ç¤è¤í¤·¤¤¤Ç¤¹¤«¡©



f

¥ê¥ó¥¯

2008/5/26(Mon) 22:48:30|NO.16147

Á÷¿®¤¹¤ë¥Ç¡¼¥¿¤¬¤Á¤ã¤ó¤È¤·¤¿Êª¤«¡¢ÆâÍƤò³Îǧ¤·¤Æ¤ß¤¿¡£

½¤ÀµÉôʬ
	repeat length(power_on_data)
mes "" + strlen(power_on) + ":" + strf("%02x",power_on_data(cnt)) poke power_on , strlen(power_on) , power_on_data(cnt) poke power_off , strlen(power_off) , power_off_data(cnt) poke source_dsub , strlen(source_dsub) , source_dsub_data(cnt) loop

·ë²Ì
0:1b
1:07
2:01
3:00
3:03
4:01
5:f4

¡¦¡¦¡¦¡£¤½¤â¤½¤â¤Á¤ã¤ó¤È¤·¤¿¥Ç¡¼¥¿¤¬½ÐÍè¾å¤¬¤Ã¤Æ¤ª¤é¤ó¤è¤¦¤À¤Ê¡£
4¥Ð¥¤¥ÈÌܤÎ0¤¬strlen¤Ç¥«¥¦¥ó¥È¤·¤¿»þ¤Ë¥Ì¥ë°·¤¤¤Ç¥«¥¦¥ó¥È¥¢¥Ã¥×¤µ¤ì¤Æ¤Ê¤¤¡£

ÁÇľ¤Ë
	for i,0,7
poke power_on , i , power_on_data(i) poke power_off , i , power_off_data(i) poke source_dsub , i , source_dsub_data(i) next
¤È½ñ¤¤¤¿Êý¤¬ÌÌÅݤÊÏäÏ̵¤¤¤Ê¡£

Á÷¿®¤Ï¡¢ÂÖ¡¹Ê¹¤«¤º¤È¤â¤ä¤Ã¤Æ¤ß¤ì¤ÐÎɤ¤¤ó¤Ç¤Í¡£
¥ë¡¼¥×¤Ç¤ä¤Ã¤Æ¤â¤è¤·¡£



DoubleQuote

¥ê¥ó¥¯

2008/5/26(Mon) 23:36:43|NO.16148

f¤µ¤ó

¤Ê¤ë¤Û¤É¡¢strlen¤Ï00¤Î¥Ì¥ëʸ»ú°Ê¹ß¤Ï¥«¥¦¥ó¥È¥¢¥Ã¥×¤·¤Æ¤¤¤«¤Ê¤¤¤ó¤Ç¤¹¤Í

peek¤Ç°ìʸ»ú¤º¤Ä¼è¤ê½Ð¤·¤Æ¤ß¤Þ¤·¤¿¡£


#include "hspext.as" onexit *exit // »ÈÍѤ¹¤ëCOM¥Ý¡¼¥È¤ÎÈÖ¹æ #define COM_PORT 5 sdim power_on , 32 sdim power_off , 32 sdim source_dsub , 32 power_on_data = 0x1B , 0x07 , 0x01 , 0x00 , 0x03 , 0x01 , 0xF4 power_off_data = 0x1B , 0x07 , 0x01 , 0x00 , 0x03 , 0x00 , 0xF5 source_dsub_data = 0x1B , 0x07 , 0x01 , 0x01 , 0x00 , 0x10 , 0xE7 for i,0,7 poke power_on , i , power_on_data(i) poke power_off , i , power_off_data(i) poke source_dsub , i , source_dsub_data(i) next /* // ³ÎǧÍÑ dialog power_on dialog power_off dialog source_dsub */ comopen COM_PORT,"baud=9600 parity=N data=8 stop=1" if ( stat ) : dialog "COMOPEN¤Ë¤Æerror¤¬È¯À¸¤·¤Þ¤·¤¿",1 : end for i,0,7 computc peek(power_on,i) if ( stat == 0 ) : dialog "COMPUT¤Ë¤Æerror¤¬È¯À¸¤·¤Þ¤·¤¿",1 : end next computc 0x0d end *exit comclose end

¤³¤ì¤Ç¤â¡¢¤ä¤Ã¤Ñ¤·Æ°¤«¤Ê¤¤¤Ç¤¹¤Í¡¦¡¦¡¦²¿¤¬¤¤¤±¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¡¦¡¦¡¦



f

¥ê¥ó¥¯

2008/5/27(Tue) 00:29:55|NO.16150

¤È¤ê¤¢¤¨¤º¡¢¥Þ¥Ë¥å¥¢¥ë¤Ë½ªÃ¼¥³¡¼¥É¤¬0x0d¤À¤È½ñ¤¤¤Æ¤¤¤Ê¤¤¤Ê¤écomputc 0x0d¤Ï¤¤¤é¤ó¤À¤í¤¦¡£

Á÷¿®¤¹¤ë¤Ù¤­¥Ç¡¼¥¿¤ÏÁ÷¤ì¤Æ¤¤¤ëȦ¤À¤¬¡¢¤½¤ì¤Ç¤âÆ°ºî¤·¤Ê¤¤¤È¤Ê¤ë¤È¡¢¸«Íî¤È¤·¤¬Ìµ¤¤¤«
¥Þ¥Ë¥å¥¢¥ë¤ò¾ÜºÙ¤ËÄ´¤Ù¤ë¤·¤«Ìµ¤¤¤Î¤Ç¤Ï¤Ê¤¤¤«¡£1¥Ð¥¤¥È¤Å¤ÄÁ÷¿®¤¹¤ë¤Î¤¬¤Þ¤º¤¤¤È¸À¤¦¤Ê¤é¡¢
windowsAPI¤«¤é¥Ð¥¤¥Ê¥êÁ÷¿®¤¹¤ë¤·¤«Ìµ¤¤¤À¤í¤¦¡£

¤Þ¤¿¡¢µ¡´ï¤«¤é¤Î±þÅúÅù¤¬µ¢¤Ã¤Æ¤­¤Æ¤¤¤Ê¤¤¤«³Îǧ¤·¤Æ¤ß¤ë¤Ù¤­¤«¤âÃΤì¤Ê¤¤¡£
¤³¤ÎÎã¤Ç¤ÏÅŸ»ON¤Î¥³¥Þ¥ó¥É¤À¤¬¡¢Â¾¤Î¾ì¹ç¤Ï¤É¤¦¤«Åù¤â³Îǧ¤·¤Æ¤ß¤Æ¤Ï¤É¤¦¤«¡£



f

¥ê¥ó¥¯

2008/5/27(Tue) 00:32:27|NO.16151

Ç°¤Î¤¿¤á¤À¤¬¡¢¥á¥¤¥ó¤ÎÅŸ»¤¬Íî¤Á¤Æ¤¤¤Ê¤¤¤«¡£



yamineko

¥ê¥ó¥¯

2008/5/27(Tue) 00:33:00|NO.16152

³ä¤ê¹þ¤ß¼ÁÌ䤵¤»¤Æ¤¯¤À¤µ¤¤¡¢¤¹¤ß¤Þ¤»¤ó¡£
HSP¤Ã¤Æ¡¢C¤Îsizeof()¤ß¤¿¤¤¤ÊÌ¿Îá¤Ã¤Æ̵¤¤¤ó¤Ç¤·¤ç¤¦¤«¡©

¤½¤¦¤À¤È¤¹¤ë¤È¡¢¥Ð¥¤¥Ê¥ê¤ò°·¤¤¤Ë¤¯¤¤¤Ê¤¡¤È»×¤Ã¤¿»ö¤¬¤¢¤ê¤Þ¤·¤Æ¡Ä

¤Ê¤ó¤«¡¢´ØÏ¢¤¢¤ê¤½¤¦¤Ê¤Î¤Ç¿½¤·Ìõ¤Ê¤¤¤È»×¤¤¤Ä¤Ä¤â¡¢
³ä¤ê¹þ¤ó¤Ç¤·¤Þ¤¤¤Þ¤·¤¿¡£



yamineko

¥ê¥ó¥¯

2008/5/27(Tue) 00:46:37|NO.16153

¤½¤¦¤¤¤¨¤Ð¡¢³°Éô¤Îʪ¤òÁàºî¤¹¤ë¤È¤­¤Ï¡¢
¥Ç¡¼¥¿¤¬³Î¼Â¤ËÁ÷¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤ò¡¢¤Þ¤º³Îǧ¤·¤¿Êý¤¬Îɤ¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£

ÆóÂæÌܤÎPC¤È¤«¡¢¥·¥ê¥¢¥ë¥Ý¡¼¥È¤òÆó¤Ä»È¤¦¤È¤«¡¢
¤È¤ê¤¢¤¨¤ºÁ÷¤Ã¤¿¥Ç¡¼¥¿¤ò¥Ç¥£¥¹¥×¥ì¥¤¤·¤Æ¤¯¤ì¤ëµ¡´ï¤È¤«¡Ä

²¿¤â̵¤«¤Ã¤¿¤é¤µ¤¹¤¬¤Ë³Îǧ¤Î¤·¤è¤¦¤¬¤¢¤ê¤Þ¤»¤ó¤¬¡£

¤â¤·¡¢Á÷¤ì¤Æ¤¤¤Æ¤âÆ°¤«¤Ê¤¤¤È¤­¤Ï¡¢Á÷¿®¥¿¥¤¥ß¥ó¥°¤ÎÌäÂ꤫¤â¤·¤ì¤Þ¤»¤ó¡Ä
¤¿¤·¤«¥·¥ê¥¢¥ë¤Ã¤ÆÁ÷¿®Â®ÅÙ¤¬Ê£¿ô¤¢¤ê¤Þ¤·¤¿¤è¤Í¡©



DoubleQuote

¥ê¥ó¥¯

2008/5/27(Tue) 04:51:54|NO.16155

f¤µ¤ó¡¢yamineko¤µ¤ó¡¢½õ¸À¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£

f¤µ¤ó
>¤È¤ê¤¢¤¨¤º¡¢¥Þ¥Ë¥å¥¢¥ë¤Ë½ªÃ¼¥³¡¼¥É¤¬0x0d¤À¤È½ñ¤¤¤Æ¤¤¤Ê¤¤¤Ê¤écomputc 0x0d¤Ï¤¤¤é¤ó¤À¤í¤¦¡£
½ñ¤¤¤Æ¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£¤Ç¤¹¤¬¡¢²áµî¥í¥°¤Ë¤³¤ì¤Ç¤¦¤Þ¤¯¤¤¤Ã¤¿¡Ê¡©¡Ë¾ðÊ󤬤¢¤Ã¤¿¤Î¤Ç
¼Â¸³¤Ç¤ä¤Ã¤Æ¤ß¤¿¤Î¤Ç¤¹¤¬¾Ã¤·Ëº¤ì¤Þ¤·¤¿¡£¿½¤·Ìõ¤¢¤ê¤Þ¤»¤ó¡£·ë²Ì̵Íý¤Ç¤·¤¿¤¬¡£

>1¥Ð¥¤¥È¤Å¤ÄÁ÷¿®¤¹¤ë¤Î¤¬¤Þ¤º¤¤¤È¸À¤¦¤Ê¤é¡¢
1¥Ð¥¤¥È¤º¤ÄÁ÷¤ë¤Î¤È¤¹¤Ù¤Æ¤òÁ÷¤ë¤Î¤È¤Ç¤Ï¡¢¤ä¤Ï¤êÂÔ¤Á»þ´ÖÅù¤Î°ã¤¤¤¬½Ð¤Æ¤·¤Þ¤¤
·ë²Ì¤¬ÊѤï¤Ã¤Æ¤·¤Þ¤¦¤Î¤Ç¤·¤ç¤¦¤«¡©

>windowsAPI¤«¤é¥Ð¥¤¥Ê¥êÁ÷¿®¤¹¤ë¤·¤«Ìµ¤¤¤À¤í¤¦¡£
¤³¤Î¾ì¹ç¤Ï¤«¤Ê¤êÊ£»¨¤Ê¥â¥Î¤Ë¤Ê¤Ã¤Æ¤­¤½¤¦¤Ç¤¹¤Í¡£
¤Á¤ç¤Ã¤È¥°¥°¤Ã¤Æ¤ß¤¿¤À¤±¤Ç¤¹¤¬¡¦¡¦¡¦

>¤³¤ÎÎã¤Ç¤ÏÅŸ»ON¤Î¥³¥Þ¥ó¥É¤À¤¬¡¢Â¾¤Î¾ì¹ç¤Ï¤É¤¦¤«Åù¤â³Îǧ¤·¤Æ¤ß¤Æ¤Ï¤É¤¦¤«¡£
ÅŸ»¥Ü¥¿¥ó¤ò²¡¤¹»ö¤Ë¤è¤êÅŸ»¤òÆþ¤ì¡¢¥½¡¼¥¹ÀÚ¤êÂؤ¨¤ë»ØÎá¤òRS-232C¤ÇÁ÷¤Ã¤Æ¤ß¤¿¤Î¤Ç¤¹¤¬
ÂÌÌܤǤ·¤¿¡£

>Ç°¤Î¤¿¤á¤À¤¬¡¢¥á¥¤¥ó¤ÎÅŸ»¤¬Íî¤Á¤Æ¤¤¤Ê¤¤¤«¡£
¢¬¤Î¼Â¸³¤ò¹Ô¤Ã¤Æ¤¤¤Þ¤¹¤·¡¢¥á¥¤¥óÅŸ»¤Ï³Î¼Â¤ËÆþ¤Ã¤Æ¤¤¤Þ¤¹¡£

comput¤Ï½ªÃ¼Ê¸»úÎ󤬤¢¤ë¤È¤½¤ì°Ê¹ß¤ÏÁ÷¤é¤ì¤Ê¤¤¤È¸À¤¦»ö¤ÇÎɤ¤¤ó¤Ç¤¹¤è¤Í¡©


yamineko¤µ¤ó
>¥Ç¡¼¥¿¤¬³Î¼Â¤ËÁ÷¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤ò¡¢¤Þ¤º³Îǧ¤·¤¿Êý¤¬Îɤ¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£
PCÆóÂæ¤Ç¤ä¤ê¤Þ¤·¤¿¤¬¡¢Á÷¼õ¿®¤Ë´Ø¤·¤ÆÌäÂê¤Ê¤¯Á÷¤é¤ì¤Æ¤¤¤ë»ö¤ò³Îǧ¤·¤Þ¤·¤¿¡£

>¤â¤·¡¢Á÷¤ì¤Æ¤¤¤Æ¤âÆ°¤«¤Ê¤¤¤È¤­¤Ï¡¢Á÷¿®¥¿¥¤¥ß¥ó¥°¤ÎÌäÂ꤫¤â¤·¤ì¤Þ¤»¤ó¡Ä
°ìʸ»ú¤º¤ÄÁ÷¤Ã¤Æ¤¤¤ëºÝ¤ÎÂÔ¤Á»þ´Ö¤òwait 3¤È¤·¤Æ¤ä¤Ã¤Æ¤ß¤Þ¤·¤¿¤¬ÊѲ½Ìµ¤¤¤Ç¤¹¤Í¡£

>¤¿¤·¤«¥·¥ê¥¢¥ë¤Ã¤ÆÁ÷¿®Â®ÅÙ¤¬Ê£¿ô¤¢¤ê¤Þ¤·¤¿¤è¤Í¡©
comopen¤Î»þ¤Ë»ØÄꤹ¤ë¤ä¤Ä¤Ç¤¹¤è¤Í¡©¤³¤ì¤Ï¥³¥Þ¥ó¥É¤Ç»ØÄꤵ¤ì¤Æ¤¤¤ë¤È¤ª¤ê
µ­½Ò¤·¤Æ¤¢¤ê¤Þ¤¹¡£



¤³¤ì¤Á¤ç¤Ã¤È¤¢¤­¤é¤á¤¿Êý¤¬Îɤ¤¤Î¤«¤Ê¤¡¡¦¡¦¡¦



StarratS

¥ê¥ó¥¯

2008/5/27(Tue) 06:57:19|NO.16159

>HSP¤Ã¤Æ¡¢C¤Îsizeof()¤ß¤¿¤¤¤ÊÌ¿Îá¤Ã¤Æ̵¤¤¤ó¤Ç¤·¤ç¤¦¤«¡©
>¤½¤¦¤À¤È¤¹¤ë¤È¡¢¥Ð¥¤¥Ê¥ê¤ò°·¤¤¤Ë¤¯¤¤¤Ê¤¡¤È»×¤Ã¤¿»ö¤¬¤¢¤ê¤Þ¤·¤Æ¡Ä

¤É¤¦¤·¤Æ¤½¤¦»×¤¦¤Î¤À¤£¡©
HSP¤Ë¤Ï´ðËÜ·¿°Ê³°¤Ë¥æ¡¼¥¶¡¼¤¬Ç¤°Õ¤Ç·¿ÉÕ¤±¤Ç¤­¤Ê¤¤¸À¸ì¤Ê¤ó¤À¤è¡©
¤Þ¤µ¤«ÇÛÎó¤Î¥µ¥¤¥º¤òsizeof¤ÇÆÀ¤è¤¦¤Ê¤ó¤Æ¹Í¤¨¤Æ¤Ê¤¤¤è¤Í¡©
(http://quasiquote.org/hspwiki/HSP3%e3%81%ab%e8%bf%bd%e5%8a%a0%e3%81%97%e3%81%a6%e6%ac%b2%e3%81%97%e3%81%84%e6%a9%9f%e8%83%bd%e3%81%ae%e3%83%aa%e3%82%b9%e3%83%88)



f

¥ê¥ó¥¯

2008/5/27(Tue) 07:50:39|NO.16162

1byte¤º¤ÄÁ÷¿®¤·¤¿¤È¤Æ¡¢Â礷¤ÆÌäÂê¤Ï̵¤¤¤È»×¤¦¤¬¡¦¡¦¡¦»î¤·¤¿»ö¤Ï̵¤¤¡£
comput¤Ï¡Öʸ»úÎó¡×¤òÁ÷¿®¤¹¤ë¤«¤é¤Ê¡£¡Öʸ»úÎó¡×¤ÏNULL¤¬½Ð¤¿¤é¤½¤³¤¬½ªÃ¼¤À¡£

Äü¤á¤º¤È¤â¡¢¥á¡¼¥«¤ËÌ䤤¹ç¤ï¤»¤ë¤È¸À¤¦¼êÃʤ¬¤¢¤ë¡£
RS-232C¤ÇÀ©¸æ¤·¤¿¤¤»ÝÅÁ¤¨¡¢¥¢¥É¥Ð¥¤¥¹¤òÌ㤦¤ÈÎɤ¤¡£

º¹¤·»Ù¤¨¤Ê¤±¤ì¤Ð¥á¡¼¥«Ì¾·¿ÈÖ¤òʹ¤¤¤¿¾å¤Ç¤½¤Î¥Þ¥Ë¥å¥¢¥ë¤¬¤³¤Á¤é¤Ç¼ê¤ËÆþ¤ë¤Ê¤é¡¢
¸«¤Æ¤ß¤¿¤¤Êª¤À¤¬¡£


°Õ¸«¤¬¾å¤¬¤Ã¤Æ¤¤¤ë¤¬¡¢³Î¤«¤Ë¡¢¤­¤Á¤ó¤È³°Éô¤Ë½ÐÎϤµ¤ì¤Æ¤¤¤ë¤«³Îǧ¤¹¤ë¼êÃʤ¬Í­¤ë¤Ê¤é¡¢
³Îǧ¤·¤Æ¤ª¤¤¤¿Êý¤¬Îɤ¤¤Ê¡£
¥Ç¡¼¥¿¤¬¥Ð¥¤¥Ê¥ê¤Ê¤Î¤Ç¥Ï¥¤¥Ñ¡¼¥¿¡¼¥ß¥Ê¥ë¤Ï»È¤¨¤ó¤Ê¡£
vector¤«Áë¤Î¼Ò¤Çµù¤ì¤Ð¥·¥ê¥¢¥ë¤Î¥¢¥Ê¥é¥¤¥º¥½¥Õ¥È¤¬´ö¤Ä¤«¤¢¤Ã¤¿¤È»×¤¦¡£



f

¥ê¥ó¥¯

2008/5/27(Tue) 13:00:15|NO.16163

¤¢¤¢¡¢¤¹¤Þ¤Ê¤¤¡£¥á¡¼¥«¤È·¿È֤Ͻñ¤¤¤Æ¤¢¤Ã¤¿¤Î¤À¤Ê¡£
http://www.epson.jp/support/manual/elp/elp7700.htm

¤³¤³¤Î¥Þ¥Ë¥å¥¢¥ë¤ò¤Ñ¤Ã¤Èή¤·¸«¤¿¤¬¡¢¥·¥ê¥¢¥ëÀ©¸æ¤Ë¤Ä¤¤¤Æ½ñ¤¤¤Æ̵¤¤¤Ê¡¦¡¦¡¦¡£



f

¥ê¥ó¥¯

2008/5/27(Tue) 13:05:38|NO.16164

¡¦¡¦¡¦¡¦¡¦¡£

¼è°·ÀâÌÀ½ñp13¤Ë¡¢¡Ö¥¯¥í¥¹¥±¡¼¥Ö¥ë¤ÇÀܳ¤·¤Þ¤¹¡£¡×¤È¤¢¤ë¤ó¤À¤¬¡£



¤ä¤ß¤Í¤³

¥ê¥ó¥¯

2008/5/27(Tue) 14:58:19|NO.16171

>StarratS¤µ¤ó

API¤ÎÌá¤êÃͤòdupptr¤·¤Æ¤Æ»×¤¤¤Ä¤¤¤¿¤Î¤Ç¤¹¤¬¡¢

¤½¤¦¤¤¤¨¤Ð¡¢
sizeof¤Ã¤Æ¹½Â¤ÂΤÎÀë¸À¤«¤é¥Ç¡¼¥¿¥µ¥¤¥º¤ò½¦¤¦¤ó¤Ç¤·¤¿¤Ã¤±¡©
¤À¤È¤·¤¿¤é¡¢Ìá¤êÃͤι½Â¤ÂΤÎÀë¸À¤¬Ìµ¤¤HSP¤Ç¤Ï̵°ÕÌ£¤Ç¤·¤¿¡Ä

¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£



GENKI

¥ê¥ó¥¯

2008/5/27(Tue) 22:30:09|NO.16198

¼èÀ⡧http://www2.epson.jp/support/manual/data/elp/elp7700/402118202.PDF
13¥Ú¡¼¥¸
> ­­ Contro¡Êl RS-232C¡Ëü»Ò
> ¥³¥ó¥Ô¥å¡¼¥¿¤Î¥·¥ê¥¢¥ë¥Ý¡¼¥È¤È¥×¥í¥¸¥§¥¯¥¿¡¼¤ÎControl ü»Ò¤ò»ÔÈΤÎD-Sub 9pin¡Ê¥·
> ¥ê¥¢¥ë¡Ë¥¯¥í¥¹¥±¡¼¥Ö¥ë¤ÇÀܳ¤·¤Þ¤¹¡£

¤¦¤ª¡£¤Û¤ó¤È¤À¡¢¤³¤ó¤Ê¤È¤³¤í¤Ë¡£

¤½¤·¤Æ¤³¤Î¼èÀâ¤ò¸«¤Ä¤±¤Æ¤ª¤­¤Ê¤¬¤é¤Î¥³¥á¥ó¥È¤¬¡Ä

> ¥±¡¼¥Ö¥ë¤¬¥¯¥í¥¹¤À¤Ã¤¿¤È¤«¤½¤¦¤¤¤¦¤³¤È¤¬¤Ê¤¤¤«¤â³Îǧ¤·¤Æ¤ª¤¯¤Î¤â¤¤¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£

¤³¤ì¡£orz
¤¹¤ß¤Þ¤»¤ó»×¤¤¹þ¤ß¤Ç½ñ¤¤¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£



DoubleQuote

¥ê¥ó¥¯

2008/5/28(Wed) 10:11:20|NO.16213

f¤µ¤ó

¤Ê¤ë¤Û¤É¡£¥¯¥í¥¹¥±¡¼¥Ö¥ë¤Ê¤ó¤Ç¤¹¤Í¡£¿½¤·Ìõ¤¢¤ê¤Þ¤»¤ó¡£¥¹¥È¥ì¡¼¥È»È¤Ã¤Æ¤ß¤Þ¤·¤¿¡£
¥¯¥í¥¹¥±¡¼¥Ö¥ë¤òÆþ¼ê¤·¤Æ¤¹¤°¤Ë¼Â¸³¤·¤Æ¤ß¤Þ¤¹¡£¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£

¤È¤ê¤¢¤¨¤º¤½¤ì¤Þ¤Ç²ò·è°õ¤ÏÊÝα¤È¤µ¤»¤Æ夭¤Þ¤¹¡£



DoubleQuote

¥ê¥ó¥¯

2008/5/28(Wed) 22:42:46|NO.16238

¥×¥í¥¸¥§¥¯¥¿¡¼¤¬»ÏÆ°¤·¤Þ¤·¤¿¡ª¡ª

¤ä¤Ï¤ê¡¢¸¶°ø¤Ï¥¯¥í¥¹¥±¡¼¥Ö¥ë¤À¤Ã¤¿¤è¤¦¤Ç¤¹¡£

¥¯¥í¥¹¥±¡¼¥Ö¥ë¤òõ¤·¤¿¤È¤³¤í¡¢°Õ³°¤È¹â¤¯¡¢¤·¤«¤âDsub9Pin¥á¥¹ - Dsub25Pin¥ª¥¹¤È¤¤¤¦
ÁȤ߹ç¤ï¤»¤Æ1700±ß¤È¤Á¤ç¤Ã¤È¤ª¹â¤«¤Ã¤¿¤Î¤Ç¡¢9PinƱ»Î¤Î¥ª¥¹¥á¥¹¤ÎÅÓÃæ¤òÀڤäÆ
ȾÅĤ´¤ÆÊÒ¼ê¤Ë¥¯¥í¥¹¥±¡¼¥Ö¥ë²½¤·¤Þ¤·¤¿¡£¤ª¤è¤½2»þ´Ö30ʬ¤«¤«¤ê¤Þ¤·¤¿¤è¡£

¤ß¤Ê¤µ¤ó¡¢µ®½Å¤ÊÃηäòÍ¿¤¨¤Æ夭¡¢À¿¤Ë¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£



ONION software Copyright 1997-2023(c) All rights reserved.