Midrange News for the IBM i Community


Posted by: Bob Cozzi
Rogue Programmer
Cozzi Productions, Inc.
Chicagoland
How to Rotate a Printer File OVL (Overlay)
has no ratings.
Published: 24 May 2012
Revised: 23 Jan 2013 - 1979 days ago
Last viewed on: 25 Jun 2018 (4931 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

How to Rotate a Printer File OVL (Overlay) Published by: Bob Cozzi on 24 May 2012 view comments(4)

I have an old program that uses "REPORT" as its program-described print file.

In addition about 12 other programs in the same job stream use "REPORT" as their printer files. It is basically a clone of QPRINT from what I can see.

Anyway, apparently 1 of these 12 reports uses an OVERLAY (background print image) when the report is printed. Unfortunately when I do an OVRPRTF and include the overlay, it is 90 counter-clockwise from what it should be.

I can't see anything on OVRPRTF that allows me to rotate the OVL itself 90 clock-wise. So I created a new print file using DDS, and included in it the record-level keyword:

OVERLAY(MYOVL 0.0 0.0 (*ROTATION 90))

But I get some goofy runtime error "record format not specified on BOBSFILE".

Is there anyway to rotate an OVL after-the-fact rather than use a custom PRTF?

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS