Click here to Skip to main content
12,953,700 members (52,159 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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
OriginalGriff 6,429
CHill60 3,490
Maciej Los 3,103
ppolymorphe 2,020
Jochen Arndt 1,975

Advertise | Privacy | Mobile
Web01 | 2.8.170525.1 | Last Updated 2 Jan 2013
Copyright © CodeProject, 1999-2017
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