By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,201 Members | 922 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,201 IT Pros & Developers. It's quick & easy.

Print Queue API Calls

P: n/a
Hello Everyone,

I have an almost well working Print Queue Monitoring software written. The
software works quite well with typical Windows printing situations.
However, there's a problem when a job is submitted to a print queue via LPD

I have a couple of server with Print Services for Unix installed (Windows
2000 SP4+). These servers are able to receive print jobs as Unix-type LPD
print queue. Whenever a job is submitted in this fasion, I understand that
the LPDSVC receives the job on a specific port (I think 732). Then the
LPDSVC resubmits the job to the Windows Spooler service under the local
system account. My problem is that somewhere in this process the Total
Number of Pages becomes 0. Even the Windows Print Queue Monitoring utility
reports the number of pages as "N/A" or 0.

I searched the msdn site and various other sites but I could not find any VB
API calls to the Print Services for Unix. I have also looked for ActiveX
controls that would work with the LPDSVC service, but could find none that
had a TotalPages property.

Does anyone know whether this is simply a limitation of Microsoft's
implementation of LPD printing, or is there something that gets lost in the
transfer from LPDSVC to Spooler? Does anyone know of a way to be able to
get the Total Number of Pages?

Thanx in advance,


Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.