Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 16th, 2005, 9:52 AM   #1
jtrit
Newbie
 
Join Date: Mar 2005
Posts: 2
Rep Power: 0 jtrit is on a distinguished road
Print Accounting Prog

Hello, all. This is my first post to this forum as I just discovered this site, so please forgive any bad form on my part. Anyway, here's my question...what would be the best way to capture print requests sent to a particular print server, regardless of app sending the job, and write data out to a database for accounting purposes? I'm envisioning a printing a doc from an app, getting a dialog requesting a billing number, then releasing the print job to the device. I'm posting this in the VB forum because that's the lang I use the most, so I apologize if this is misplaced. Any input is much appreciated.
jtrit is offline   Reply With Quote
Old Mar 17th, 2005, 2:51 PM   #2
Rory
Expert Programmer
 
Rory's Avatar
 
Join Date: Jan 2005
Location: London
Posts: 542
Rep Power: 4 Rory is on a distinguished road
Send a message via MSN to Rory
You could write a dummy client program that periodically checked the print queue and wrote the results that way, but would involve complex API and probably some Active Directory calls, unless someone else knows of an ActiveX wrapper that'd do the job. Have a look on MSDN for ways of checking the print queue, but you'd be best to do it in C frankly!
Rory is offline   Reply With Quote
Old Mar 29th, 2005, 9:12 AM   #3
jtrit
Newbie
 
Join Date: Mar 2005
Posts: 2
Rep Power: 0 jtrit is on a distinguished road
Thanks very much, Rory. I'll check into it further as you've suggested.
jtrit is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:53 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC