?
Solved

printers log data

Posted on 2013-01-12
3
Medium Priority
?
380 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 800 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
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 viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Suggested Courses

765 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