Samsung SRP-275CEPG Operation Manual - Page 61

EGS E

Page 61 highlights

CHAPTER 5 CONTROL COMMANDS LIST GS ( E [Name] User setup commands [Format] ASCII GS ( E pL pH fn [parameters] Hex 1D 28 45 pL pH fn [parameters] Decimal 29 40 69 pL pH fn [parameters] [Description] Controls the user setting modes. The table below explains the functions available in this command. - The value of fn specifies the function. fn Function 1 Function1 Changes into the user setting mode 2 Function2 Ends user setting mode session. (Performs a software reset.) 3 Function3 Changes the memory switch 4 Function4 Transmits the host the value for the memory switch 5 Function5 Changes the customized setting values 6 Function6 Transmits the customized setting values 11 Function11 Sets communication condition of serial interface 12 Function12 Transmits communication condition of serial interface [Notes] - 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. 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 - 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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110

5-53
-
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-52
GS ( E
[Name]
User setup commands
[Format]
ASCII
GS
(
E
pL
pH
fn
[parameters]
Hex
1D
28
45
pL
pH
fn
[parameters]
Decimal
29
40
69
pL
pH
fn
[parameters]
[Description]
Controls the user setting modes. The table below explains the functions
available in this command.
-
The value of fn specifies the function.
-
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.
fn
1
2
3
4
5
6
11
12
Function1
Function2
Function3
Function4
Function5
Function6
Function11
Function12
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
CONTROL COMMANDS LIST
CHAPTER 5