Re: Feedback from report

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: SA (~fake.address_at_nspm.com)
Date: 03/04/04


Date: Thu, 4 Mar 2004 18:06:29 -0500

There's really no way to do this effectively other than to use api calls
into the print spooler using EnumJobs and monitor whether the job releases
from the spooler via a timer loop. To monitor the job you'd have to have
the report name as the print job name to look for in the spooler's jobs.
(Normally when calling EnumJobs you'd query on JobID which is created by the
spooler and sent back to the calling application, but since that isn't
available from Access in any way, you have to use the Job Name which is
normally the report name unless the report has a caption set, wherein the
job name would be the caption.)

HTH

-- 
Steve Arbaugh
ACG Soft
http://ourworld.compuserve.com/homepages/attac-cg
"nett123" <anonymous@discussions.microsoft.com> wrote in message
news:44ad01c4021b$a58c62b0$a601280a@phx.gbl...
> Hello.
> Can anybody help me to retrive information from printer if
> printing report from remote printer is successful or not?
> thank you


Relevant Pages

  • Re: Feedback from report
    ... >into the print spooler using EnumJobs and monitor whether ... >from the spooler via a timer loop. ... >the report name as the print job name to look for in the ... >(Normally when calling EnumJobs you'd query on JobID ...
    (microsoft.public.access.reports)
  • Re: Third Party print monitors and clustering - Microsoft/MVP
    ... I have a problem where the print spooler stops working, and the Cluster Admin ... BJ Language Monitor ... Local Port ...
    (microsoft.public.windows.server.clustering)
  • Re: My copy command is not working the way I think it should
    ... I had not spotted this report. ... the boot up of D3 and result in the spooler not starting. ... configured with absprotect off when running on these types of machines. ...
    (comp.databases.pick)
  • Re: spooler crashing
    ... Can you print as regular user with a different port monitor? ... I am not familiar with Deepfreeze. ... It might inject DLLs in the spooler ... > 1)On the same machine, if I logon as an administrator, there is no any ...
    (microsoft.public.win2000.printing)
  • Re: Writing a Port Monitor for 200/XP/2003
    ... You can narrow down whether you have an .inf file problem by installing the port monitor ... You might have to do a "net stop spooler" and "net start spooler" ... what functions you do or don't have defined in your monitor2 structure might affect ... > attaches to the monitor dll, InitializePrintMonitor2 is called, then the ...
    (microsoft.public.development.device.drivers)