Fax Software

Community Forums

This topic contains 1 reply, has 0 voices, and was last updated by  Anonymous 15 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2636

    Anonymous
    Member

    Ofax = CREATEOBJECT(“WinFax.SDKSend”)

    SET PRINTER TO NAME Winfax

    WITH Ofax
    .ResetGeneralSettings()
    .SetType(0)
    .SetTo(“any name”)
    .SetCompany(“any comp”)
    .SetCountryCode(“”)
    .SetAreaCode(“”)
    .SetNumber(“1234567”)
    .SetSubject(“any subject”)
    .SetDeleteAfterSend(0)
    .SetResolution(1) && 1=fine resolution
    .SetPrintFromApp(1)
    .SetUseCover(1)
    .SetCoverFile(“C:FAXCOVER1.CVP”) && Any fillable coverpage
    .SetCoverText(“This is coverpage text…”)

    .AddRecipient

    .SetPreviewFax(0)
    .SEND(0)

    ** temp1 is any foxpro report
    REPORT FORM c:temp1 TO PRINTER

    .Done()
    ACTIV SCREEN
    CLEAR
    IF .IsError == 1
    ? “By the way: There was an error.. ” ENDIF
    ? “Last error: “
    ?? .GetLastError()
    FOR i = 1 TO 400

    ENDFOR

    .LeaveRunning()
    ENDWITH
    RELEASE Ofax

    #4447

    Anonymous
    Member

    Thanks for posting some code samples!
    😀

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.