HP 2300d HP LaserJet 2300 printer - External Software Technical Reference - Page 196

Method 1: Command line, Method 2: SETUP.LST - laserjet 2300dn printer

Page 196 highlights

Method 1: Command line Type the following at the command line (do not type the beginning and ending quotation marks): "/SETUP/SETUP.EXE /U /PORT=XXXX /PRINTER=N /PD=N" Method 2: SETUP.LST Use the SETUP.LST file to specify command-line arguments to the installer for an unattended installation. You can send command-line arguments in one of the following ways: • Send the command directly to the installer. • Send the command using the SETUP.LST file located in the setup directory. • Use a combination of the two methods. For example, this file contains two options: /port and /printer. The installer operates normally because the /u option has not been specified. If you use setup /u for the installer, it operates in unattended mode and uses the two values specified in the defaults section of the SETUP.LST file. If you use setup /u /printer=4 for the installer, it operates in unattended mode and chooses the HP LaserJet 2300dtn. The options specified on the command line override the options that are specified in the SETUP.LST file. The available options can also include the /u option. Using this option key makes the installer always operate in the unattended mode. The following descriptions explain the available options: • /u signals the installer to use the specified port and printer given on the command line (or in this file), and to use all default selections. Installation then proceeds without prompting the user. • /port=xxxx is used to specify the default port when performing an unattended installation. The value specified by xxxx should be a valid port and should contain no spaces; for example, LPT1. • /printer=n is used to specify the default printer when doing an unattended installation. The value specified by "n" is an integer that references the list of available printers. For example, the following printers are available for the HP LaserJet 2300 printer installation: 0 = HP LaserJet 2300 printer 1 = HP LaserJet 2300d printer 2 = HP LaserJet 2300n printer 3 = HP LaserJet 2300dn printer 4 = HP LaserJet 2300dtn printer 5 = HP LaserJet 2300L printer • /pd=n is used to specify whether the selected printer is the default printer, when you have multiple printers connected to your network. The value specified by n is an integer (that is, 0 or 1). For this argument, typing 1 (one) sets the selected printer as the default printer. Typing zero (0) or not specifying a value at all sets the printer as a non-default printer. You can preset these options in the SETUP.LST file that is located in the root directory of the HP LaserJet software CD-ROM. In the defaults section, add the following syntax: [Defaults] Options= /port= /printer= /pd= For example, = LPT1, 194 Installation instructions Software Technical Reference

  • 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
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235

Method 1: Command line
Type the following at the command line (do not type the beginning and ending quotation marks):
"<CD-ROM-ROOT>/SETUP/SETUP.EXE /U /PORT=XXXX /PRINTER=N /PD=N"
Method 2: SETUP.LST
Use the SETUP.LST file to specify command-line arguments to the installer for an unattended installation. You can
send command-line arguments in one of the following ways:
Send the command directly to the installer.
Send the command using the SETUP.LST file located in the setup directory.
Use a combination of the two methods.
For example, this file contains two options:
/port
and
/printer
. The installer operates normally because the
/u
option
has not been specified. If you use
setup /u
for the installer, it operates in unattended mode and uses the two values
specified in the defaults section of the SETUP.LST file. If you use
setup /u /printer=4
for the installer, it operates in
unattended mode and chooses the HP LaserJet 2300dtn. The options specified on the command line override the
options that are specified in the SETUP.LST file.
The available options can also include the
/u
option. Using this option key makes the installer always operate in the
unattended mode. The following descriptions explain the available options:
/u
signals the installer to use the specified port and printer given on the command line (or in this file), and to use
all default selections. Installation then proceeds without prompting the user.
/port=xxxx
is used to specify the default port when performing an unattended installation. The value specified by
xxxx should be a valid port and should contain no spaces; for example,
LPT1
.
/printer=n
is used to specify the default printer when doing an unattended installation. The value specified by "n"
is an integer that references the list of available printers. For example, the following printers are available for the
HP LaserJet 2300 printer installation:
0 = HP LaserJet 2300 printer
1 = HP LaserJet 2300d printer
2 = HP LaserJet 2300n printer
3 = HP LaserJet 2300dn printer
4 = HP LaserJet 2300dtn printer
5 = HP LaserJet 2300L printer
/pd=n
is used to specify whether the selected printer is the default printer, when you have multiple printers
connected to your network. The value specified by n is an integer (that is, 0 or 1). For this argument, typing 1
(one) sets the selected printer as the default printer. Typing zero (0) or not specifying a value at all sets the printer
as a non-default printer.
You can preset these options in the SETUP.LST file that is located in the root directory of the HP LaserJet software
CD-ROM. In the defaults section, add the following syntax:
[Defaults]
Options= /port=<value> /printer=<number> /pd=<number>
For example, <value> = LPT1,
194
Installation instructions
Software Technical Reference