HP 4200n HP LaserJet 4200 and 4300 printers - Software Technical Reference Man - Page 163

Method 1: Command line, Method 2: SETUP.LST, Driver-only installation

Page 163 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 as normal 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 4200 or HP LaserJet 4300 . The options specified on the command line override the options specified in the SETUP.LST file. The options available can also include the /u option. Using this option key makes the installer always operate as unattended. 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 4200 or HP LaserJet 4300 series printer installation: 0 = HP LaserJet 4200 or HP LaserJet 4300 printer 1 = HP LaserJet 4200 or HP LaserJet 4300n printer 2 = HP LaserJet 4200 or HP LaserJet 4300tn printer 3 = HP LaserJet 4200 or HP LaserJet 4300dtn printer 4 = HP LaserJet 4200 or HP LaserJet 4300dtns printer 5 = HP LaserJet 4200 or HP LaserJet 4300dtnsl 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, entering 1 (one) sets the selected printer as the default printer. Entering 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 located in the root directory of the HP LaserJet software CDROM. In the defaults section, add the following syntax: [Defaults] Options= /port= /printer= /pd= For example, = LPT1, Driver-only installation 1 Close all software programs. 2 Click Start, click Settings, and then click Printers. Software Technical Reference Installing Windows printing system components 161

  • 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

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 as normal 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 4200 or HP LaserJet 4300 . The options specified on the command
line override the options specified in the SETUP.LST file.
The options available can also include the
/u
option. Using this option key makes the installer always operate as
unattended. 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 4200 or HP LaserJet 4300 series printer installation:
0 = HP LaserJet 4200 or HP LaserJet 4300 printer
1 = HP LaserJet 4200 or HP LaserJet 4300n printer
2 = HP LaserJet 4200 or HP LaserJet 4300tn printer
3 = HP LaserJet 4200 or HP LaserJet 4300dtn printer
4 = HP LaserJet 4200 or HP LaserJet 4300dtns printer
5 = HP LaserJet 4200 or HP LaserJet 4300dtnsl 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, entering 1
(one) sets the selected printer as the default printer. Entering 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 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,
Driver-only installation
1
Close all software programs.
2
Click
Start
, click
Settings
, and then click
Printers
.
Software Technical Reference
Installing Windows printing system components
161