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...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Before an FF is sent, <strong>the</strong> following program code can be added to remove part <strong>of</strong><br />

<strong>the</strong> data.<br />

LPRINT CHR$(&H1B) + “W” + CHR$((72) + CHR$(0) + CHR$(120) + CHR$(0);<br />

LPRINT CHR$(36) + CHR$(0) + CHR$(48) + CHR$(0);<br />

LPRINT CHR$(&H18);<br />

LPRINT CHR$(&HC);<br />

END<br />

As a result <strong>of</strong> <strong>the</strong> additional program code, a print-out is executed as shown in<br />

Figure 1-3, where <strong>the</strong> string “GHI” is removed. When strings are removed with<br />

CAN, <strong>the</strong> area where <strong>the</strong> string would have been is not used by <strong>the</strong> rest <strong>of</strong> <strong>the</strong> data,<br />

instead it is converted into a sequence <strong>of</strong> spaces.<br />

(0,0) 200<br />

Page Mode lesson<br />

2CAN command<br />

ABCDEF JKLMNOP<br />

400 QRSTU1234567890<br />

Print Area<br />

Paper<br />

Figure 1-3<br />

—159 —

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

Saved successfully!

Ooh no, something went wrong!