24.01.2015 Views

1 Turn off the power of the printer. - Van Mechelen

1 Turn off the power of the printer. - Van Mechelen

1 Turn off the power of the printer. - Van Mechelen

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ESC p m n1 n2<br />

[Function]<br />

[Code]<br />

Generating <strong>the</strong> specified pulses<br />

HH<br />

[Range] m = 0, 1, 48, 49<br />

[Outline]<br />

[Caution]<br />

[Default]<br />

[Sample Program]<br />

0 n1 255<br />

0 n2 255<br />

The signals specified by “n1” and “n2” are output to <strong>the</strong><br />

connector pin specified by “m”.<br />

• “m” has <strong>the</strong> followings.<br />

m<br />

Connector Pin<br />

0, 48 Drawer Kick-Out pin No.2<br />

1, 49 Drawer Kick-Out pin No.5<br />

• The ON time is n1 × 2 ms, and OFF time n2 × 2 ms.<br />

• When “m” is beyond a definition range, no signal is output,<br />

discarding “n1” and “n2”.<br />

• The drawer drive duty must be within <strong>the</strong> following range:<br />

ON time<br />

0.2<br />

ON time + OFF time<br />

(The OFF time should be 4 times or more longer than <strong>the</strong> ON<br />

time.)<br />

The initial value for “m”, “n1” and “n2” is not defined.<br />

LPRINT CHR$(&H1B) + “p”;<br />

LPRINT CHR$(0); ←⎯⎯ Selects pin No. 2.<br />

LPRINT CHR$(5); ←⎯⎯ Sets ON time to 10ms<br />

LPRINT CHR$(50); ←⎯⎯ Sets OFF time to 100ms<br />

END<br />

— 91 —

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!