•  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-Filev_updwk()
v_output_window()                                                       VDI

Syntax

VOID v_output_window( handle, pxy )
WORD handle;
WORD *pxy;

Function      v_output_window() outputs a specified portion of the current
              page.

Opcode        5

Sub-Opcode    21

Availability  Supported by all printer and metafile drivers under any type
              of GDOS.

Parameters    handle specifies a valid workstation handle. pxy is
              a pointer to an array of four WORDs in VDI rectangle format
              which specifies the bounding extents of the current page to
              output.

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

              ptsin[0] = pxy[0];
              ptsin[1] = pxy[1];
              ptsin[2] = pxy[2];
              ptsin[3] = pxy[3];

              vdi();

Caveats       Some printer drivers ignore the sides of the bounding box
              specified and print the entire width of the page.

Comments      This call is similar to v_updwk() except that only a portion
              of the page is output.

See Also      v_updwk()

Group         VDI Printer Escapes