Creating A Script File

For example, to program a key or button so that it will run the script file myscript.scr and assign the values value1 to variable ArgV1 and value2 to ArgV2, you would enter the following in the key/button definition text box:

<'myscript.scr(value1,value2)'>

Refer to the Keyboard Macros and Soft Buttons sections in the Setup Menus chapter for information on programming keys and buttons.

Using An Escape Sequence

A script file can be initiated remotely by using the following escape sequence:

ESC P 2 z filename ESC \

where filename can include arguments as described in the next section.

Assigning Values To Variables

You can specify the value of specific variables within the script file by using the ( ) combination immediately following the name of the script file to be run. For example:

myscript.scr(value1,value2,etc)

Each value within the parentheses must be separated by a comma with no spaces in between. The script decoder stores the number of values specified, also treating the name of the script file as a value, in the integer variable ArgC. The values themselves are assigned to the following ArgV string variables: ArgV0 contains the name of the script file ("myscript.scr" in the example above), ArgV1 contains "value1", ArgV2 contains "value2", and so on.

The ArgC and ArgV# variables are predefined by the script language and so are not defined by the var command. Just use the variable names in the program where applicable, remembering that the number of the ArgV# variable name must match the location number of the value that will be entered on the command line.

It is up to the user to ensure that the values specified on the command line are in the right order so that they are assigned to the correct ArgV# variables.

12-3

Page 207
Image 207
Xerox 07W & -11W, 05W manual Assigning Values To Variables, Using An Escape Sequence, 12-3, ESC P 2 z filename ESC

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.