Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know the number of pages printed on a printer ?
Message
 
To
24/09/2002 07:04:29
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00703688
Message ID:
00703733
Views:
15
>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
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Reply
Map
View

Click here to load this message in the networking platform