forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Viewing and Printing SFF Files (Fax)

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
X-Tools
Valued Contributor
Valued Contributor


Joined: 20 Sep 2001
Posts: 296
Location: Germany

PostPosted: Mon Jun 14, 2004 8:29 am    Post subject: Viewing and Printing SFF Files (Fax) Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1564

PostPosted: Mon Jun 14, 2004 6:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
X-Tools
Valued Contributor
Valued Contributor


Joined: 20 Sep 2001
Posts: 296
Location: Germany

PostPosted: Thu Jun 17, 2004 3:51 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Sat Jun 26, 2004 3:28 am    Post subject: Reply with quote

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.

Embarassed 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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
X-Tools
Valued Contributor
Valued Contributor


Joined: 20 Sep 2001
Posts: 296
Location: Germany

PostPosted: Sat Jun 26, 2004 9:09 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Mon Jun 28, 2004 7:07 pm    Post subject: Reply with quote

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 Wink

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
X-Tools
Valued Contributor
Valued Contributor


Joined: 20 Sep 2001
Posts: 296
Location: Germany

PostPosted: Tue Jun 29, 2004 5:35 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group