Cover pages

P

Pavan Kumar

HI All,

Please let me know .Whether we can cover page and document at a time through
code.

the same code is here.



strFaxnumber= "3242342";

FaxDoc objDoc = (FaxDoc)objFsc.CreateDocument("c:\fax.txt");

objDoc.CoverpageName= "generic.cov";

objDoc.CoverpageNote ="asdfSADF";

objDoc.CoverpageSubject="Fax From pavan";

objDoc.ServerCoverpage=2;

objDoc.FaxNumber ="034324234234";

objDoc.FileName="C:\fax.txt";

objDoc.SenderName=FaxSenderName;


objDoc.ConnectionObject=objFsc;

objDoc.Send();



Regards

Pavan
 
A

Ananda Sarkar [MSFT]

Make the following changes:

objDoc.CoverpageName="generic" (instead of generic.cov)

Replace C:\fax.txt by C:\\fax.txt

And ensure that you have proper permissions to use Server Side Coverpages.

Thanks,
Anand
--
Ananda Sarkar
Microsoft Printing, Imaging and Fax Team

This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
 
T

Tony

Hi Ananda,

Sorry to jump in but is there any way to fax just a cover page? The
FaxServer.send fails if you do not specify a filename with the
createdocument method. The best I could get is to attach a on byte
file but that sends a blank second page.

Alternatively are there any command line parameters to run the "send a
fax" option automatically (ie the file FxsSend.exe)

Thanks
Tony
 
T

Tony

Hello everyone

I sorted this out by using the extended com interface for the fax
service (only works with XP or SBS2003 but that is fine)

Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top