SQR – PRINT-IMAGE & IMAGE-SIZE

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes)
 

After searching the Web, I have found that there is not enough documentation about IMAGE-SIZE of the PRINT-IMAGE command, or I have not done the search right ;-). Either way here it goes in plain English:
Excerpt from the Book:

   1: PRINT-IMAGE

   2: Syntax

   3: PRINT-IMAGE[image_name]position

   4: [TYPE={image_type_lit|_var|_col}]

   5: [IMAGE-SIZE=(width_num_lit|_var|_col,height_num_lit

   6: [SOURCE={file_name_txt_lit|_var|_col}]

IMAGE-SIZE – Specifies the width and height of the image. The width (width_num_lit) is specified in the font point-size that you have specified in the print command or ALTER-PRINTER. So putting:

alter-printer point-size=14 font=4

would affect your image size. Height (height_num_lit) – is specified in the line height. So changing

   1: DECLARE-LAYOUT

   2: [CHAR-WIDTH=char_width_num_lit[uom]]

   3: [LINE-HEIGHT=line_height_num_lit[uom]]

   4: END-DECLARE

   5: Would have an effect on the image width and height.

Enjoy!

Tags:

I really want to know what you think