Select Cut Mode and Cut Paper

This command selects a mode for cutting paper and cuts the paper. There are two formats for this command, one requiring one parameter m, the other requiring two parameters, m and n. The format is indicated by the parameter m.

ASCII

GS V m
GS V m n

Hexadecimal

1D 56 m
1D 56 m n

Decimal

29 86 m
29 86 m n

Values

m—selects the mode as described in the table.

n—determines the cutting position only if m is 65 or 66.

m

Feed and Cut Mode

0, 48

Full cut (no extra feed). Partial cut on the 7158/7167.

1, 49

Partial cut (no extra feed).

65

Feeds paper to cutting position + (n times vertical motion unit), and cuts the paper completely.

66

Feeds paper to cutting position + (n times vertical motion unit), and performs a partial cut.

Range

m—0, 48; 1, 49

m when used with n—65, 66

n—0-255

Default Values

m—0

n—0

Formula

n times the vertical motion unit is used to determine the cutting position to the distance that the paper is fed.

Example:   

MSComm1.Output = Chr$(&H1D) & Chr$(&H56) & Chr$(m) & Chr$(n)

Exception

If m is out of the specified range, the command is ignored.