Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Mike Gagnon
  Where is Mike Gagnon?
 Pointe Claire
 Canada
 Mike Gagnon
 To: shiva kumar
  Where is shiva kumar?
 Hyderabad
 India
 shiva kumar
 Tags
Subject: RE: Creating Cover Page For FAX
Thread ID: 249134 Message ID: 249152 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: General VFP Topics
Date: Tuesday, December 29, 2009 2:34:24 PM         
   


> >
> > What Fax program are you using?
> >
> >
> > Mike Gagnon
> > Refox XI +(English version)
>
> Hi Mike Gagnon
> For Testing Purpose, i had installed a default Fax for windows xp2 (i got this from the net)
>
> Here i am alredy doing Fax, that is working fine
> recently i had been asking for notes(some text) in a form, i just want this to show as Cover page
> my code is
>
>
> SET OLEOBJECT ON
> loFaxServer = CREATEOBJECT("FaxServer.FaxServer")
> loFaxServer.CONNECT('.')      && It will use local Fax Server
> loFaxDoc = loFaxServer.CreateDocument(pc_ffile)
> loFaxDoc.FaxNumber = prefax+pc_fnum
> loFaxDoc.RecipientName = pc_rname
> loFaxDoc.DiscountSend = .t.				&& send at discount time
> if !empty(gcCoverPage) and !empty(gcCoverNote) then
> 	loFaxDoc.SendCoverpage=.t.
> 	loFaxDoc.ServerCoverpage=.f.
> 	loFaxDoc.CoverpageName=gcCoverPage
> 	loFaxDoc.CoverpageNote=gcCoverNote
> endif
> 

> here gcCoverPage='c:\cover.cov' , i want to add the notes to cover.cov
> suppose notes='TEST FAX', then i want to add that notes to cover.cov
>
> Shiva

You cannot directly. You would have to create your own cover sheet using either FCREATE() or STRTOFILE() and adding you text to it.

Mike Gagnon
Refox XI +(English version)

ENTIRE THREAD

Creating Cover Page For FAX Posted by shiva kumar @ 12/29/2009 9:16:04 AM
RE: Creating Cover Page For FAX Posted by Mike Gagnon @ 12/29/2009 1:33:41 PM
RE: Creating Cover Page For FAX Posted by shiva kumar @ 12/29/2009 1:42:49 PM
RE: Creating Cover Page For FAX Posted by Mike Gagnon @ 12/29/2009 2:34:24 PM
RE: Creating Cover Page For FAX Posted by shiva kumar @ 12/30/2009 5:20:01 AM
RE: Creating Cover Page For FAX Posted by Jijo Pappachan @ 12/30/2009 5:51:32 AM
RE: Creating Cover Page For FAX Posted by shiva kumar @ 12/30/2009 5:57:23 AM
RE: Creating Cover Page For FAX Posted by Mike Gagnon @ 12/30/2009 12:44:34 PM
RE: Creating Cover Page For FAX Posted by shiva kumar @ 12/30/2009 12:47:37 PM