IBM SC41-5210-04 manual Printer device in Query for iSeries reports, Form length, Form width

Models: SC41-5210-04

1 294
Download 294 pages 6.42 Kb
Page 161
Image 161

 

 

Define Printer Output

Type choices, press Enter.

 

 

Printer device

. . . .

*PRINT

*PRINT, name

Form size

 

 

 

Length . . .

. . . .

___

Blank, 1-255

Width . . .

. . . .

132

Blank, 1-378

Start line . .

. . . .

___

Blank, 1-255

End line . . .

. . . .

___

Blank, 1-255

Line spacing .

. . . .

1

1, 2, 3

Print definition . . .

N

Y=Yes, N=No

F3=Exit

F5=Report

 

F10=Process/previous

F12=Cancel

F13=Layout

 

F18=Files

You can also specify whether your query definition is to be printed when the report is printed. If it is, the values specified on this display apply to the printing of both the query report and the query definition.

These values do not apply if you print the definition using option 6 on the Work with Queries display (which prints only the definition) or if you specify both database output and print definition (which puts the report in the file and prints the definition).

Printer device in Query for iSeries reports

Specifies the printer device to be used to print your query report. If you type *PRINT in this prompt, the printer currently assigned to your job is used to print the report. If you want to print your report on a different printer, type the name of that printer device to be used.

Note: If a query is run in batch, output may be sent to a different printer than one you specify, depending on the default printer specifications for batch.

Form size in Query for iSeries reports

This set of prompts specifies the length and width of the printer forms that are to be used to print your query report. If you leave these prompts blank, the length and width values used are those specified in the printer device file named QPQUPRFIL, which is the only printer device file that Query uses. You cannot override this file with another device file.

Form length

Either type a number from 1 through 255 that indicates the number of lines per page that are available on the printer forms to be used, or leave this prompt blank. This length should be the length of the form itself.

Form width

Either type a number from 1 through 378 that indicates the number of print positions (characters) per line that are available on the printer forms to be used, or leave this prompt blank. If you specify a width greater than the width of the form, Query produces the report but truncates any fields on the right end of the report that exceed the width of the form. If the value specified is greater than 132, Query forces the characters per inch (CPI) value to 15 and the printer font value to *CPI in the spooled file that is created.

This does not affect the report width shown on the Display Report display.

Chapter 13. Selecting output type and output form in Query for iSeries reports 149

Page 161
Image 161
IBM SC41-5210-04 manual Printer device in Query for iSeries reports, Form size in Query for iSeries reports, Form length