Fax Software

Community Forums

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2630
    Anonymous
    Member

    I have an application that loops through customers, and for each customer sends a fax. I am printing to a Winfax server.

    The first send works fine, but the next send opens the message manager and the cover page is missing all of the information passed (the appropriate invoice pages due follow the corrupt cover page).

    FYI – I’ve already downloaded and installed the revised quick cover page.

    Here is the code I am working with:

    ret = sendObj.ResetGeneralSettings
    Do Until sendObj.IsReadyToPrint() <> 0
    DoEvents
    Loop

    ret = sendObj.LeaveRunning
    ‘ret = sendObj.RemoveAllRecipients
    ret = sendObj.SetResolution(1)
    ret = sendObj.SetPreviewFax(0)
    ret = sendObj.SetUseCover(1)
    ret = sendObj.SetQuickCover(1)
    ret = sendObj.SetCoverText(“Invoice Detail”)
    ret = sendObj.SetNumber(fax_number)
    ret = sendObj.SetTo(contact)
    ret = sendObj.SetSubject(“Invoices for Current Month”)
    ret = sendObj.AddRecipient
    ret = sendObj.SetDeleteAfterSend(1)
    ret = sendObj.ShowSendScreen(1)
    ret = sendObj.SetPrintFromApp(1)
    ret = sendObj.Send(0)
    DoEvents

    num = Printer.TextHeight(“V”)
    Printer.PaintPicture LoadPicture(“ahaa_logo.blk.bmp”), 500, 300

    ‘ PRINT INVOICES FOR THE CURRENT CUSTOMER

    #4441
    Anonymous
    Member

    do you create/destroy the sendobject each time?
    you will need to do this for every send

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.