Configuring a printer's serial port
|
If your printer has the optional serial port installed, you can configure the port using the DEVPARAM.PS file or by using front panel selections.
Note: To modify the DEVPARAM.PS file, you should be familiar with the PostScript
setdevparams command. You should also know how to use PostScript dictionaries
and key value pairs.
You should edit the DEVPARAM.PS file and send it to the printer before using other utility files to change the printer's performance.
The following example sets these parameters:
- Flow control to Xon/Xoff
- Parity to none
- Data bits to 8
- Stop bits to 2
- Baud rate to 9600
In this example, the changes are persistent across jobs and across printer power cycles; they remain in effect until you change them again.
- (%Serial_NV%) <<
- /Password () def
- /FlowControl /XonXoff def
- /Parity /None def
- /DataBits 8 def
- /StopBits 2 def
- /Baud 9600 def
- >> setdevparams
- See Installing the utility files to locate the printer's utility files.
- View the DEVPARAM.PS file in a text editor and substitute the values you want to use for the current values. The possible values for each parameter are listed in the Parameter values table; the values are case-sensitive and must be entered exactly as shown in the table.
- Save the file.
- The printer's port you are using should be configured to receive PostScript. If you have questions, see Using Different Printer Language Modes for more information.
- Use one of the following methods to send the file to the printer:
- PC users: Use the DOS COPY command to send the file to the printer. (Windows 3.1 users can also use the Copy command in the File Manager.)
- Workstation users: Send the file to the printer as you would any PostScript file.
Parameter values
Parameter key
|
Allowed values
|
Type
|
Parameter key
|
Allowed values
|
Type
|
FlowControl
|
XonXoff (software) Dtr (hardware)
|
string
|
CheckParity
|
true false
|
boolean
|
Parity
|
Even Odd None Space
|
string
|
On
|
true false
|
boolean
|
DataBits
|
7 8
|
integer
|
Interpreter
|
PostScript
|
string
|
StopBits
|
1 2
|
integer
|
Protocol
|
Normal Raw Binary
|
string
|
Baud
|
300 600 1200 2400 4800 9600 19200 38400
|
integer
|
Enabled
|
true false
|
boolean
|
|
| |
|