Creating A Script File

PARSE

Syntax: PARSE <string> <variable1> <key> <variable2>

This command enables you parse a string using a specified key (e.g. a single character or a string of characters), where

<string> is the string or variable containing the string to be parsed.

<variable#> are two previously defined string variables (see var) into which characters from the string will be placed.

<key> is a single character or a string of characters which signifies that all following characters in the string are to be placed in the second variable.

If the string contains the key, then all the characters preceding the first instance of the key will be placed in the string variable specified by <variable1>, and all following characters will be placed in the second variable. If the key is not found in the string, then all the characters will be placed in the first variable.

Refer to the Error Numbers section later in this chapter for a list of possible error numbers for this command.

PASSWORD

Syntax: PASSWORD <title> <caption> <entry> [<x> <y>]

This command enables you to display a simple dialog box for password entry where keyboard entered text is displayed as asterisks. The box will have a specified title, contain two buttons (Ok and Cancel) and a single line text box with a specified prompt. The command parameters are as follows:

<title> is the text to be displayed in the title bar of the dialog box, as specified by a string delimited by double quotes or the name of a previously defined string variable (see var).

<caption> is the text that will appear to the left or above the text box, as specified by a string delimited by double quotes or the name of a previously defined string variable.

<entry> is a previously defined string variable which is used to store the text entered in the text box by the user, but only if the Ok button is pressed, otherwise the variable is set to NULL.

<x> <y> specify the horizontal and vertical position of the top left corner of the dialog box in relation to the top left corner of the screen in pixels. These can be integers or variables.

The following example will display a dialog box with the title Password containing a text box with the prompt Enter your password:, and cause the text entered in the

12-54

Page 258
Image 258
Xerox 05W, 07W & -11W 12-54, Syntax Parse string variable1 key variable2, Syntax Password title caption entry x y

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.