Solved

printers log data

Posted on 2013-01-12
3
357 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
3 Comments
 
LVL 26

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
bunnyEars2 challenge 6 106
array6 challenfge 6 81
Need To Find FireFox Binary Path For Python Selenium On Windows 7 15 434
PHP preg_replace code convert to Delphi 14 32
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The viewer will learn how to implement Singleton Design Pattern in Java.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

911 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now