Media (Magic xpa 2.x)
The available options in the I/O Device repository's Media column are:
|
|
Graphic Printer
|
The I/O based on this I/O device definition creates graphical information that can then be directed to a graphic printer or to a disk file. This is the default option.
Note: To print to a Graphic Printer, a printer driver must be installed on your computer.
|
Printer
|
The device is formatted for printing, as character-based output, and is directed to one of Magic xpa's logical printers. You can redirect a Printer device to a disk file by defining an expression, in the Exp/Var column, which evaluates to a valid file name at runtime.
|
File
|
Defines either an input or output disk device, depending on the value of the Access property. The device’s path and name are specified by the expression referred to in the Exp/Var column.
|
Requester
|
The Requester I/O device is used by Batch tasks of an project that are invoked by a Call Remote operation or an internet request.
The output made to this I/O device is transmitted back to the calling task or browser upon the completion of the task that opened the device.
|
XML Direct Access
|
This is used to query and modify an XML file, which can be queried using the XMLCnt, XMLExist, XMLFind, and XMLGet functions. You can also create, modify, or delete an XML element or attribute by using the XMLInsert, XMLModify, and XMLDelete functions.
|
Variable
|
The Variable option is used to send and receive a BLOB variable for input and output forms. This option can be used for the exchange of XML files.
You can use the XMLCnt, XMLExist, XMLFind, and XMLGet functions when the Access column is set to Read. You can use the XMLInsert, XMLModify, and XMLDelete functions when the Access column is set to Write.
|
It is not necessary to specify an expression for the Graphic printer, Printer, or Requester. However when an expression is specified, the output will be directed to the device defined by the expression.