Click here to Skip to main content
12,403,811 members (70,010 online)
Rate this:
Please Sign up or sign in to vote.
See more: C++ C#
I want to read data from usb printer using pjl commands, some one said, we can read and write is using winspool.drv file.

So whenever i write the commands on winspool api, and then after read a data from printer then it will gives the null value,

so any one can help me, how i can read data directly after writing commands on printer.

Thanks in advance.
Posted 18-Oct-12 8:22am
Sergey Alexandrovich Kryukov 18-Oct-12 15:28pm
First of all, why reading anything from a printer? Anything very special?
sanjay.delvadiya1305 19-Oct-12 1:35am
I want to read the data from printer usign pjl commands like countpage, toner information, scanned pages etc...

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 2 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100