Printers & Products
Software
Services
Solutions
Partners
Support
Windows 3.1
Windows NT 3.51, 4.0
Windows 95
Macintosh 7.x
If the printer is to be used with standard TELNET clients, the DataPortNumber parameter must be set to 23 decimal (23 is the default; see DataPortNumber parameter).
The client should be in character mode with the Binary option enabled and local echo set (see Options).
The printer establishes a TELNET session in response to the following command:
telnet printer-IP-address
When you establish a TELNET session with the printer, the printer operates in the same manner as a serial connection. There is no prompt, and you can send data directly to the printer's PostScript interpreter, type executive to enter PostScript executive mode, or enter control characters (see Special character processing).
Options The PhaserShare TELNET interface four TELNET options:
Suppress-Go-Ahead (SGA)
Echo
Status
Binary option The TELNET interface defaults to NVT mode. One implication of this is that only 7-bit ASCII data can be transmitted from client to server and from server to client. The Binary option enables the transmission and reception of 8-bit data (character values 80H-FFH.)
The Raw, BCP, and TBCP protocols transmit data with values in the 80H- FFH range. The Normal protocol transmits data only in the range 00H-7FH. Rather than renegotiate the Binary option each time the Protocol parameter is changed, the server attempts to move both halves of the connection permanently to the binary mode shortly after connection.
If for any reason the server cannot successfully negotiate or remain in Binary mode, then all data sent or received via TELNET will be truncated to 7 bits (the MSB of each byte is zero). It is therefore strongly recommended that clients follow these guidelines:
Do not attempt to exit Binary mode. If the client exits Binary mode, the TELNET server agrees to exit binary mode; however, this results in truncated data (the MSB of each byte is zero).
Echo option By default, server echo is disabled. If the client requests the PhaserShare TELNET server to echo, the server accepts the request. The server never requests that the client echo data, and it refuses a client offer to do so. To avoid unnecessary network traffic, it is strongly recommended that clients follow these guidelines:
Do not enable server echo
Parameters In addition to the standard parameter set, the PhaserShare TELNET interface supports two additional parameters:
LoginPassword
DataPortNumber parameter The DataPortNumber parameter tells the PhaserShare TELNET server which TCP port to listen to. By default, the DataPortNumber parameter is set to 23 decimal, the standard TCP port for TELNET servers. If you wish to move the TELNET server to a different TCP port, change the DataPortNumber parameter to the desired setting. Values between 0-255 decimal are legal; however, take care not to conflict with another protocol, such as FTP or AppSocket.
LoginPassword parameter The LoginPassword parameter defaults to the empty string. When the LoginPassword parameter is non-NULL, the PhaserShare TELNET server prompts the user up to 3 times for the correct password at connection time. If the user fails to enter the correct password 3 times, the server closes the connection.
The password may be up to 32 characters in length.
To disable the password feature, set the LoginPassword parameter to the empty string.
Special character processing If the TELNET Protocol parameter is set to /Normal, /BCP, or /TBCP, the PhaserShare TELNET server recognizes the following special characters:
Control-C. Server transmits abort signal to the interpreter.
Control-D. Server interprets this character as input EOF (End-of-File).