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_pgcount() VDIv_escape2000()
SyntaxVOID v_pgcount( handle, numcopies ) or
VOID v_escape2000( handle, numcopies )
WORD handle, numcopies;
Function v_pgcount() is used to cause the laser printer to output
multiple copies of the current page.
Opcode 5
Sub-Opcode 2000
Availability Supported only with some laser printer drivers (for instance
the Atari laser printer driver) under some form of GDOS.
Parameters handle specifies a valid workstation handle.
numcopies specifies the number of copies to print minus one.
A value of 0 means print one copy, a value of 1, two copies,
and so on.
Binding contrl[0] = 5;
contrl[1] = 0;
contrl[3] = 1;
contrl[5] = 2000;
contrl[6] = handle;
intin[0] = numcopies;
vdi();
Comments This call is preferred over repeatedly calling v_updwk() and
v_form_adv() as this method forces the printer data to be
resent for each page.
Group VDI Printer Escapes