Perle Systems Iolan Sds4 Hl Device Server 4030370 ユーザーズマニュアル

ページ / 460
 357
Setting Up Printers
6.
Next you need to create a gateway and destination route entry. Select 
Network
Advanced
, and 
the 
Route List
 tab. 
For the destination, if you want the connection to be able to reach any host in the remote 
network, set the 
Type
 to 
Network
 and specify the network IP address and subnet/prefix bits; if 
you want the connection to go directly to a specific remote host, set the 
Type
 to 
Host
 and specify 
the host’s IP address.
We want a specific host to the be destination, so we configured the 
Type
 as 
Host
:
We also need to create a 
Gateway
 entry using the same PPP IPv4 local IP address. Any traffic 
that goes through the gateway will automatically cause PPP to dial out:
Setting Up Printers
The IOLAN can communicate with printers on its serial ports using LPD and RCP protocols, as well 
as print handling software using TCP/IP.
Remote Printing Using LPD
When setting up a serial line that access a printer using LPD, do the following:
1.
Set the serial port to 
Printer
 and configure the 
Speed
Flow
 
Control
Stop Bits
Parity
, and 
Bits
 
parameters so that they match the printer’s port settings. 
2.
Save your settings and restart the serial port.
3.
Verify that LPD has been configured on the network host. To configure LPD on the network 
host, you need to know the name or IP address of the IOLAN and the print queue, either 
raw_p<port_number>
 for a raw data connection or 
ascii_p<portnumber>
 for an ASCII 
character connection. If you want to direct output to a hunt group, omit the port number(s). For 
example: raw_p or ascii_p. You can optionally append 
_d
 or 
_f 
to the queue name to add a 
<control d>
 or 
<form feed>
 to the end of the print job. 
4.
To execute a print job on a UNIX Linux system, use the following syntax:
lp -d raw_p<port_number> <filename>