Printer setup -3 printer device/file -3, Printer setup, Printer device/file – Rockwell Automation 1747-PBASE BASIC Development Software Programming Manual User Manual

Page 91

Advertising
background image

Publication 1746-PM001A-US-P

Printing Your Program 7-3

Following is a description of the parameters that you can create or modify on the

PRINTER DRIVER SETUP

screen. Refer to the help screens for a more details.

printer Type

is entered if you are creating a new printer driver setup

Initialization string

is entered to initialize your printer (refer to the

documentation provided with the printer)

You can define up to 19 different printer codes for each printer. Each printer code
has the following definable fields:

Code name

is a string for the user’s benefit to identify the printer code. It

can be up to 17 characters. For example, you may want to use the names of the
fonts which correspond to each code. The string you enter here appears on the
printer setup screen.

Printer control code

is the actual string of characters you wish to send

to the printer. This would normally be an escape sequence to initiate a
particular action by the printer, such as changing font styles or line spacing;
but is not restricted to that.

Printer Setup

Path: Main Menu

Print

printer Setup

QuickStroke: none

When you select

printer Setup

, a menu of printer-specific control codes is

displayed. These codes originate in the PRINTER DRIVER SETUP screen
(described in the previous section).

Typically, these printer codes determine things like letter quality, font, and line
spacing. Printer codes differ depending on the printer. Move the cursor to highlight
the desired printer code, and press

[Enter]

or click the left mouse button.

Printer Device/File

Path: Main Menu

Print

printer Device/file

QuickStroke: none

When you select

printer Device/file

, you get a screen from which you can

select a printer device or file to direct your print output to. These device names can
be edited, or additional devices can be created as needed.

Typically, you select either a filename or a printer port here. If you select a filename,
print–data is sent to that file. If you select a port, print-data is sent directly to the
printer connected to that port.

Most printers communicate with a personal computer through its parallel
communications port (typically LPT1).

Advertising