4D Write v14WR PRINT |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Write v14
WR PRINT
|
WR PRINT ( area ; mode ; nbCopies ) | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
4D Write area | |||||
mode | Integer |
![]() |
0=Values 1=References | |||||
nbCopies | Integer |
![]() |
Number of copies to be printed | |||||
The WR PRINT command prints the document contained in area. This command is the procedural equivalent of choosing Print... from the File menu without the display of the printing dialog boxes.
WR PRINT prints area once. Use WR PRINT MERGE if you want to print area once for each record in a selection.
There are two choices for printing:
The nbCopies parameter controls the number of copies to be printed.
The following example is the method for a button used on the form that contains area. If you click on this button, area will be printed. The document contains references that have to be updated before printing:
WR EXECUTE COMMAND(area;wr cmd compute references)
WR PRINT(area;wr print values;1)
Product: 4D Write
Theme: WR Printing
Number:
89213
Created: 4D Write 6
4D Write Language ( 4D Write v11.6)
4D Write Language ( 4D Write v12)
4D Write Language ( 4D Write v14)
4D Write Language ( 4D v13)
4D Write Language ( 4D Write v14 R2)
4D Write Language ( 4D Write v14 R3)
4D Write Language ( 4D Write v14 R4)