Brother International TD-4420TN FBPL Command Reference - Page 200
SET LEDn, Description, Syntax, Example
View all Brother International TD-4420TN manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 200 highlights
11.6 SET LEDn Description Control LED on/off function. Syntax SET LED1 ON/OFF SET LED2 ON/OFF SET LED3 ON/OFF LED no. LDE1 LED2 LED3 Default Function Power on/off Printer on-line/off-line Error/normal Parameter ON OFF Description Enable LEDn function Disable LEDn function The default function of LED1, LED2 and LED3 id as listed below: Model LED1 LED2 TD-4T series Note: For this series, the LED1=LED2 GREEN GREEN RJ series GREEN GREEN LED3 RED RED LED4 BAT1 LED5 BAT2 LED6 LED7 LED2 & LED3 ORANGE BAT3 WIFI/BT ORANGE TJ series GREEN GREEN RED ORANGE Example Sample code DOWNLOAD "DEMO4.BAS " SET LED1 OFF SET LED2 OFF SET LED3 OFF FOR I=1 TO 100 LED1=0 LED2=0 LED3=0 IF I-INT(I/2)*2=0 THEN LED1=1 ELSEIF I-INT(I/3)*3=0 THEN LED2=1 ELSE LED3=1 ENDIF NEXT LED1=1 LED2=1 LED3=0 SET LED1 ON SET LED2 ON SET LED3 ON EOP DEMO4 195