Samsung SRP-275 Operator's Manual page 62

Pos impact dot matrix printer
Hide thumbs Also See for SRP-275:
Table of Contents

Advertisement

CHAPTER 5
CONTROL COMMANDS LIST
GS ( E
[Name]
User setup commands
[Format]
ASCII
GS
(
Hex
1D
28
Decimal 29
40
[Description]
Controls the user setting modes. The table below explains the functions
available in this command.
- The value of fn specifies the function.
fn
1
Function1
2
Function2
3
Function3
4
Function4
5
Function5
6
Function6
11
Function11
12
Function12
- pL and pH specify the number of bytes for the parameters following
pH (fn and [a1 b1] ... [ak bk]) as(pL + pH x 256).
- The other parameters are explained under the respective functions.
[Notes]
The value of parameter fn determines the function number for this
command. Command operation differs, depending on the function number.
The value defined by the user setting mode is effective until redefined by
this mode again. It is not initialized by turning off the power or executing
ESC @.
User setting mode is a special mode to change settings for the printer s
built-in non-volatile memory.
To change a setting, you must change the printer into user setting mode,
using Function 1.
The setting you specify is activated by transmitting a Function 2 command
upon completion of making the setting.
Note the rules below for the user setting mode:
- The printer does not process character data.
- The printer does not process commands other than this command
and the GS I command.
- The printer ignores real-time commands.
- The printer does not transmit ASB status.
5-52
E
pL
pH
fn
[parameters]
45
pL
pH
fn
[parameters]
69
pL
pH
fn
[parameters]
Function
Changes into the user setting mode
Ends user setting mode session. (Performs a software reset.)
Changes the memory switch
Transmits the host the value for the memory switch
Changes the customized setting values
Transmits the customized setting values
Sets communication condition of serial interface
Transmits communication condition of serial interface
- Functions 4, 6, 12, the functions used to transmit the current settings to the
host, can be used at any time, without changing into the user setting mode.
- Data is written to the non-volatile memory by Functions 3, 5 and 11. Note the
following when using those functions:
- The printer might be BUSY. In this case, be sure not to transmit a
command from the host because the printer will not receive the data.
[Notes for transmission process]
- Data is transmitted by Functions 1, 4, 6 and 12. When you use these
functions, obey the following rules.
- When the host PC transmits the function data, transmit the next data after
receiving the corresponding data from the printer.
- With a serial interface printer, be sure to use this function when the host
can receive data.
- With a parallel interface printer, data transmitted (excluding ASB status)
with this command ("Header to NUL") is temporarily stored in the printer
transmit buffer, as with other data. When the host goes into reverse mode,
the printer then transmits the data sequentially from the beginning of the
transmit buffer. When using this command, promptly change into reverse
mode to start the data receive process.
- You cannot use ASB status and real-time commands while "Header to
NUL" data is being transmitted.
- When communication with the printer uses XON/XOFF control with serial
interface, the XOFF code may interrupt the "Header to NUL" data string.
- The transmission information for each function can be identified to other
transmission data according to specific data of the transmission data block.
When the header transmitted by the printer is [hex =37H/decimal =55],
treat NUL [hex = 00H/decimal =0] as a data group and identify it according
to the combination of the header and the identifier.
5-53

Advertisement

Table of Contents
loading

Table of Contents