>i want my program to manage the printer on the network. so i would like to know the computer from which something is printed, the number of pages and the date if possible.
>how can i do it ?
Are you saying that after the report prints, you want to log it. If so, try this ...
REPORT FORM MyReport ...
INSERT INTO MyLog ;
( ;
CompName, ;
Printer, ;
Pages, ;
Date ;
) ;
VALUES ( ;
SYS(0), ;
SET('PRINTER', 3), ;
_PAGENO, ;
DATE() ;
)
Cathy