🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #4305

Printer hook

#4305
From: Bogdan
Date: Wed, 08 Feb 2006 22:26
8 lines
1238 bytes
Is there a way a printer hook can be installed in windows.I need to monitor
the job queue of a specified printer for jobs that match a description,
and log if they printed or not.I can enumerate current jobs, but I think
using a timer or a thread to periodically check the job queue is not very
efficient, because most of the time the queue will be empty.
Thank you.

Bogdan 
Technical Details
Message-ID: <43ea6f46@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8297d2fbab980836,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Bogdan" <boprea@xnet.ro>
From: "Bogdan" <boprea@xnet.ro>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Printer hook
Date: Thu, 9 Feb 2006 00:26:42 +0200
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 85.186.237.190
Message-ID: <43ea6f46@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1139437382 85.186.237.190 (8 Feb 2006 14:23:02 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail