•  Back 
  •  VDI Printer Escapes 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-Filevq_scan()                                                               VDI

Syntax

VOID vq_scan( handle, grh, passes, alh, apage, div )
WORD handle;
WORD *grh, *passes, *alh, *apage, *div;

Function      vq_scan() returns information regarding printer banding.

Opcode        5

Sub-Opcode    24

Availability  Supported by all printer drivers.

Parameters    handle specifies a valid workstation handle.
              passes specifies the number of graphic passes per printer
              page. The value obtained through the formula grh/div
              specifies the number of graphics scan lines per pass.
              The value obtained by the formula alh/div specifies the
              number of graphic scan lines per alpha text line.
              apage specifies the number of alpha lines per page.

Binding       contrl[0] = 5;
              contrl[1] = contrl[3] = 0;
              contrl[5] = 24;
              contrl[6] = handle;

              vdi();

              *grh = intout[0];
              *passes = intout[1];
              *alh = intout[2];
              *apage = intout[3];
              *div = intout[4];

Comments      This call has been previously mis-documented.

Group         VDI Printer Escapes