home *** CD-ROM | disk | FTP | other *** search
- CONTROL
-
-
- Format: Control
-
- Template:
-
- Purpose: To intercept graphic prints to the printer.device.
-
- Specification:
- Control allows the user to intercept graphic print calls to
- the printer.device, and modify the actual variables sent to
- the printer.device. Control allows modification of all
- sizes and flags which control the details of the graphic print.
-
- Control may be used from either CLI or from Workbench. While in
- operation, Control waits for any call to do graphic printing;
- it then brings up a requester which allows the user to modify
- the parameters. Control executes until either it receives
- a control-C (either by the BREAK command or if not RUN
- by typing control-C in the CLI window) or by executing Control again.
-
- CMap, Mode, SrcX, SrcY, SrcW, SrcH, DCol and DRow are the parameters
- to the DumpRPort command of the printer device. The two digit codes
- in rectangular boxes are the flag bits for the io_Special parameter of
- the DumpRPort command. A brief description follows:
-
- Code Meaning
- ---- -------
- NP NOPRINT compute and return print size, don't print
- TM TRUSTME don't reset on gfx prints
- NF NOFORMFEED don't eject paper on gfx prints
- D4 DENSITY4 bit select density 4 bit (obsolete)
- D2 DENSITY2 bit select density 2 bit (obsolete)
- D1 DENSITY1 bit select density 1 bit (obsolete)
- AS ASPECT ensure correct aspect ratio
- CE CENTER center image on paper
- FR FRACROWS DestRows is fraction of FULLROWS
- FC FRACCOLS DestCols is fraction of FULLCOLS
- FR FULLROWS make DestRows maximum possible
- FC FULLCOLS make DestCols maximum possible
- MR MILROWS DestRows specified in 1/1000"
- MC MILCOLS DestCols specified in 1/1000"
-
- Examples:
-
- 1> run control
- [CLI 1]
- 1> graphicdump
- 1> break 2
-
- SEE ALSO:
- The Rom Kernal Manual for details of the printer.device, its use,
- parameters, and flags.
-