| View previous topic :: View next topic |
| Author |
Message |
X-Tools Valued Contributor

Joined: 20 Sep 2001 Posts: 296 Location: Germany
|
Posted: Mon Jun 14, 2004 8:29 am Post subject: Viewing and Printing SFF Files (Fax) |
|
|
Hi,
has somebody experience of viewing and printing sff Fax-Files ?
I made an application for receiving faxes over network for our customers. This app scans an network drive for new files.
Now our customer wants control over who has viewed and who has printed the faxes. To know who viewed a fax is no problem as I can write it to my database ini when I start the viewer, but printing is a problem.
I tested several sff viewers for commandline paramters (IrfanView for example) - I need a way to determine if the fax was viewed only or printed too.
At the moment I remove all menu elements from the viewer when the user double-clicks on a fax. If he wants to print he has to choose a print menu from my app. But also if he cancels the printer dialog the fax is saved as printed.
Does somebody know a better way for me ? Best would be a dll for vds or something similar.
Bye, Fabian |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1564
|
Posted: Mon Jun 14, 2004 6:16 pm Post subject: |
|
|
| I think you would need to be able to query the printer spooler and grab the status of print jobs. Print jobs should let you grab the file name (and extension) as well as it's print status. I'm sure there must be API's for this however I'm not very familiar with printing api's - sorry can't help beyond giving a general suggestion. |
|
| Back to top |
|
 |
X-Tools Valued Contributor

Joined: 20 Sep 2001 Posts: 296 Location: Germany
|
Posted: Thu Jun 17, 2004 3:51 pm Post subject: |
|
|
Hi Prakash,
thanks for your answer.
Does somebody have some experience on querying the printer spooler ? Is detecting the window (the taskicon) and reading from it a good solution ?
Bye, Fabian |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Sat Jun 26, 2004 3:28 am Post subject: |
|
|
| X-Tools wrote: | Hi Prakash,
thanks for your answer.
Does somebody have some experience on querying the printer spooler ? Is detecting the window (the taskicon) and reading from it a good solution ?
Bye, Fabian |
Fabian,
I just finished adding a couple of printing commands/functions to my Gadget DLL. If I can get more information about what a sff file is made of I am pretty sure I could print that too.
Your wanting to find out if someone has printed the document... Hmmm you would have to monitor the print spooler all the time. Also are you aware that a user can usually disable print spooling. Anyway I still think that I can help you with the print spooling monitor... I will add that to Gadget as well..
BTW it is strange that they would want to know if someone has printed a document? _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
X-Tools Valued Contributor

Joined: 20 Sep 2001 Posts: 296 Location: Germany
|
Posted: Sat Jun 26, 2004 9:09 am Post subject: |
|
|
Hi,
thanks for your answer.
SFF is standard Fax Format.
If have the solution now, that my programm asks the user after opening the fax file with an external viewer if the users has printed the fax.
Easier would be to query the print spooler or to view and print the fax through my application.
Bye, Fabian |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Mon Jun 28, 2004 7:07 pm Post subject: |
|
|
Fabian,
How are you sending and recieving faxes? Are you using VDS? If so are you using a DLL? If so what DLL are you using to send and recieve faxes? Anyway know how to get a list of print jobs on any printer on the PC but there may be a better way to do this. I just need a little bit of information  _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
X-Tools Valued Contributor

Joined: 20 Sep 2001 Posts: 296 Location: Germany
|
Posted: Tue Jun 29, 2004 5:35 am Post subject: |
|
|
Hi,
the faxes are received by a programm from the isdn card company (AVM in Germany, the programm is called Fritz!).
This programm saves the received faxes into a folder. My app is running on every computer in the network an scans this shared folder for new faxes.
Bye, Fabian |
|
| Back to top |
|
 |
|