Posted by Grant E Foraker on April 10, 2019 at 06:49:45:
Using PAPRSIZE.IBS as an test program, I added
SET DEFINE.PAPER.SIZES = 1
and
PRINT (1) (TR);(SELECTSYSFONT = 10) ! 10 cpi
PRINT (1) (TR);(SETORIENTATION = DMORIENT.LANDSCAPE)
PRINT (1) (TR);(SETPRINTERINFO = PI.DMPAPERSIZE, DMPAPER.LEGAL)
REM'd out the Length/Width code.
Runs fine to my PDF printer. The properties shows Legal length/width. COSP.LOG has a posting for Landscape but not for Legal.
If I REM the SET, I get a compile error.
=======================================================
Transferred the logic over to my WDL production program. The Legal selection doesn't happen. If I REM out the SET, I DON"T get a compile error.
=======================================================
Finally thought to look for a Mnemonic and found (SetPaperSize = 5) for Legal.
Works with PAPRSIZE but not with my WDL.
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.