Creating A Script File

Script File Examples

Log On Script

To introduce scripting, here is an example of probably the most obvious task to automate - logging on to a host computer over a network:

hrcv hold

pset network protocol "protocol" nodename "nodename" connect

hcmp 0,"login: " put "dave_r"

hcmp 0,"password:" put "pericom_r"

hcmp 0,"$ "

exit

The hrcv command on the first line will be necessary in most cases when checking data from the host. Because characters (usually 1 only) from the host are normally processed between lines of the script file, it is normally necessary to include a hrcv hold command to stop this, i.e. to HOLD characters from being processed. This will be in force EXCEPT during hcmp and hget commands, until another hrcv command is encountered.

The pset command enables you to change most items on the Settings menus, and also ‘CURRENT’ settings usually set by ESCape sequences. In this case it is imitating what you would do in the New Connection dialog box in order to connect to a remote host.

The hcmp command allows you to wait until specific character(s) are received EXACTLY from the host. The number before the string specifies how many seconds to wait for the characters. The ‘0’ as used here is an unlimited wait. (In practice it would be better to use a non-zero value and check the system flag to see if the string was received.)

The put command sends the specified characters to the host. The exit command terminates the script file but does not QUIT TeemTalk.

Within this outline script it is necessary to provide the relevant entries for the system to which connection is required. The second line defines the particular network interface protocol and nodename being used and initiates the connection.

The put lines define the userid and password to be used as 'dave' and 'pericom' respectively. The hcmp lines define the particular prompts provided by the host system, at which points the userid and password can be sent to the host. It is vitally important to ensure that the “string” to be waited for in each hcmp command is EXACTLY what will be received from the host, otherwise the log-on will fail. It is

12-4

Page 208
Image 208
Xerox 05W, 07W & -11W manual Script File Examples, Log On Script, 12-4

07W & -11W, 05W specifications

Xerox has long been a leader in the field of imaging and printing technology, and its innovative product lines consistently push the boundaries of performance and functionality. Among these products, the Xerox 05W, 07W, and 11W series stand out as versatile multifunction printers that cater to the needs of various businesses.

The Xerox 05W series is designed with small to medium-sized businesses in mind. It boasts a compact footprint without sacrificing performance. One of the key features of the 05W is its high-resolution printing capability, delivering crisp, vibrant documents at impressive speeds. The series supports a variety of media types and sizes, making it ideal for diverse office environments. Additionally, the 05W incorporates user-friendly controls and an intuitive interface, allowing employees to navigate its functions with ease.

Moving up the range, the Xerox 07W series offers enhanced features geared towards organizations that require increased productivity. This series includes advanced scanning capabilities, allowing users to digitize documents quickly and efficiently. The 07W is compatible with a range of cloud services, facilitating seamless document sharing and collaboration. Enhanced security features, such as secure print and user authentication, make it a suitable choice for businesses that prioritize data protection.

At the top of the lineup, the Xerox 11W series is a powerhouse, designed for high-volume printing environments. It combines speed with quality, boasting robust performance metrics that can handle demanding workflows. The 11W series incorporates cutting-edge technologies such as automatic duplexing, which saves time and paper, and advanced finishing options, providing users with professional-quality documents. The series also supports mobile printing solutions, enabling users to print directly from their smartphones or tablets.

All three series – 05W, 07W, and 11W – share a commitment to sustainability, employing energy-efficient technologies that reduce environmental impact without compromising performance. They also come equipped with comprehensive support options, ensuring customers have access to expert assistance when needed.

In summary, the Xerox 05W, 07W, and 11W series cater to different business needs, ranging from compact functionality to robust performance. They incorporate advanced technologies and key features that enhance productivity, security, and sustainability, making them suitable for a wide array of professional environments. With their reliability and versatility, these printers continue to uphold Xerox's legacy as a leader in the imaging and printing industry.