hr_line.jpg (759 bytes)

Selecting Forms Through Software…

The FormsPro 4503ä printer allows you to keep three forms loaded at all times. You can select which form to print either from the front panel or through software control. Selecting forms through software control is easy, as we explain here.

 The first thing to note is that you are selecting the form you wish to print. This form selection may cause a change in tractors, which the printer will perform automatically when necessary. As you use the setup mode to set the parameters (i.e. cpi, lpi, forms length, etc.) for your different forms, you are also able to specify which tractor (front, center, rear) the forms will be loaded into. Once a form has been selected, all of the parameters, including tractors, will be implemented.

 In order to select forms through software, a few simple commands must be sent to the printer. These commands must always be inserted at the beginning of a program to ensure that the correct form is loaded when running a particular program.

 Once these commands have been sent, the current form will unload, if necessary the tractors will change, the selected form will be loaded, and printing will begin. However, if the previous form printed has not been torn off, or automatically cut off using Printek’s optional forms cutter, the printer will display "Tear Off Paper" on the LCD and the printer will go off line. The operator must then tear off the printed form(s) and press the online button. The printer will then acknowledge the commands that were sent, change the form and begin the printing process.

hr_line.jpg (759 bytes)

 For SERIAL and PARALLEL Interfaces

 Form select commands are located in the Printek emulation. If you are presently in another emulation, Epson for instance, you must send the escape sequence to enter the "Printek Mode." The next command will select the desired form. After the form select sequence is complete, return to the original emulation.

 Following are the actual steps and commands to select forms.

Escape sequence arguments can be either ASCII characters or Binary values. Both will work

Esc Esc7 enter into Printek Mode
(Hex 1B, 1B, 07) or (Hex 1B, 1B, 37)
 
Esc L n

where n = form 0-9, whichever is required
 
Esc Esc n

where n = software interface, whichever is needed to return to the original emulation
n = 0 Test (reserved for factory use)
1 Ansi X3.64 emulation
2 Epson FX emulation
3 Bar Code Mode
4 IBM Proprinter emulation
5 DEC LA 120 emulation
6 TTY emulation
7 Printek Mode

hr_line.jpg (759 bytes)

For TWINAXIAL and COAXIAL Interfaces 

In order to select different forms through software on the FormsPro 4503 CX/TX, please refer to the section in the Programmer’s Manual explaining the "Command Interpreter." Once activated, the Command Interpreter allows the system to bypass the internal protocol converts and talk directly to the printer. The Command Interpreter section describes how this is done, but does not give the actual commands needed to perform this function.

NOTE: The following commands use the logical not (Ø ) sign or a caret (^). Real IBM terminals generally have the logical not sign. PC’s running a terminal emulation program have a caret. In either case, both signs are a shift 6 on the keyboard.

When you are ready to select a different form, send down the following commands:

Ø ONN
Ø HEX 1B 4C nn@    Where nn = 00 -09, whichever form is required
Ø OFF

Or, if you prefer, the following short cut method (either one will work):

^ONN^HEX1B@Ln^OFF Where n = 0 - 9, whichever form is required

 Drawer Select Commands

Selection of forms can also be accomplished through drawer selection on IBM systems that support this feature.

For all IBM Twinax environments, the printer definition on the host must be an IBM 4214 Model 2 for the OCL or CL to control the tractor movement. All other print definitions will be controlled from the host, such as cpi, lpi, draft, etc.

hr_line.jpg (759 bytes)

For IBM system 36 or AS/400 (running in 36 mode)

The OCL to make drawer changes is as follows and should be placed before the //_LOAD statement:

//_FORMS_DEVOCE-xx,LPI-y,LINES-zz,DRAWER-n

where _= space
where xx = the printer name
where y = 6 or 8 lpi
where zz = 1 -112 lines
where n = drawer 1, 2 or 3

NOTE: The combination of LPI and LINES must equal forms length in the printer or unpredictable results may occur. Refer to your S/36 System Reference Manual for more information on FORMS and PRINT statements.

If the OCL is using //_PRINT statement, then the following should be implemented:

//_PRINT_xx,zz,y,,,,n

NOTE: The drawer (n) to be selected must be located at the seventh parameter position.

For AS/400 (Native Mode) and System 38

The following commands are necessary for users of AS/400 (Native Mode) and System 38:

OVRPRTF_FILE (xxxxxx)_DRAWER (n)

where _ = space
where xxxxxx = the output (F and O specs) in an RPG program
where n = drawer 1, 2 or 3

NOTE: When configuring the device name (4214-2) you need to change the form feed or form type parameter from *CONT to *AUTOCUT. This will allow the use of bin of drawer select.

 

Ptklogo1.gif (1235 bytes)

Peripheral Services, Inc. is an Authorized Distributor.
Please contact us at 1-800-754-0430

Back to

blankbtn.bmp (13554 bytes)

Click Button

Toll Free: 800 754-0430, Fax: 813 855-8095, E-mail: salesdept@periph.net

hr_line.jpg (759 bytes)