[ Daks @ 11.08.2003. 11:21 ] @
Kako mogu konfigurisati POS printer da otvori ladicu prilikom printanja racuna iz Access-a? Printer je paralelni. Samsung 270 AP. Moze li mi neko objasniti slijedece: ESC p EXECUTING COMMAND [Name] Generate pulse [Format] ASCII ESC p m t1 t2 Hex 1B 70 m t1 t2 Decimal 27 112 m t1 t2 [Range] m = 0, 1, 48, 49 0 ≤ t1 ≤ 255 0 ≤ t2 ≤ 255 [Default] None [Printers not featuring this command] None [Description] Outputs the pulse specified by t1 and t2 to the specified connector pin m as follows: t1 specifies ON time to ( t1 × 2 ms). t2 specifies OFF time to ( t2 × 2 ms). [Notes] Specify a value so that the OFF time is longer than the ON time ( t1 < t2). [Model-dependent variations] None m: Connector pin 0, 48 Drawer kick-out connector pin 2 1, 49 Drawer kick-out connector pin 5 Program Example for all printers PRINT #1, CHR$(&H1B);"p";CHR$(0);CHR$(25);CHR$(250); Kako se ovo konfigurise? Svaka pomoc je dobro dosla. Hvala. |