Solved

printers log data

Posted on 2013-01-12
3
371 Views
Last Modified: 2013-09-03
Hello

Please, Can some help me with an example for delphi 2007, showing the default printer's log information. I need information about how many copies have been printed.

Sincerely,
0
Comment
Question by:dk_dirtyl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 27

Accepted Solution

by:
Sinisa Vuk earned 200 total points
ID: 38771511
Do you need this for current print job or to get global printer counter?

For current print job follow this links and look for PagesPrinted in  JOB_INFOx structure:

http://www.delphigroups.info/2/80/156805.html
http://msdn.microsoft.com/en-us/library/windows/desktop/dd145022%28v=vs.85%29.aspx
http://www.delphimaster.net/view/7-98895
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_20145937.html
http://tech.groups.yahoo.com/group/Delphindo/message/18763
http://www.experts-exchange.com/Programming/Languages/Q_21006619.html

To access printers internal counter you need to use esc/pcl commands. Some printer manufacturer bring sdk which can helps but solution does not cover all printers.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question