HELP
An object that sends data to a printer.

USE
Use To Printer to output data to a printer
using a wide variety of encodings and
formats.

To Printer Actions:

* WRITE - Prints data using the specified
encoding and format.

* WAIT - Waits the specified number of
seconds before executing the next
transaction.

To Printer Encodings:

In almost all cases, you should use TEXT
or CASE encoding to print data.  Other
encodings should be used by advanced users
only.

* TEXT - Writes all data types in
human-readable form.  HP VEE numeric data is
automatically converted to text as it is
written.

* BYTE - Converts numeric data to binary
integer and writes the least significant
byte.

* CASE - Maps an enumerated value or an
integer to a string and writes the string.
For example, you could use CASE to accept
error numbers and write error messages.

* BINARY - Writes all data types in an
machine-specific binary format.

* BINBLOCK - Writes all HP VEE data types in
binary files with IEEE 488.2 definite length
block headers.

* CONTAINER - Writes all data types in a
machine-specific text format.

LOCATION
I/O ==> To ==> Printer

OPEN VIEW PARAMETERS
The open view shows the list of transactions
to be executed.

OBJECT MENU

* Config - Allows you to view and edit,
end-of-line sequences and array print
formatting.

* Add Trans - Adds a transaction to the end
of the list.

* Insert Trans - Inserts a transaction before
the currently highlighted transaction.

* Cut Trans - Cuts (deletes) the currently
highlighted transaction, but saves it in the
transaction "cut-and-paste" buffer.

* Copy Trans - Copies the currently
highlighted transaction to the transaction
"cut-and-paste" buffer.

* Paste Trans - Pastes a transaction,
previously "cut" or "copied" to the buffer,
in the position before the currently
highlighted transaction.

NOTES
The printer which receives To Printer data is
configured by way of File ==> Preferences ==>
Printer Config using the Text Printer portion
of the Printer Configuration dialog box.

When the first To Printer object in a
model operates, it starts a print job.  The
print job is shared by all To Printer objects
in the model, therefore their output appears
in sequence on the same printout.

The print job remains open until PostRun,
or until an EXECUTE CLOSE transaction is
executed or the End Job control input on any
To Printer is activated.  PostRun occurs when
all the threads in a model complete execution
or when you press Stop twice.  You access the
End Job control input pin by way of the Add
Control Input selection in the object menu.

SHORT CUTS
To quickly insert a transaction, place the
cursor on a transaction.  Press [CTRL-O] to
insert a transaction over the transaction
where you placed the cursor.

To quickly delete ("kill") a transaction,
place the cursor on that transaction and
press [CTRL-K].

To paste a transaction from the "kill"
buffer press [CTRL-Y].

To quickly move to the next or previous
transaction, press [CTRL-N] or [CTRL-P]
respectively.

SEE ALSO
Printer Config, To, To File, To/From Named
Pipe, and To StdOut.

"Using Transaction I/O" in Using HP VEE,
chapter 12.
