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.

GS w n<br />

[Function]<br />

[Code]<br />

Specifying <strong>the</strong> horizontal size (Magnification) <strong>of</strong> bar code<br />

HH<br />

[Range] 2 n 6<br />

[Outline]<br />

[Default] n = 3<br />

[Sample Program]<br />

Selecting bar code width.<br />

“n” denotes <strong>the</strong> number <strong>of</strong> dots in fine element width.<br />

LPRINT CHR$(&H1D) + “h” + CHR$(30);<br />

LPRINT CHR$(&H1D) + “w” + CHR$(2);<br />

GOSUB BC<br />

LPRINT CHR$(&H1D) + “h” + CHR$(50);<br />

LPRINT CHR$(&H1D) + “w” + CHR$(3);<br />

GOSUB BC<br />

LPRINT CHR$(&H1D) + “h” + CHR$(80);<br />

LPRINT CHR$(&H1D) + “w” + CHR$(4);<br />

GOSUB BC<br />

END<br />

BC:<br />

LPRINT CHR$(&H1D) + “k”;<br />

LPRINT CHR$(4);<br />

LPRINT “12” + CHR$(0);<br />

RETURN<br />

[Print Results]<br />

←⎯⎯ Height = 30, Magnification = 2<br />

←⎯⎯ Height = 50, Magnification = 3<br />

←⎯⎯ Height = 80,<br />

Magnification = 4<br />

— 131 —

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

Saved successfully!

Ooh no, something went wrong!