Product specifications

Using the Serial Device Server
Silex
Page 23
Part Number 140-00188-180
b. Enter the UDP port number (Destination Port) used by the destination device to
communicate with the Serial Device Server. This number must be a valid port on the
destination device (check the documentation for that device to determine the valid port
numbers).
c. Enter the UDP port number (Local Port) used by the Serial Device Server to
communicate with the destination device. This number must be greater than 1023, but is
otherwise arbitrary.
Print Server Mode
You can use the Serial Device Server as a standard TCP/IP print server, which is very useful if you are
connecting the Serial Device Server to a serial printer. The Serial Device Server supports the following
standards:
lpr/lpd. This is one of the most popular ways to print on a TCP/IP network. Check your
computer’s documentation to determine how to set up an lpr print queue. Usually this
simply involves specifying the IP address of the Serial Device Server as the printer’s
address or host name. Some implementations require a queue name; this name is the
name of any of the Serial Device Server services. To see the names of the Serial Device
Server services, connect to the Serial Device Server with a web browser (see chapter 3
for instructions on doing this); after you have logged in, click I/O Services on the left side
of the page.
Port 9100. This method is used to set up a Windows Standard TCP/IP port or for
compatibility with software that supports the HP JetDirect Print Server (for example, HP
Web JetAdmin). To use this capability on Windows with the Add Printer Wizard, specify
that you want to use a Local printer attached to this computer (not a network printer),
and then select Create a new port, specifying Standard TCP/IP Port as the type of port.
It is also possible to change the TCP port number from the default 9100 for compatibility
with other printer manufacturer’s software. To do this, refer to the instructions in the Raw
TCP Connection section of this chapter.
FTP
The Serial Device Server supports FTP binary or ASCII communications. This can be used, for example,
to send the contents of a file from a PC to a device connected to the Serial Device Server using the FTP
protocol. To use FTP, simply enter the standard FTP command from your PC with the IP address of the
Serial Device Server (for example, ftp 192.168.5.50). When the connection is made, enter any username
and password. You can then use the standard FTP put command to send the file from the PC to the
device connected to the serial port on the Serial Device Server.
Console Mode Switching
The Serial Device Server allows you to dynamically switch the operation of the serial port from normal
mode to console mode. This allows your device to control the operation of the Serial Device Server by
sending console commands (see chapter 6 and Appendix B for a description of the console commands).
Note that console mode can only be entered when there is no connection to a remote host.
To switch the serial port to console mode, you must first define a console string. When the Serial Device
Server receives this string on the serial port, it will automatically switch the port to console mode. To
define the console string, use a web browser to access the Serial Device Server internal web pages.
NOTE: ECable mode cannot be used in conjunction with the Serial Port Emulator software.