• No se han encontrado resultados

1. INTRODUCCIÓN GENERAL

1.3. Fenómenos de transporte en membranas

1.4.2. Membranas reactoras

The IBM 3800 family of printers produces output with 240 dots (pels) per inch resolution. The following conversion aids should be used when working with IBM printers:

Width (Pels) Pitch (Chars per inch/CPI)

48 5 40 6 32 7.5 24 10 20 12 16 15 1 pel = 1/240 inch

Formula for converting PELS to Pitch: 240/pels = pitch

Formula for converting Pitch to PELS: 240/pitch = pels

Height (Pels) LPI (Lines per inch)

40 6

30 8

24 10

20 12

Formula for converting PELS to LPI: 240/pels = lpi

Formula for converting LPI to PELS: 240/lpi = pels

CA-Easytrieve/Plus actually addresses the printer in mixed mode processing. The first command sent to the printer is an actual ANSI page eject (START-PAGE). This enables all default initialization information (such as form name, form type) to be taken from the JCL instead of being hard-coded in the CA-Easytrieve/Plus printer definition. All subsequent printer information is then given using APA commands.

Page Mode

Page mode printers can be addressed by CA-Easytrieve/Plus as either absolute (IBM3800C and IBM3800E) coordinates, or relative (IBM3800D and IBM3800F) coordinates. Either coordinate scheme produces the same output on the printed page. Functionally, the IBM3800C and IBM3800D definitions are interchangeable. IBM3800E and IBM3800F are also interchangeable.

The record and block sizes on the CA-Easytrieve/Plus file statement should be as large as possible to get the most advantage of a page mode printer (3800-3 or 3820). Coding a value of U(32760) would be a good value.

To make a USER3801 printer definition, using the definition IBM3800C as a printer model, usable for a single 10-pitch font with 6 LPI, code the printer definition as:

PRINTER NAME (USER3801) MODEL (IBM3800C) DEFAULT-SIZE (1 1) -

DEFAULT-FONT (1) * FONT NUMBER (001) - WIDTH (24) - HEIGHT (40) - DATA-TYPE (EBCDIC) - FUNCTION-HEADER (2BD303F000) With the JCL: //filename DD SYSOUT=*,CHARS=GS10 FILE filename EXTENDED USER3801 ASA JOB INPUT NULL DISPLAY filename #1 'GS10' STOP To make a USER3802 printer definition, using the definition IBM3800D as a printer model, usable for a 12-pitch font with 8 LPI, code the printer definition as: PRINTER NAME (USER3802) MODEL (IBM3800D) DEFAULT-SIZE (1 1) -

DEFAULT-FONT (1) * FONT NUMBER (001) - WIDTH (20) - HEIGHT (30) - DATA-TYPE (EBCDIC) - FUNCTION-HEADER (2BD303F000) With the JCL: //filename DD SYSOUT=*,CHARS=GS12 FILE filename EXTENDED USER3802 ASA JOB INPUT NULL DISPLAY filename #1 'GS12' STOP To make a USER3804 printer definition using the definition IBM3800D as a printer model usable for a 15-pitch font with 8 LPI, code the printer definition as: PRINTER NAME (USER3804) MODEL (IBM3800D) DEFAULT-SIZE (1 1) -

DEFAULT-FONT (1) * FONT NUMBER (001) - WIDTH (16) - HEIGHT (30) - DATA-TYPE (EBCDIC) - FUNCTION-HEADER (2BD303F000) With the JCL: //filename DD SYSOUT=*,CHARS=GS15 FILE filename EXTENDED USER3804 ASA

To make a USER3805 printer definition, using the definition IBM3800D as a printer model, usable for a 15-pitch font with 10 LPI, code the printer definition as:

PRINTER NAME (USER3805) MODEL (IBM3800D) DEFAULT-SIZE (1 1) -

DEFAULT-FONT (1) * FONT NUMBER (001) - WIDTH (16) - HEIGHT (24) - DATA-TYPE (EBCDIC) - FUNCTION-HEADER (2BD303F000) With the JCL: //filename DD SYSOUT=*,CHARS=GS15 FILE filename EXTENDED USER3805 ASA JOB INPUT NULL DISPLAY filename #1 'GS15' STOP To make a USER3806 printer definition, using the definition IBM3800D as a printer model, usable for a set of 10-, 12-, 15- and 10-bold pitch fonts with 8 LPI, code the printer definition as follows. The default font is 10 pitch. PRINTER NAME (USER3806) MODEL (IBM3800D) DEFAULT-SIZE (1 1) -

DEFAULT-FONT (1) * For 3820 and 3835 printers use codes relative to 1 not 0 * FONT NUMBER (001) - WIDTH (24) - HEIGHT (30) - DATA-TYPE (EBCDIC) - FUNCTION-HEADER (2BD303F000) * For 3820 and 3835 use: * FUNCTION-HEADER ( 2BD303F001 ) * * FONT NUMBER (002) - WIDTH (20) - HEIGHT (30) - DATA-TYPE (EBCDIC) - FUNCTION-HEADER (2BD303F001) * For 3820 and 3835 use: * FUNCTION-HEADER ( 2BD303F002 ) * * FONT NUMBER (003) - WIDTH (16) - HEIGHT (30) - DATA-TYPE (EBCDIC) - FUNCTION-HEADER (2BD303F002)

* For 3820 and 3835 use:

* FUNCTION-HEADER ( 2BD303F003 ) *

* FONT NUMBER (004) - WIDTH (24) - HEIGHT (30) - DATA-TYPE (EBCDIC) - FUNCTION-HEADER (2BD303F003) * For 3820 and 3835 use: * FUNCTION-HEADER ( 2BD303F004 ) * With the JCL: //filename DD SYSOUT=*,CHARS=(GS10,GS12,GS15,GB10) In the CA-Easytrieve/Plus program, #1 (the default, if not specified) refers to font 1 (GS10), #2 refers to font 2 (GS12), #3 refers to font 3 (GS15), and #4 refers to font 4 (GB10). FILE filename EXTENDED USER3806 ASA JOB INPUT NULL DISPLAY filename #1 'GS10' #2 'GS12' #3 'GS15' #4 'GB10' STOP To make an IBM3820 printer definition, using the definition IBM3800E as a printer model, usable for a 15-pitch EBCDIC font and a 7.5-pitch DBCS font with 8 LPI, code the printer definition as follows. The default font is 15-pitch EBCDIC and 7.5-pitch DBCS. PRINTER NAME (IBM3820) MODEL (IBM3800E) -

DEFAULT-FONT (3 103 203) * * Define EBCDIC fonts * FONT NUMBER (003) -

WIDTH (16) -

HEIGHT (30) -

DATA-TYPE (EBCDIC) -

NAME ('EBCDIC/15 CPI/8 LPI/TRC VALUE 0') -

FUNCTION-HEADER (2BD303F001) * * Define DBCS fonts * FONT NUMBER (103) - WIDTH (32) - HEIGHT (30) - DATA-TYPE (DBCS) -

NAME ('DBCS/7.5 CPI/8 LPI/TRC VALUE 1') -

FUNCTION-HEADER (2BD303F002) * * Define MIXED fonts * FONT NUMBER (203) -

DATA-TYPE (3 103) - NAME ('MIXED FONTS')

With the JCL:

In the CA-Easytrieve/Plus program, #3 (the default, if not specified) refers to EBCDIC font 3 (GS15), #2 refers to DBCS font 103 (M32F). Font 203 is used for mixed EBCDIC and DBCS characters.

FILE filename EXTENDED IBM3820 ASA JOB INPUT NULL

DISPLAY filename #3 'GS15' #103 D'42F142F242F3' + #203 X'F1F20E42F342F40FF5F6'

STOP

CA-Easytrieve/Plus drives printers using standard IBM procedures.

OS/390 printer information can be given, using the CHARS parameter on the DD statement as described in the above examples, or the information can be specified by using the OUTPUT JCL statement.

For example, you could code the following definition to CA-Easytrieve/Plus: //SYSPRINT DD SYSOUT=A,CHARS=(GS10,GB10)

or if you have a FORMDEF that has CHARS (and any other pertinent information) you could code:

//OUT1 OUTPUT CLASS=A,FORMDEF=formdef //SYSPRINT DD OUTPUT=OUT1

VSE printer information can be given using the CHARS and TRC parameters on the SETPRT statement, or the information can be specified in a Printer-Parameter Member.

For example, you could code the following definition to CA-Easytrieve/Plus: // ASSGN SYSxxx,cuu

* cuu is the address of the 3800 printer as defined to VSE // SETPRT SYSxxx,CHARS=(GS10,GS12,GS15),TRC=Y

or if you have a Printer-Parameter Member that contains a PAGEDEF,CHARS (and any other pertinent information) you could code:

$$ LST CLASS=x,FNO=fnoname,LST=cuu ...

Documento similar