Citizen Systems PPU-231II manual GS W nL nH

Page 75

GS W nL nH

[Function]

Setting the print area width

[Code]

<1D>H<57>H<nL><nH>

[Range]

0

nL

255

 

0

nH

255

[Outline]

Sets the print area width specified by nL and nH.

The print area width will be [(nL + nH 256) basic calculation pitch] inches.

Printable Area

Left Margin

Print Area Width

[Caution]

• This command only works when it is entered at the beginning

 

of a line.

 

• When PAGE MODE is selected, this command only executes

 

the internal flagging of the printer.

 

• The setting of this command does not affect PAGE MODE.

 

• If the value entered with this command exceeds the printable

 

area for one line, the entire area except the left margin is set

 

as the print area width.

 

• The basic calculation pitches are defined by GS P. Once

 

defined, the print area width is not changed if the basic

 

calculation pitch is changed by GS P.

 

• The print area width is calculated with the horizontal basic

 

calculation pitch (x) defined by GS P. A fraction resulting from

 

the calculation is corrected with the minimum pitch of the

 

mechanism, and the remainder is omitted.

 

• If the first character to be mapped at the beginning of a line

 

has a width (Including the right spacing) greater than the print

 

area width, only that line is handled as follows:

 

(1) The print area is extended toward the right to accommodate

the first character, but not wider than the printable area.

Printable Area

A

Extended toward the right

Left Margin

Print Area Width

— 73 —

Image 75
Contents Command Reference Revision Print Control Functions Command Function Mode CodeESC \ Function Mode CodeCommand relative to NV memory Reference DefaultRange OutlineSee Also Command DetailsPrint Results See Also Sample Program Standard Mode ModePrint Result Can DLE EOT n Range OutlineExample Page See Also DLE ENQ n ESC FF ESC SP n Default See AlsoLprint Aaaaa + CHR$&HA ESC ! n Lprint CHR$&HA END ESC $ n1 n2 100 Gosub Setchr ESC % nESC & s n m a p s⋅ a m-n+1 Font a ESC * m n1 n2 d k IMG1 ESC n ESC ESC 3 n ESC = n ESC ? n Function Code Outline Sample Program Print Results ESC @ESC D n k NUL ESC E n ESC G n ESC J n ESC L ESC M n Definition valueDetails ESC R n ESC S ESC T n ESC V n Default Sample ProgramESC W xL xH yL yH dxL dxH dyL dyH CAN, ESC L, ESC T, GS P ESC \ nL nH ESC a n ESC c 3 n ESC c 4 n ESC c 5 n ESC d n ESC n n ’ ∝ ← n = Default Sample Program Print Results GS ! n Horizontal MagnificationVertical Magnification Default See Also See Also ESC $, ESC T, ESC W, ESC \, GS P, GS \ GS $ nL nHGS * n1 n2 d n1⋅ n2⋅ Next I Next J Return Definition GS a pL pH n mGS / m Specifying starting/ending macro definition GS a m n GS B n GS H n Print Results GS I n GS L nL nH GS P, GS W GS P x y GS R 0 n GS R 1 n GS S 1DH56Hm 1DH56Hmn GS W nL nH GS L, GS P GS \ nL nH GS n1 n2 n3 GS a n Paper feed state triggered by Feed switch DLE EOT, GS r GS f n Selecting bar code height D1 ...... dn D1 ..... dk NULFor For Standard ModeDefault Initial value is not defined For page ModeUPC-A Description of Bar Codes For print examples, refer toAscii This bar code consists of 103 bar code characters FNC4 Special charactersDescription of Bar Codes See Also DLE EOT, GS a GS r nGS v 0 m xL xH yL yH d1...dk When xL+xH ⋅ 256= GS w n Range FS g3 m a1 a2 a3 a4 nL nH d1…dkReference FS g4 m a1 a2 a3 a4 nL nH FS g3 P n m Page Q n xL xH yL yH d1…dk 1… xL xH yL yH d1…dk n Page Related Commands FS p