Re: Monitor print command

Tech-Archive recommends: Fix windows errors by optimizing your registry



{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Thanks Duncan!
\par
\par Thanks & Regards,
\par
\par Ken Zhao
\par
\par Microsoft Online Partner Support
\par Get Secure! - www.microsoft.com/security
\par
\par =====================================================
\par When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue.
\par =====================================================
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par Newsgroup Web Interface Upgrade
\par Please complete a one-time registration process on your first visit to the Partner Portal beginning July 11, 2005 at 9 A.M. PST by entering the secure code mspp2005 when prompted. This secure code will be valid for 6 months after which you will need to update your registration by entering the new secure code. We will post announcements in the newsgroups prior to expiration. Once you have entered the secure code mspp2005 , you will be able to update your profile and access the the partner newsgroups. Please update your Favorites link to the newsgroups web page, your current link will redirect until November 1, 2005.
\par Please post any comment, questions or concerns to the microsoft.private.directaccess.partnerfeedback newsgroup. For more information, please go to: https://partner.microsoft.com/global/technicalsupport/registeredsupport/40014662
\par
\par
\par \pard\li720 --------------------
\par From: Duncan.Jones@xxxxxxxxxxx
\par Newsgroups: microsoft.public.win2000.printing
\par Subject: Re: Monitor print command
\par Date: 2 Sep 2005 01:37:00 -0700
\par Organization: http://groups.google.com
\par Lines: 10
\par Message-ID: <1125650220.962207.168120@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
\par References: <#MvjdAXrFHA.3640@xxxxxxxxxxxxxxxxxxxx>
\par <g$hNHafrFHA.3932@xxxxxxxxxxxxxxxxxxxxx>
\par <O112gdkrFHA.2624@xxxxxxxxxxxxxxxxxxxx>
\par <GEOrP8srFHA.1204@xxxxxxxxxxxxxxxxxxxxx>
\par NNTP-Posting-Host: 83.71.70.119
\par Mime-Version: 1.0
\par Content-Type: text/plain; charset="iso-8859-1"
\par X-Trace: posting.google.com 1125650226 6338 127.0.0.1 (2 Sep 2005 08:37:06 GMT)
\par X-Complaints-To: groups-abuse@xxxxxxxxxx
\par NNTP-Posting-Date: Fri, 2 Sep 2005 08:37:06 +0000 (UTC)
\par In-Reply-To: <GEOrP8srFHA.1204@xxxxxxxxxxxxxxxxxxxxx>
\par User-Agent: G2/0.2
\par X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR 1.0.3705),gzip(gfe),gzip(gfe)
\par Complaints-To: groups-abuse@xxxxxxxxxx
\par Injection-Info: g44g2000cwa.googlegroups.com; posting-host=83.71.70.119;
\par posting-account=MV0a-QwAAAAc4J14YDRy6daZaAv85JFB
\par Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fastwebnet.it!tiscali!newsfeed1.ip.tiscali.net!news.glorb.com!postnews.google.com!g44g2000cwa.googlegroups.com!not-for-mail
\par Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.win2000.printing:5138
\par X-Tomcat-NG: microsoft.public.win2000.printing
\par
\par You can do this but it will require some programming on your part. I
\par have examples in VB.Net and Vb6 at
\par http://www.merrioncomputing.com/Programming/index.htm
\par
\par What you would need to do is monitor the printer (using
\par FindFirstPrinterChangeNotification) and when a job is added pause it
\par (using SetJob) and find out which machine it came from (using GetJob)
\par then send the message to that machine and if OK to continue then
\par unpause it otherwise delete it.
\par
\par \pard
\par
\par }