OpenText RightFax 10.6 FP2 COM API Reference Guide
OpenText RightFax 10.6 FP2 COM API Reference Guide
OpenText RightFax 10.6 FP2 COM API Reference Guide
6 Feature Pack 2
COM API
Reference Guide
Edition
OpenText RightFax 10.6 Feature Pack 2 COM API
Wednesday, July 22, 2015
Trademarks
OpenText is a registered trademark of Open Text Corporation Corporation. All other company names, brand names, and product
names are the property and/or trademarks of their respective companies.
Copyright Notice
©2015 Open Text Corporation All rights reserved.
Open Text Corporation
275 Frank Tompa Drive
Waterloo, Ontario, Canada
N2L 0A1
(519) 888-7111
http://www.opentext.com
Copyright Statement
Portions of this product Copyright © 2002-2006 Glyph & Cog, LLC. Portions Copyright © 2001 artofcode LLC.
This software is based in part on the work of the Independent JPEG Group. This software is based in part on the work of the
Freetype Team.
Portions Copyright © 1998 Soft Horizons. Portions Copyright ©2001 URW++. All Rights Reserved. Includes Adobe® PDF Library
technology. Adobe, Acrobat and the Acrobat logo are trademarks of Adobe Systems Incorporated. Portions Copyright © TMS, Inc.
1994-2001. All rights reserved.
The RightFax COM API is a library of objects, properties, and Note The RightFax COM API Module™ consists of the
methods for use in developing custom applications for the RightFax COM library and a copy of the RightFax
RightFax server. The RightFax COM API library is compatible development server. This RightFax server has no functional
with any programming language that supports binary fax channels and is intended for development and testing
standards including C, C++, Java, JScript, Visual Basic, purposes only. OpenText specifically prohibits the use of
VBScript, Delphi, and PowerBuilder. this development server for any other purpose.
This guide describes the fundamentals of COM, provides an
overview of the RightFax COM object including code Installing the development server and
examples, and describes in detail each object in the RightFax
COM library. COM Object DLL
The RightFax COM Module includes a RightFax development The files required by the RightFax COM Module are installed
server for development and testing with the RightFax Server on all RightFax servers during the server installation. The
COM object. The RightFax COM object is contained in a single COM Module must be licensed and activated before its
dynamic link library (DLL) file named Rfcomapi.dll. This file functionality is enabled.
is installed as part of the RightFax client installation from the To activate the COM Module, you must have licensed a
development server. RightFax server type that includes this module, or purchased
Before developing applications with the RightFax COM object, and licensed this module separately. For information on
install the development server on your network, and install activating new components on the RightFax server, refer to
and register the COM object DLL. the RightFax Installation Guide.
Chapter 2: Tutorial
The RightFax COM Module consists of a variety of objects you To start a new Visual Basic project
can use to create any type of application your company
needs. If you are already familiar with Visual Basic and the 1. Open Visual Basic.
RightFax API, see sections 3 through 8 for the complete 2. Click New Standard EXE Project.
descriptions of all of the RightFax COM components and
3. On the Project menu, click References.
examples of how they are used.
This section describes the steps required to build a simple 4. In the Available References list, click RightFax
project using Visual Basic. In this project, you’ll create a COM API Type Library.
window that shows a list of users. When you click a user’s
name, a list of the faxes for that user appears.
To build this project, complete the following steps:
Step 1: Start a new Visual Basic project on page 8
Step 2: Set up the project form on page 9
Step 3: Create and log on to a new fax server object on page
9
Step 4: Show the users in the list box on page 10
Step 5: List faxes for the selected user on page 11
Step 6: Add an Exit button on page 13
Step 1: Start a new Visual Basic project 5. Click RightFax COM API in the List of References.
When you first start Visual Basic, you’ll need to create a new
project. You’ll also need to verify that the RightFax COM 6. Click OK.
components are available to the Visual Basic application.
you want to show. This procedure also describes creating 6. Return to the Code window.
labels for the list box.
7. Declare the variables you are going to need. These
To show users in the list box variables are not global, so use the “Dim” statement
1. On the View menu, click Object to show the form instead of “Public.”
window. Dim str_UserName As String
2. Click the label icon, and drag the cursor to draw a box Dim str_UserID As String
where you want the first label to be (above the list box, This creates the two variables, but they are still empty.
aligned with the left side of the box).
8. Next, store the fields from the user object in the two
3. Change the Caption property for the label to Users. new variables by entering the appropriate code. From
the object list, choose Form. The procedure list shows
4. Click the label icon again, and draw a box above and on
the text Load, indicating that the code you enter is
the right side of the list box.
executed when the form is loaded.
5. Change the Caption property for this label to User ID.
9. Enter the following code after the authentication
statements but before the End Sub statement. Note
that the first two lines are comments because they are
preceded by an apostrophe (’).
Show the list of user names and IDS in the lst_Users
box.For Each User in gl_MyFaxServer.Users
str_UserID = User.ID
str_UserName = User.UserName
lst_Users.AddItem str_UserID + vbTab + str_
UserName
Next
The vbTab entry aligns the two columns.
To list faxes
1. From the object list on the left side of the screen,
choose the name of the second list box created earlier
(lst_FaxList).
2. Enter the following code between the Sub and End Sub
statements.
Dim objUser as RFCOMAPILib.User
Set objUSer = gl_MyFaxServer.Users(lst_
Users.ListIndex+1)
gl_SelectedUser = ojbUser.ID
3. Click the Command Button icon to add a button
beneath the list boxes. Set the button Name property to
btn_ListFaxesand the Caption property to List
Faxes.
Unload frmMain
Step 7: Test and compile the program
During any point as you create your project, you can press
F5 to run a test of the code so far. You see error messages if
you haven’t completed all of the steps. If you followed all of
the steps in this section, a list of users appears. When you
click a user, a list of faxes appears if that user has any faxes
in the system.
The FaxServer object is the base object in the RightFax COM is released. To change the server manually, close this
Module and must be created before you can work with or connection before changing the server name.
create any other objects. This is the only object that can be
OpenServer
created externally. For step-by-step instructions on creating
a base FaxServer object, see Tutorial on page 8. This section Opens a communications connection to the fax server. This is
describes all of the methods, properties, and events normally done automatically the first time you do something
associated with the FaxServer. that requires a server connection.
OnArchiveEvent. Read/Write
OnCompleteEvent Specifies the password of the user specified in
This event is generated when a fax is sent that has the AuthorizationUserID property.
GenerateCompletionEvent flag set to True. BillingCodes
OnMessageEvent Data type: BillingCodes Collection
This event is generated when a message needs to be shown Read-only
to the user (such as an error message). Returns the BillingCodes Collection
OnNewFaxEvent CoverSheets
This event is generated when a new fax for a specific user Data type: CoverSheets Collection
comes in to the system.
Read-only
OnValidateEvent
Returns the CoverSheets Collection
This event is generated when a user has the requires
validations flag set to True or 1. The fax stays in the user’s CoverSheets2
queue indefinitely unless the fax is validated by checking for Data type: CoverSheets Collection
this event. Read-only
Numeric Name See also Returns the Events interface. You need to store this interface
equivalent to maintain connection to the events as they occur. For
example:
0 coAttachment Attachment object
Private Sub Form_Load()
1 coBillingCode BillingCode object Dim rfFaxAPI As RFCOMAPILib.FaxServer
2 coCoverSheet CoverSheet object Dim WithEvents FaxEventHandler As
3 coDelegatee Delegatee object RFCOMAPILib.FaxServer
Dim rfEvents As RFCOMAPILib.Events
4 coDelegator Delegator object Set rfFaxAPI = New FaxServer
5 coFax Fax object Set FaxEventHandler = rfFaxAPI
Set rfEvents = rfFaxAPI.Events
6 coFolder Folder object
End Sub
7 coForm Form object
Fax
8 coGroup Group object
Data type: Fax
9 coLibraryDocument LibraryDocument object Read-only
10 coPhoneItemGroup PhoneItemGroup object
Returns a specific fax identified by the FaxHandle (a 32-bit
11 coPhoneItemElement PhoneItemElement object integer).
12 coPrinter Printer object Faxes
13 coSignature Signature object Data type: Faxes Collection
14 coUsers User collection Read-only
999 coNone N/A Returns the Faxes collection for a specified user. You must
specify the UserID of the Faxes collection that you want.
CreateObject2 Form
Data type: CreateObjectType enumerated value Data type: Form
Read-only Read-only
Creates a new object of the specified type in the context of Retrieves a Form object based on the form ID.
the specified user (see the CreateObject property).
Forms
Events Data type: Forms Collection
Data type: Events Read-only
Read-only
Returns the Forms collection.
UseNTAuthentication 'Declare the object variables that are used in the application
Dim rfFaxAPI As RFCOMAPILib.FaxServer Dim WithEvents
Data type: Boolean
FaxEventHandler As RFCOMAPILib.FaxServerDim rfEvents As
Read/write RFCOMAPILib.Events DIM MyFaxServer As
Indicates whether to use Windows NT Authorization. The RFCOMAPILib.FaxServerPublic Sub CreateGroup()
default is True or 1: use the currently logged in ID and Set MyFaxServer = New FaxServer 'Log on to the fax
password for authentication. If you do not use NT server MyFaxServer.ServerName = “FaxServer”
authorization, you must specify the AuthorizationUserID and MyFaxServer.Protocol = cpNamedPipes
AuthorizationUserPassword. MyFaxServer.AuthorizationUserID = “studentX”
User MyFaxServer.UseNTAuthentication = True
Data type: User End Sub
Read-only
Returns a specific User identified by either the UserHandle or
ServerInfo
the unique UserID string. ServerInfo provides detailed information about the server
you are communicating with. To retrieve this object, use the
Users
ServerInfo property in the FaxServer object.
Data type: Users Collection
Read-only ServerInfo methods
Returns the Users Collection. SaveToXML
UseSoapProxy Saves the server info to an XML file.
Data type: Boolean
ServerInfo properties
Read/write
BaseDirectoryPath
A boolean value indicating if all the RPC calls should be
proxied through a Soap endpoint. Data type: String
Read-only
Version
Data type: String Returns the path to the base folder.
Read-only BillingCodeDescription1
Returns the version number of the RightFax COM API. Data type: String
Read-only
ServerName
Numeric Name See also
equivalent Data type: String
Read-only
6 rfiFromPersonalVoiceNumber FromPersonalVoice
Number Returns the name of the server currently being used for
communication.
7 rfiFromPersonalFaxNumber FromPersonalFax
Number ServerSpecial
8 rfiFromGeneralVoiceNumber FromGeneralVoice Data type: ServerSpecialType enumerated value
Number Read-only
9 rfiFromGeneralFaxNumber FromGeneralFax Returns the special type of the server. The special type is one
Number of the following ServerSpecialType enumerated values.
10 rfiBillCode1 BillCode1
Numeric Name
11 rfiBillCode2 BillCode2 equivalent
9999 ssDelear
The return value is one of the following RequiredFieldType
enumerated values. 9998 ssTampered
ServerTimeBias
Numeric Name Notes
Data type: Long
equivalent
Read-only
0 rfNotRequied The object is not required.
Returns the difference, in hours, between local time and
1 rfSend The object is only required Greenwich Mean Time.
when sending a fax.
ServerToLocalTime
2 rfReceive The object is only required
Data type: Date
when receiving a fax.
Read-only
3 rfAlways The object is always
required. Convert a server time value to a local time value.
ServerType
SerialNumber Data type: ServerType enumerated value
Data type: String Read-only
Read-only
Returns the type of server from the following list of valid
Returns the server serial number. Use the IsSerialValid ServerType enumerated values.
property to determine whether the serial number is valid.
ValidateBillingCodes
ServerVersion Data type: Boolean
Data type: Long Read-only
Read-only Indicates whether submitted billing codes are checked
Returns the version number of the server in hexadecimal against a list of valid codes.
format. Use ServerVersionAsString to view the server
version in text format.
ServerVersionAsString
Data type: String
Read-only
Returns the version number of the server as a text string.
Use ServerVersion to view the server version in hexadecimal
format.
TimeZoneInfo
Data type: TimeZoneInfoType enumerated value
Read-only
Returns information about the time zone that the server is
using for the current time. The time zone is one of the
following TimeZoneInfoType enumerated values.
Numeric Name
equivalent
0 tziInvalid
1 tziValid
2 tziStandardTime
There are two types of Fax objects. When a fax is received distinguished by the value of the AttachmentType property.
into the system, a Fax object is created that contains the When creating a new fax, an attachment can be either a
sender and recipient information. This object has an form, billing code, file or library document. For incoming
Attachment object that contains the name of the page image faxes, the AttachmentType is always File.
of the incoming fax in TIFF format.
Attachment methods
When a user creates a fax to be sent to someone else, the
new Fax object can reference other objects such as a None.
signature file or cover sheet. In addition, there can be See also:
several types of Attachment objects (such as billing codes).
Attachments Collection, BillingCode, Form, LibraryDocument
When the user sends the fax, the Fax object is converted to a
page image in TIFF format, and the name of the image is Attachment properties
stored in an Attachment object.
AttachmentType
This section describes the Fax object and the associated
properties and methods. It also describes the objects that Data type: AttachmentType enumerated value
can be attached to a Fax object (Files, LibraryDocuments, Read/write
Forms, and BillingCodes). Specifies the type of attachment from the following list of
valid AttachmentType enumerated values. For each
Caution All examples were created and verified using
AttachmentType, you must also specify the property
Microsoft Visual Basic 6.0. If you are using a different
associated with that type.
development environment, some of the examples in this
section may not work as expected. Numeric Name Associated See also
equivalent property
Attachment 0 aNone N/A N/A
An Attachment object defines the objects associated with a 1 aFile FileDescription File object
specific Fax. There are four types of Attachment objects,
For incoming faxes, the system creates an AttachmentType Specifies the name of the form that is to be overlaid onto the
of File for the image of the fax. generated fax (such as company letterhead or a transmission
form). This property is only used when AttachmentType is
BillingCode aForm.
Data type: BillingCode
IsDocumentMailBody
Read/write
Data type: Boolean
Specifies the code used for accounting purposes. This Read/write
property is only used when the AttachmentType is a
BillingCode. If AttachmentType equals aNativeFile, this property indicates
if the document is going to be the body of the mail message.
DeleteAfterSend
LibraryDocument
Data type: Boolean
Data type: LibraryDocument
Read/write
Read/write
Indicates if the attachment object will be deleted after it is
copied to the fax server. There is no default. Specify either Specifies the name of an existing document to be attached to
True (deletes the object) or False. the Fax object (such as company literature or employment
applications). This property is only used when
FileDescription AttachmentType is aLibraryDocument.
Data type: String
See also:
Read/write
Attachment, Attachments Collection, BillingCode, Form,
Specifies an attachment. When creating a new fax this can be LibraryDocument
a Form, BillingCode, File, or LibraryDocument. For existing
Example The following code stores the name of the first
faxes it can only be the image that is associated with the fax.
attachment to a variable called sTmpFileName.
FileName
Dim obFax As RFCOMAPILib.Fax
Data type: String
Dim obAttachment As RFCOMAPILib.Attachment
RemoveAll Else
Removes all objects from the collection but not from the libdoc = lstLibDocs.Text
server. To remove an object from the server, use the Delete Fax.Attachment.Add_
method in the object you want to delete. MyFaxServer.LibraryDocuments(libdoc)
oFax.Send
Attachments Collection properties
End If
Count
Data type: Long BillingCode
Read-only A BillingCode object specifies categorization information that
Returns the total number of objects in the collection. can be used later for functions such as accounting or
LongFileName SaveToXML
Data type: String Save the coversheet collection to an XML file.
Read-only
CoverSheets Collection properties
Specifies the full file name of the cover sheet.
Count
When used to specify the cover sheet to use when sending a
Data type: Long
fax, the default cover sheet for the user sending the fax will
be used. Read-only
Read-only DisableSendViaSecureDocs
Disables sending of this fax via Secure Docs and Certified
Returns a new object.
Delivery.
Item
Disapprove
Data type: CoverSheet
This method is only available if the IsNeedingApproval
Read-only
property is set to True or 1. The Disapprove method sets the
Returns the Fax object with the specified item number. Each IsNeedingApproval property to False or 0 and the IsApproved
object in the collection is numbered, starting with 1. property to False or 0, indicating that the fax was not
approved and is not sent.
Example To specify a cover page called FaxLetterhead.pcl,
use the following code. EnableSendViaSecureDocs
myNewFax.FCSFilename = “FaxLetterhead.pcl” Enables sending of this fax via Secure Docs and Certified
myNewFax.HasCoversheet =|True Delivery.
ForwardToUsers
Fax Sends the fax to multiple users within the RightFax system.
A Fax object contains all the information about the For example:
components of a fax. There can be many other objects Dim myUsers As Users
referenced by the properties in a single fax object. The Set myUsers = objFaxServer.Users
default property name is Handle. If you specify a value myUsers.RemoveAll
without specifying a property name, the system assigns that myUsers.Add myFaxServer.User(“USER1”)
value as the object Handle. myUsers.Add myFaxServer.User(“USER2”)
objFax.ForwardToUsers myUsers, “Check out this fax”
Fax methods
Kick
Approve
Re-sends a fax that has already been sent. See also the Send
This method is only available if the IsNeedingApproval method for new faxes.
property is set to True or 1. The Approve method sets the
IsNeedingApproval property to False or 0 and the IsApproved Mark
property to True or 1. The fax is submitted to the queue to be Changes the state of a fax to a specified FaxMarkType value.
sent.
Numeric Name
Delete equivalent
Removes the fax from the server. To remove a fax from the
0 fmViewed
Faxes collection, but not from the server, use the Remove
method or the RemoveAll method at the collection level. 1 funneled
Saves the fax object. With the Save method, you can whether you want the form stored with the TTI information
automatically re-send a fax by using the Kick parameter. Set (the top half-inch of the fax). Set the RemoveTTILine
the parameter to True or 1 to send the fax after it is saved; parameter to True or 1 to remove the TTI line. The default for
set the parameter to False or 0 if you want to save without the RemoveTTILine parameter is False or 0 (leave the form
sending. See also the Kick method, which resends the fax as as is).
a separate method.
StoreAsNewLibraryDocument
SaveToXML Stores the current fax as a new library document that can be
Saves the fax to an XML file. used later by other fax objects. You must specify a file name
for the library document. For example, to create a document
Send
named PRICES with the description “Price Sheet,” enter the
Converts the fax to an image file and sends it to the specified following line.
recipients. To resend a fax that has been sent, use the Kick
method. objFax.StoreAsNewLibraryDocument “PRICES”, “Price Sheet”
StoreAsNewForm BFTFilename
Stores the current fax as a new form that can be used later Data type: String
by other fax objects. You must specify a file name for the Read-only
form. This method also has a parameter that specifies
Returns the file name of the binary file transfer information If a password is desired when creating document for Certified
file if one exists. Binary file transfers have been replaced by Delivery, specify the password as a string. This property is
the fax image attachment, but this property remains only used when creating a new e-mail message.
available for backwards compatibility.
ChannelToSendOn
BFTFileSize Data type: Integer
Data type: Long Read/Write
Read-only
Specifies the channel for sending the current fax.
Returns the size of the binary file transfer information file if
CoverSheetNotes
one exists. Binary file transfers have been replaced by the
fax image attachment, but this property remains available Data type: String
for backwards compatibility. Read/Write
BillingCode Specifies a specific note line for the cover sheet. Each line of
notes is a string and can include up to 69 characters. The
Data type: BillingCode
cover sheet can include up to 24 note lines, each identified by
Read-only
an index number starting with 1 (cannot exceed 24). See also
Returns the BillingCode object associated with the fax, if any. the CoverSheet object.
See the BillingCode object for more information.
CoverSheetSizeInBytes
BillingCode1 Data type: Long
Data type: String Read-only
Read/Write
Returns the size of the fax cover sheet in bytes.
Returns the Billing Code 1 field as a string.
DelayFaxSendDateTime
BillingCode2 Data type: Date
Data type: String Read/Write
Read/Write
Specifies the date and time that the fax should be sent in
Returns the Billing Code 2 field as a string. Visual Basic variant format.
CertifiedDeliveryPassword EmailSubject
Data type: String Data type: String
Read/Write Read/Write
Specifies the Subject line of a new e-mail message. This
property is only used when creating a new e-mail message.
FaxDisposition
Numeric Name Notes
Data type: Integer equivalent
Read-only
3 fecPoorQuality The fax board returned a
Returns an integer that indicates the disposition of the fax. message indicating that
This property has been replaced by information in the although the fax was
FaxStatus property, but remains available for backwards received, it contained
compatibility. errors
FaxDispositionEx 4 fecNoAnswer The destination number
Data type: Integer did not answer the phone
Read/Write 5 fecBadFCS Bad File Cover Sheet
Specifies an integer that indicates the disposition of the fax. 6 fecBadConvert The fax was not
This property has been replaced by information in the converted to an image file
FaxStatus property, but remains available for backwards 7 fecMakeFCS Error occurred creating
compatibility. Fax Cover Sheet
FaxErrorCode 8 fecCantSchedule Fax was not sent
Data type: FaxErrorCodeType enumerated value because fax transmission
Read-only schedule full
Returns the FaxErrorCodeType. A zero indicates that there 9 fecUnknown Unknown error report by
was no error. The FaxErrorCodeType is one of the following fax board
enumerated values. 10 fecHuman A human answered the
phone
Numeric Name Notes
equivalent 11 fecGroup2 Reached a Group2
machine
0 fecNone No error
12 fecLocalInUse The destination fax
1 fecBusy Fax number was busy number is unable to
2 fecTransmissionError Fax was not receive
sent/received 13 fecLineProblem Communications line
between the two fax
numbers not working
correctly
Numeric Name Notes Returns the name of the image file associated with an
equivalent incoming fax. The image file is stored in the image folder on
the fax server. This property returns the file name, not the
14 fecBadPaper Invalid FormType image object.
specified
FaxID
15 fecBadSignature Invalid signature file
Data type: Integer
specified
Read-only
16 fecNoSignatureAuthorization The fax required but did
not receive signature Returns the ID assigned to the fax by the fax hardware when
authorization the fax is schedule to be sent.
18 fecDiscarded Canceled by user FaxPagesInFront
19 fecBadPhone Invalid characters in fax Data type: Integer
number Read-only
21 fecInvalidCode Invalid BillingCode Returns the number of fax pages in the queue preceding the
22 fecBadCode Error in an embedded current fax.
code FaxRecordDateTime
23 fecBadOCR OCR operation failed Data type: Date
24 fecBadPrint Print operation failed Read-only
25 fecNoLibraryDocument Unauthorized user Returns the date and time that the fax was created in Visual
Authorization attempting to create a Basic variant format.
new library document FaxStatus
26 fecViewStar1 ViewStar imaging system Data type: FaxStatusType enumerated value
import error Read-only
27 fecDisapproved The fax was disapproved Returns the status of the fax as a FaxStatusType. This is one
for transmission of the valid FaxStatusType enumerated values.
28 fecEmailDeliveryError The fax document was
not sent to the specified Numeric Name Notes
e-mail address equivalent
0 fsUnborn Not yet created
FaxFilename 1 fsNeedsFCS Needs fax cover sheet
Data type: String
Read-only
Numeric Name Notes Specifies the status of the fax as a FaxStatusType. This is one
equivalent of the valid FaxStatusType enumerated values listed in
FaxStatusType Enumerated Values.
2 fsNeedsConversion Needs conversion to an image
file FaxTerminationStatus
Data type: Integer
3 fsNeedsToBeSent None
Read-only
4 fsInConversion In the process of being
converted to an image file Returns an integer indicating the termination status of the
fax. The information available through this property has been
5 fsInSend usPagesInFront indicates how
moved to the FaxHistory object but this property remains
many pages sent so far
available for backwards compatibility. See the Histories
6 fsDoneOK Successfully sent or received collection or the FaxStatus property.
7 fsManualFCS Uses a manual fax cover sheet FaxTerminationStatusEx
8 fsInSchedule Awaiting scheduled send time Data type: Integer
9 fsDoneError Too many errors, is not retried Read/Write
10 fsDuplicate None Specifies an integer indicating the termination status of the
fax. The information available through this property has been
11 fsError None
moved to the FaxHistory object but this property remains
12 fsNeedsAttention None available for backwards compatibility. See the Histories
13 fsNeedsAttachment None collection or the FaxStatus property.
14 fsHeldForPreview None FCSFilename
15 fsInOCR None Data type: String
16 fsInPrint None Read/Write
17 fsQueuedForPrinting None Specifies the name of the fax cover sheet image in the
server’s image folder. See also the OriginalFCSFilename
18 fsQueuedForOCR None property.
19 fsInValidation None
Folder
20 fsInApproval None Data type: Folder
Read/Write
FaxStatusEx
Specifies the Folder object for this fax.
Data type: FaxStatusType enumerated value
Read/Write ForwardToNewFaxNumber
Data type: Fax
Indicates whether the fax was sent via certified delivery. Data type: Boolean
IsCoversheetConversionNeeded Read/Write
Data type: Boolean Specifies whether the fax is deleted from the server after a
Read/Write successful Send event. Set this to True or 1 to show the fax is
deleted. Set it to False or 0 to show the fax is not deleted.
Specifies whether the cover sheet for the fax needs to be See also the IsDeletedAfterAnySend property.
converted to a TIFF format image file. True or 1 indicates
that conversion is required; False or 0 indicates that it is not IsFaxAutoForwarded
required. Data type: Boolean
IsCoversheetFine Read-only
Data type: Boolean Specifies whether the fax was automatically forwarded. The
Read-only AutoForward feature is set and type of forwarding defined in
the User object. True or 1 indicates that the fax was
Specifies whether the cover sheet is in Fine mode. True or 1 automatically forwarded. False or 0 indicates that the fax
indicates that the cover sheet is in Fine mode (200×200 dots was not forwarded. See also the IsForwarded property.
per inch resolution); False or 0 indicates that it is in normal
mode (100×100 dots per inch resolution). See also the IsFaxBodyAutomaticallyPrinted
IsFineMode property. Data type: Boolean
IsDeleted Read-only
Data type: Boolean Specifies whether the fax was automatically printed. The
Read-only Autoprint feature is set and the printer defined in the User
object. True or 1 indicates that this fax was automatically
Specifies whether the fax has been deleted. True or 1 printed. False or 0 indicates that this fax was not forwarded.
indicates that the fax has been deleted from the server. False
or 0 indicates that it has not been deleted. IsFCSCompleted
Data type: Boolean
IsDeletedAfterAnySend
Read-only
Data type: Boolean
Read/Write Specifies whether the fax cover sheet has been completed.
True or 1 indicates that the cover sheet is complete. False or
Specifies whether the fax is deleted from the server after the 0 indicates that the cover sheet is not complete.
Send event, regardless of whether the fax is sent
successfully. Set this to True or 1 to show the fax is deleted. IsFineMode
Set it to False or 0 to show that it is not deleted. See also the Data type: Boolean
IsDeletedAfterSuccessfulSend property. Read/Write
IsDeletedAfterSuccessfulSend
Specifies whether the body of the fax is in Fine mode. True or Read/Write
1 indicates that the fax is in Fine mode (200×200 dots per
Specifies whether the fax is being held for preview before
inch resolution); False or 0 indicates that it is in normal mode
being sent by the user. True or 1 indicates that the fax is held
(100×100 dots per inch resolution). See also the
for preview. False or 0 indicates that it is not.
IsCoversheetFine property.
IsInDelaySend
IsForwarded
Data type: Boolean
Data type: Boolean
Read/Write
Read-only
Specifies whether the fax is being held until the date and time
Specifies whether the fax was manually forwarded. True or 1
specified by the DelayFaxSendDateTime property. True or 1
indicates that the fax was forwarded. False or 0 indicates that
indicates that the fax is awaiting the specified time. False or
the fax was not forwarded. Use the ForwardToUsers method
0 indicates that it is not.
to specify manual forwarding.
IsInitialized
IsGatewayGenerated
Data type: Boolean
Data type: Boolean
Read-only
Read-only
Specifies whether the fax was initialized. True or 1 indicates
Specifies whether the fax was generated by the RightFax e-
that the fax was initialized. False or 0 indicates that the fax
mail gateway. True or 1 indicates that the fax was generated
was not initialized.
by an e-mail gateway. False or 0 indicates that it was not.
IsINLJob
IsGenericFlag1On
Data type: Boolean
Data type: Boolean
Read/Write
Read/Write
Specifies whether the fax is an INL job.
Specifies whether the user customizable API flag Generic1 is
on. IsLCRTimeDelayed
Data type: Boolean
IsGenericFlag2On
Read-only
Data type: Boolean
Read/Write Specifies whether the fax was delayed because of a least-
cost routing rule. True or 1 indicates that the fax was
Specifies whether the user customizable API flag Generic2 is
delayed. False or 0 indicates that the fax was not delayed.
on.
IsNeedingApproval
IsHeld
Data type: Boolean
Data type: Boolean
Read-only
Specifies whether the fax is being held until it is approved. Specifies whether the fax was viewed. True or 1 indicates
True or 1 indicates that the fax is awaiting approval. False or that the fax was viewed. False or 0 indicates that the fax was
0 indicates that it is not. Use the Approve method to send the not viewed.
fax.
IsWasDNDBlockedOn
IsPrinted Data type: Boolean
Data type: Boolean Read/Write
Read-only
Specifies whether the fax was blocked by Do Not Dial.
Specifies whether the fax was successfully printed. True or 1
LastHistoryChangeDateTime
indicates that the fax was printed. False or 0 indicates that
the fax was not printed. See also the PrintFax method. Data type: Date
Read-only
IsProductionFax
Returns the date and time that the most recent history
Data type: Boolean
element was added to this fax. It is updated every time an
Read/Write
element is added to any of the fax history objects. See also
Specifies whether the fax was generated by the RightFax the Histories collection.
Production module.
MaximumRetries
IsReceived Data type: Integer
Data type: Boolean Read/Write
Read-only
Specifies the maximum number of times the system will
Specifies whether the fax is an incoming or outgoing fax. attempt to deliver the fax if the phone number is not
True or 1 indicates that the fax was received (incoming). responding. If this is set to 1, the system stops after the first
False or 0 indicates that the fax was sent (outgoing). failed attempt. Set this to zero (0) to use the default setting
on the RightFax server. Use the TryInterval property to
IsReceivedEx
specify the length of time between retries.
Data type: Boolean
Read/Write NeedsPDFConversion
Data type: Boolean
Specifies whether the fax is an incoming or outgoing fax.
Read/Write
True or 1 indicates that the fax was received (incoming).
False or 0 indicates that the fax was sent (outgoing). Indicates whether the fax needs to be scanned for embedded
codes before conversion.
IsViewed
Data type: Boolean NeedsPrescan
Read/Write Data type: Boolean
Read/Write Sets the priority for the fax using one of the valid
FaxPriorityType enumerated values from the following table.
Indicates whether the fax requires PDF conversion. When
For the user to send a fax with High priority, set the
PDF conversion is complete, this property is automatically
IsAbleToUseHighPriority property to True or 1 and the
set to False or 0.
HighestAvailablePriority property to fpHigh in the User
OriginalBFTFilename object.
Data type: String
Numeric Name
Read-only
equivalent
Returns the name of the binary file transfer file before it was
0 fpNormal
renamed by the fax server. Binary file transfers have been
replaced by the fax image attachment, but this property 1 fpLow
remains available for backwards compatibility. 2 fpHigh
OriginalFCSFilename
Data type: String
Recipients
Read/Write
Data type: PhoneItemGroup Collection
Returns the name of the original file that was converted to Read/Write
use as the fax cover sheet. This is the name as it appears in
the server folder. The converted file name is accessible Specifies multiple users receiving faxes. Define the users in a
through the FCSFilename property. PhoneItemGroup. Specify that group as recipients. See also
the PhoneItemGroup object.
Owner
RemoteID
Data type: User
Data type: String
Read/Write
Read-only
Returns the User object for the owner of the fax.
Returns the ID of the sender’s fax machine. This applies only
OwnerID to received faxes.
Data type: String
SecureCSID
Read/Write
Data type: String
Returns the UserID for the owner of the fax. Read/Write
Priority Returns the secure caller subscriber identification of the
Data type: FaxPriorityType enumerated value sender’s fax machine, if any. This applies only to received
Read/Write faxes.
SendTime
Data type: Long Specifies the telephone number of the recipient’s fax
Read-only machine. See also the DefaultToFaxNumber property in the
User object.
Returns the total length of transmission time it took to send
or receive the fax. This is available for all received faxes. It ToName
is only available for sent faxes after successful completion. Data type: String
StatusDescription Read/Write
Data type: String Specifies the recipient’s name. See also the DefaultToName
Read-only property in the User object.
Returns the current status of the fax in text format. For a TotalLinkCount
numeric code indicating the status, see the FaxStatus Data type: Integer
property. Read-only
ToCityState Returns the total number of links associated with this fax.
Data type: String Links are generated when a RightFax user sends or forwards
Read/Write a fax to another RightFax user. Rather than duplicate the
image file of the fax for each user, the system creates a link
Specifies the city and state of the recipient. See also the
to a single instance of the image.
DefaultToCityState property in the User object.
TotalPages
ToCompany
Data type: Integer
Data type: String
Read-only
Read/Write
Returns the total number of pages in the fax. The fax must be
Specifies the recipient’s company name. See also the
converted for this to be valid.
DefaultToCompany property in the User object.
TotalPagesEx
ToEmailAddress
Data type: Integer
Data type: String
Read/Write
Read/Write
Specifies the total number of pages in the fax. The fax must
Specifies an e-mail address for the document destination.
be converted for this to be valid.
ToFaxNumber
ToVoiceNumber
Data type: String
Data type: String
Read/Write
Read/Write
Specifies the telephone number of the recipient. See also the Specifies the unique ID for this specific print job. This can be
DefaultToVoiceNumber property in the User object. defined by either the system or the user.
TryInterval UserComments
Data type: Integer Data type: String
Read/Write Read/Write
Specifies how long to wait, in seconds, between attempts to Comment text added to the fax by the fax sender.
send the fax. Set the MaximumRetries property to greater
UseSmartResume
than 0 for this to have any effect.
Data type: Boolean
TypeOfPrintJob Read/Write
Data type: PrintJobType enumerated value
Indicates whether the fax uses the Smart Resume feature of
Read/Write
the RightFax system. True or 1 indicates the fax uses Smart
Specifies the type of data in the print job. Use one of the Resume. False or 0 indicates it does not.
following PrintJobType enumerated values.
Example The following example sends a fax with an
Numeric Name attached library document.
equivalent Set oFax = MyFaxServer.CreateOjbect(coFax)
1 pjPCL oFax.Owner = oUser
oFax.Toname = tofaxname
2 pjPostScript
oFax.ToFaxNumber = tofaxnum
3 pjPCL2
If 1stLibDocs.Text = ““ Then
4 pjPostScript2 oFax.Send
5 pjCVL Else
libdoc=1stLibDocs.Text
UnicodeCoverSheetNotes oFax.Attachment.Add
MyFaxServer.LibraryDocuments(libdoc)
Data type: String
oFax.Send
Read/Write
EndIf
The cover sheet notes as a unicode text block.
UniqueID Faxes Collection
Data type: String A Faxes Collection is a set of one or more Fax objects.
Read/Write
Returns the Fax object with the specified item number. Each
Faxes Collection methods object in the collection is numbered, starting with 1.
Add See also:
Adds an object to the collection.
Fax, Attachment
Refresh Example The following code steps through a collection of
Re-loads the list of fax objects from the fax server. faxes for each user and displays the fax image.
Remove Dim myFax As RFCOMAPILib.Fax
Removes a specified object from the collection but not from For Each myFax in FaxApi.Faxes(“{myUser}”)
the server. To remove an object from the server, use the DisplayImage myFax.Attachments(1)
Delete method in the object you want to delete.
RemoveAll Form
Removes all objects from the collection but not from the A form is an object that overlays a fax, such as corporate
server. To remove an object from the server, use the Delete letterhead. Within the RightFax system, the form is
method in the object you want to delete. considered an attachment to a CoverSheets Collectionobject.
SaveToXML To the recipient, the form appears to be part of the fax
Saves the fax collection to an XML file. image.
Create Save
Data type: Fax Writes the object to the server.
Read-only SaveToXML
Returns a new object. Saves the form to an XML file.
EmbargoDate
Numeric Name Notes
equivalent Data type: Date
Read/Write
0x0100 lduResetAll Re-sets usage to None.
Specifies the earliest date a document can be used. For
0x0200 lduResetLastUsedDate See also the LastUsedDate
example, a price list document can be embargoed until the
property.
first of the following month. After that date, the library
document can be sent. For an embargo date to be effective,
For example, to allow the current library document to be
the IsEmbargoed property must be set to True or 1. To
accessed by the RightFax Docs-on-Demand module, enter:
specify the last date a document can be sent, see ExpireDate.
objLibraryDocument.AdjustUsage lduFOD
ExpireDate
To reset the last used date property, you must combine the Data type: Date
reset with the usage type. For example, to change the last
Read/Write
used date (and make it appear that the document has not
been used on the LAN), enter: Specifies the last date a document can be used. For example,
sale prices are only valid for a short time. After the sp ecified
objLibraryDocument.AdjustUsage lduLAN Or
date, the library document containing the sale prices is no
lduResetLastUsedDate
longer be available. For an expiration date to be effective,
Delete the WillExpire property must be set to True or 1. To specify
Removes the object from the server. the first date a document can be sent, see EmbargoDate.
ReadFromXML FODPassword
Reads XML data from an XML file. Data type: String
Read/Write
Save
Writes the object to the server. Specifies the password that must be entered before the form
can be sent using the RightFax Docs-on-Demand module.
SaveToXML
Handle
Saves the library document to an XML file.
Data type: Long
LibraryDocument properties Read-only
Description Returns the code used internally by the RightFax system to
Data type: String identify each unique object.
Read/Write ID
Returns a brief description of the library document. Data type: String
Read/Write
Specifies an ID you can assign to identify each unique object. Indicates whether the library document is included in the
If you specify a value without specifying a property name, catalog created by the RightFax Docs-on-Demand module.
the system assigns that value as the object ID. True or 1 indicates the document is included; False or 0
indicates that it is not. The catalog created by the Docs-on-
Image
Demand module is also a library object, indicated by the
Data type: String property IsAutomaticallyGeneratedCatalog being set to True.
Read-only
IsInFineMode
Retrieves a copy image associated with the library document.
Data type: Boolean
IsALibraryDocument Read/Write
Data type: Boolean Indicates whether the resolution of the library document is
Read/Write Fine. True or 1 indicates that the fax resolution is Fine
This property has been replaced by new functionality, but (200×200 dots per inch); False or 0 indicates that it is normal
remains available for backward compatibility. All (100×100 dots per inch). See also the IsFineMode property
LibraryDocument objects have a value of True or 1 in this for the body of the fax or IsCoversheetFine for the cover
property. sheet mode.
IsAutomaticallyGeneratedCatalog IsInNormalMode
Data type: Boolean Data type: Boolean
Read/Write Read/Write
Indicates whether the library document is a catalog or listing Indicates whether the resolution of the library document is
of other library documents. This type of catalog is part of the fine. True or 1 indicates that the fax is normal (100×100 dots
RightFax Docs-on-Demand module. True or 1 indicates the per inch); False or 0 indicates that it is fine (200×200 dots
library document is a catalog; False or 0 indicates it is not. per inch). See also the IsFineMode property for the body of
the fax or IsCoversheetFine for the cover sheet mode.
IsEmbargoed
IsPublishedForFOD
Data type: Boolean
Data type: Boolean
Read/Write
Read/Write
Indicates whether the library document has a start date. See
also the EmbargoDate property. Indicates whether the library document is available for use
with the RightFax Docs-on-Demand module. True or 1
IsIncludedInFODCatalog indicates that the library document is available; False or 0
Data type: Boolean indicates that it is not. If True, see also the TimesUsedOnFOD
Read/Write property.
IsPublishedForLAN
libdoc = 1stLibDocs.Text
oFax.Attachment.Add LibraryDocuments Collection properties
MyFaxServer.LibraryDocuments(libdoc) Count
oFax.Send
Data type: Long
End If
Read-only
LibraryDocuments Collection Returns the number of objects in the collection.
A LibraryDocuments Collection is a set of one or more Create
LibraryDocument objects. Data type: LibraryDocument
Read-only
LibraryDocuments Collection methods
Returns a new LibraryDocument object. The user must be
Add able to create new library documents by having the
Adds an object to the collection. IsAbleToCreateNewLibraryDocuments property set to True in
Refresh the user object.
Re-loads the list of library document objects from the fax Item
server. Data type: LibraryDocument
Remove Read-only
Removes a specified object from the collection but not from Returns the library document object with the specified item
the server. To remove an object from the server, use the number. Each object in the collection is numbered, starting
Delete method in the object you want to delete. with 1. See also the Num property.
RemoveAll
Removes all objects from the collection but not from the
server. To remove an object from the server, use the Delete
method in the object you want to delete.
SaveToXML
Saves the library document collection to an XML file.
Create a User object for each person who uses the RightFax Writes the object to the server.
system. Users can be organized into Groups, simplifying
SaveToXML
tasks like defining maintenance defaults. Each user can sort
their faxes by creating folders. Saves XML data to an XML file.
Note All examples were created and verified using Delegate properties
Microsoft Visual Basic 6.0. If you are using a different DeletePermissionCanDeleteFaxes
development environment, some of the examples in this
Data type: Boolean
section may not work as expected.
Read/write
Returns the code used internally by the RightFax system to faxes, or an administrator. True or 1 indicates that the faxes
identify each unique object. require approval; False or 0 indicates that faxes are sent
without approval.
MiscPermissionCanApproveFaxes
Data type: Boolean ReadPermissionCanBrowseAllFolders
Read/write Data type: Boolean
Read/write
Specifies if the delegate is authorized to approve faxes on
behalf of the delegator. Specifies if the delegate is authorized to view folders other
than the Inbox.
MiscPermissionCanModifyDelegates
Data type: Boolean ReadPermissionCanExportImages
Read/write Data type: Boolean
Read/write
Specifies if the delegate is authorized to make, add, or
remove users from the delegator’s list of delegates, and to Specifies if the delegate is authorized to save a copy of the
edit the access rights granted to each delegate. fax image from the RightFax fax viewer.
MiscPermissionCanModifyUserOptions ReadPermissionCanMailImages
Data type: Boolean Data type: Boolean
Read/write Read/write
Specifies if the delegate is authorized to make, add, or Specifies if the delegate is authorized to send a copy of the
remove user options. fax image to an e-mail address from the RightFax fax viewer.
MiscPermissionCanToggleRefuseFaxDistribution ReadPermissionCanPrintFaxes
Data type: Boolean Data type: Boolean
Read/write Read/write
Specifies if the delegate is authorized to change the Refuse Specifies if the delegate is authorized to print faxes.
Fax Distribution option.
ReadPermissionCanViewFax
MiscPermissionFaxRequiresApproval Data type: Boolean
Data type: Boolean Read/write
Read/write
Specifies if the delegate is authorized to view faxes
Specifies if faxes created by the delegate in the delegator’s (including the cover page, all body pages, and attachments).
mailbox require approval. Approval can only be granted by
ReadPermissionCanViewFirstPage
the delegator, another delegate with permission to approve
Data type: Boolean
User WritePermissionCanEditPhoneItems
Data type: User Data type: Boolean
Read/write Read/write
Specifies the user receiving access. You can only enter one This Boolean property specifies if the delegate is authorized
User object. to edit existing entries in the delegator’s RightFax fax
phonebook.
WritePermissionCanAnnotateFaxes
Data type: Boolean WritePermissionCanMoveFaxes
Read/write Data type: Boolean
Read/write
Specifies if the delegate is authorized to annotate faxes.
Specifies if the delegate is authorized to move faxes between
WritePermissionCanCreateFaxes folders in the delegator’s mailbox.
Data type: Boolean
WritePermissionCanForwardRouteFaxes
Read/write
Data type: Boolean
Read/write Refresh
Re-loads the list of objects from the fax server.
Specifies if the delegate is authorized to forward or route
faxes. Remove
WritePermissionCanOCRFaxes Removes a specified object from the collection but not from
the server. To remove an object from the server, use the
Data type: Boolean
Delete method in the object you want to delete.
Read/write
RemoveAll
Specifies if the delegate is authorized to use the RightFax
OCR Converter software to create text documents from the Removes all objects from the collection but not from the
delegator’s fax images. server. To remove an object from the server, use the Delete
method in the object you want to delete.
WritePermissionCanRenameFolders
SaveToXML
Data type: Boolean
Saves XML data to an XML file.
Read/write
Specifies if the delegate is authorized to rename folders in Delegates Collection properties
the delegator’s mailbox.
Count
WritePermissionCanUpdateFaxStatus Data type: Long
Data type: Boolean Read-only
Read/write
Returns the number of objects in the collection.
Specifies if the delegate is authorized to update the fax status
Create
(retry sending the fax after transmission errors are
encountered). Data type: Delegate
Read-only
Delegates Collection Returns a new object.
A Delegates Collection is a set of one or more Delegate Item
objects. To assign a Delegates collection to a User object, Data type: Delegate
use the AccessibleByTheseUsers property in the User object
Read-only
with access.
Returns the form object with the specified item number. Each
Delegates Collection methods object in the collection is numbered, starting with 1.
Add
Adds an object to the collection
Delete Refresh
Removes the object from the server. Re-loads the list of objects from the fax server.
Remove
Folder properties
Removes a specified object from the collection but not from
ByteID the server. To remove an object from the server, use the
Data type: Integer Delete method in the object you want to delete.
Read-only RemoveAll
Returns the unique identifier of the folder used for database Removes all objects from the collection but not from the
storage. server. To remove an object from the server, use the Delete
method in the object you want to delete.
Faxes
Data type: Faxes Collection Folders Collection properties
Read-only
Count
Returns the Faxes collection associated with this folder. See Data type: Long
the Folders Collection.
Read-only
ID
Returns the number of objects in the collection.
Data type: String
Create
Read/Write
Data type: Folder
Specifies a description of the folder. You must specify a
Read-only
folder ID to identify the folder later.
Returns a new object.
User
Data type: User Item
Read-only Data type: Folder
that a group can send between 8 A.M. and 5 P.M., enter the 0. The default is 30 days. See also ExcludedFromFaxAging in
end time of 1700. the User object.
ConcurrentStartTime FaxAgeFailed
Data type: Integer Data type: Integer
Read/Write Read/Write
Specifies the start time (in HHMM format) that concurrent Specifies the number of days a failed fax remains on the
faxes are limited by forced scheduling. Use the system before being deleted. To leave failed faxes on the
IsForcedSchedulingEnabled property to enable or disable system indefinitely, set this property to 0. See also
forced scheduling. For example, if there is a limit of 50 faxes ExcludedFromFaxAging in the User object.
that a group can send between 8 A.M. and 5 P.M., enter the
FaxAgeIncomplete
start time of 0800.
Data type: Integer
CoverSheet Read/Write
Data type: String
Specifies the number of days an incomplete fax remains on
Read/Write
the system before being deleted. To leave incomplete faxes
The name of the default cover sheet. This can be changed by on the system indefinitely, set this property to 0. See also
each user with the CoverSheetModelID property or for each ExcludedFromFaxAging in the User object.
fax with the FCSFilename property.
FaxAgeNew
FaxAgeCertifyDelivery Data type: Integer
Data type: Integer Read/Write
Read/Write
Specifies the number of days a new fax remains on the
Specifies the number days a fax sent via certified delivery system before being deleted. To leave new faxes on the
remains on the system before being permanently removed. system indefinitely, set this property to 0. See also
To leave certified delivery faxes on the system indefinitely, ExcludedFromFaxAging in the User object.
set this property to 0.
FaxAgeReceived
FaxAgeDeleted Data type: Integer
Data type: Integer Read/Write
Read/Write
Specifies the number of days a received fax remains on the
Specifies the number days a fax marked for deletion remains system before being deleted. To leave received faxes on the
on the system before being permanently removed. To leave system indefinitely, set this property to 0. See also
deleted faxes on the system indefinitely, set this property to ExcludedFromFaxAging in the User object.
FaxAgeSent
Determines whether fax aging is performed on all user’s Numeric Name Notes
folders. True or 1 indicates that all users’ subfolders are equivalent
aged; False or 0 indicates that only the Main and Trash
0 gsfdLinear Distributes to the users in order
folders are aged.
regardless of number of faxes.
GroupRoutingCode
1 gsfdBalanced Distributes first to the user who has the
Data type: Long fewest faxes in the fax inbox.
Read/Write
Specifies the default routing code for the group if RightFax Handle
SmartFax Distribution is enabled. Set this property to –1 to Data type: Long
disable SmartFax Distribution. Read-only
GroupSFDEnabled Returns the code used internally by the RightFax system to
Data type: Boolean identify each unique object.
Read/Write HideUIControlAddPhoneBookEntryButton
Indicates whether RightFax SmartFax Distribution is enabled. Data type: Boolean
True or 1 indicates that it is enabled; False or 0 indicates that Read/Write
it is not.
Indicates whether to show the Add Entry button on the Fax
GroupSFDLoginRequired Information dialog box when the members of this group
Data type: Boolean create new faxes.
Read/Write HideUIControlAlternateFaxNumber
Indicates whether the user is required to enter a password to Data type: Boolean
use the RightFax Smart Fax Distribution feature. True or 1 Read/Write
Indicates whether to show the Alt Fax Number box on the Indicates whether to show the Alternate Body Attachment
Fax Information dialog box when the members of this checkbox on the Fax Information dialog box when the
group create new faxes. members of this group create new faxes.
HideUIControlAutoDeleteSetting HideUIControlCallBack
Data type: Boolean Data type: Boolean
Read/Write Read/Write
Indicates whether to show the Automatic Deletion box on Indicates whether to show the CallBack checkbox on the
the Fax Information dialog box when the members of this Fax Information dialog box when the members of this
group create new faxes. group create new faxes.
HideUIControlBillInfo1 HideUIControlCertified
Data type: Boolean Data type: Boolean
Read/Write Read/Write
Indicates whether to show the first billing code box on the Indicates whether to show the Certified Delivery checkbox
Fax Information dialog box when the members of this on the Fax Information dialog box when the members of
group create new faxes. this group create new faxes.
HideUIControlBillInfo2 HideUIControlCity
Data type: Boolean Data type: Boolean
Read/Write Read/Write
Indicates whether to show the second billing code box on the Indicates whether to show the To City/State checkbox on
Fax Information dialog box when the members of this the Fax Information dialog box when the members of this
group create new faxes. group create new faxes.
HideUIControlBillInfoLookup HideUIControlComments
Data type: Boolean Data type: Boolean
Read/Write Read/Write
Indicates whether to show the Billing Code Lookup button on Indicates whether to show the Comments box on the Fax
the Fax Information dialog box when the members of this Information dialog box when the members of this group
group create new faxes. create new faxes.
HideUIControlBodyAttachments HideUIControlCompany
Data type: Boolean Data type: Boolean
Read/Write Read/Write
Indicates whether to Showthe To Company box on the Fax Indicates whether to show the Use form boxes on the Fax
Information dialog box when the members of this group Information dialog box when the members of this group
create new faxes. create new faxes.
HideUIControlCoverSheetSelect HideUIControlFromName
Data type: Boolean Data type: Boolean
Read/Write Read/Write
Indicates whether to show the Cover Sheet File box on the Indicates whether to show the From Name box on the Fax
Fax Information dialog box when the members of this Information dialog box when the members of this group
group create new faxes. create new faxes.
HideUIControlCoverSheetToggle HideUIControlFromPhoneNumber
Data type: Boolean Data type: Boolean
Read/Write Read/Write
Indicates whether to show the Use cover sheet checkbox Indicates whether to Show the From Voice Number box on
on the Fax Information dialog box when the members of the Fax Information dialog box when the members of this
this group create new faxes. group create new faxes.
HideUIControlDelaySend HideUIControlGeneralFax
Data type: Boolean Data type: Boolean
Read/Write Read/Write
Indicates whether to show the Delay send checkbox on the Indicates whether to show the From Company fax number
Fax Information dialog box when the members of this box on the Fax Information dialog box when the members
group create new faxes. of this group create new faxes.
HideUIControlFileAttach HideUIControlGeneralVoice
Data type: Boolean Data type: Boolean
Read/Write Read/Write
Indicates whether to show the Attach Fileoptions on the Fax Indicates whether to show the From Company voice
Information dialog box when the members of this group number box on the Fax Information dialog box when the
create new faxes. members of this group create new faxes.
HideUIControlFormType HideUIControlLibraryDocumentSelect
Data type: Boolean Data type: Boolean
Read/Write Read/Write
Indicates whether to show the list of available library Indicates whether to show the PDF Options button on the
document attachments on the Fax Information dialog box Fax Information dialog box when the members of this
when the members of this group create new faxes. group create new faxes.
HideUIControlMoreButton HideUIControlPhoneBookButton
Data type: Boolean Data type: Boolean
Read/Write Read/Write
Indicates whether to show the More Options tab on the Fax Indicates whether to show the Phonebook button on the Fax
Information dialog box when the members of this group Information dialog box when the members of this group
create new faxes. create new faxes.
HideUIControlNativeDocumentAttachments HideUIControlPreview
Data type: Boolean Data type: Boolean
Read/Write Read/Write
Indicates whether to show the Native Document Indicates whether to show the Hold for preview checkbox
Attachment checkbox on the Fax Information dialog box on the Fax Information dialog box when the members of
when the members of this group create new faxes. this group create new faxes.
HideUIControlNotes HideUIControlPriority
Data type: Boolean Data type: Boolean
Read/Write Read/Write
Indicates whether to show the Notes box on the Fax Indicates whether to show the Priority box on the Fax
Information dialog box when the members of this group Information dialog box when the members of this group
create new faxes. create new faxes.
HideUIControlNotesButton HideUIControlPrivateFax
Data type: Boolean Data type: Boolean
Read/Write Read/Write
Indicates whether to show the Cover Sheet Notes tab on Indicates whether to show the From Private fax number
the Fax Information dialog box when the members of this box on the Fax Information dialog box when the members
group create new faxes. of this group create new faxes.
HideUIControlPDFOptions HideUIControlRecipientType
Data type: Boolean Data type: Boolean
Read/Write Read/Write
Indicates whether to show the recipient type (fax or e-mail) Indicates whether to show the Create PDF image checkbox
selection button on the Fax Information dialog box when on the Fax Information dialog box when the members of
the members of this group create new faxes. this group create new faxes.
HideUIControlScanAttach HideUIControlVoiceNumber
Data type: Boolean Data type: Boolean
Read/Write Read/Write
Indicates whether to show the Scan Attachments button on Indicates whether to show the To Voice number box on the
the Fax Information dialog box when the members of this Fax Information dialog box when the members of this
group create new faxes. group create new faxes.
HideUIControlSecureSend ID
Data type: Boolean Data type: String
Read/Write Read/Write
Indicates whether to show the Recipient Fax ID box on the Specifies an ID you can assign to identify each unique object.
Fax Information dialog box when the members of this If you specify a value without specifying a property name,
group create new faxes. the system assigns that value as the object ID.
HideUIControlSmartResume IsForcedSchedulingEnabled
Data type: Boolean Data type: Boolean
Read/Write Read/Write
Indicates whether to show the Use smart resume checkbox Specifies whether forced scheduling is enabled. With this
on the Fax Information dialog box when the members of feature you can automatically hold all outgoing faxes in a
this group create new faxes. queue for a specified transmission time, such as late night
when traffic might be less. Use the ConcurrentStartTime
HideUIControlTransmitQuality
property to specify when the faxes begin transmitting; use
Data type: Boolean the ConcurrentEndTime property to specify when forced
Read/Write scheduling ends.
Indicates whether to show the Fine mode checkbox on the MaxConcurrentFaxes
Fax Information dialog box when the members of this
Data type: Integer
group create new faxes.
Read/Write
HideUIControlUsePDF
If forced scheduling is enabled, this specifies the maximum
Data type: Boolean number of faxes that can be scheduled by the users in this
Read/Write group for transmission between the specified start and end
PrimaryAdministrator Refresh
Data type: User Re-loads the list of group objects from the fax server.
Read/Write Remove
Specifies the User object of the user who is the primary Removes a specified object from the collection but not from
administrator for this group. See also the server. To remove an object from the server, use the
AlternateAdministrator. Delete method in the object you want to delete.
PrimaryAdministratorID RemoveAll
Data type: String Removes all objects from the collection but not from the
Read/Write server. To remove an object from the server, use the Delete
method in the object you want to delete.
Specifies the ID of the user who is the primary administrator
for this group. See also AlternateAdministratorID. SaveToXML
Saves XML data to an XML file.
Users
Data type: Users Collection Groups collection properties
Read-only
Count
Specifies the Users Collection that contains the users who are Data type: Long
in this group.
Read-only
Example The following code creates a group called “support”
Returns the number of objects in the collection.
and automatically deletes sent and received faxes for the
group after 90 days. Create
Data type: Group
Set obGroup = MyFaxServer.CreateObject(coGroup)
Read-only
obGroup.ID = “support”
obGroup.FaxAgeReceived = 90 Returns a new object.
obGroup.FaxAgeSent = 90 Item
Data type: Group
Groups Collection Read-only
A Groups collection is a set of one or more Group objects.
Returns the object with the specified item number. Each Handle
object in the collection is numbered, starting with 1. Data type: Long
Read-only
Signature Returns the code used internally by the RightFax system to
A signature is stored as an encrypted image file on the fax identify each unique object.
server. The Signature object contains the name of the file
ID
and a set of up to three users who are authorized to use the
signature. Data type: String
Read/Write
Signature methods Specifies an ID you can assign to identify each unique object.
Delete If you specify a value without specifying a property name,
Removes the object from the server. the system assigns that value as the object ID.
ReadFromXML Owner
Reads XML data from an XML file. Data type: User
Read/Write
Refresh
Re-loads the list of signature objects from the fax server. Specifies the user who is the owner of the signature.
Save Users
Writes the object to the server. Data type: Users Collection
Read/Write
SaveToXML
Specifies the Users Collection that identifies the users who
Saves XML data to an XML file.
are authorized to use the Signature object. There can be up
Signature properties to three users in the collection.
User properties
AccessibleByTheseUsers
This can be changed for each fax by the OCR property. See Numeric Name
also the AutoOCRLayout property. equivalent
Numeric Name 0 fpNormal
equivalent 1 fpLow
0 olWYSIWYG 2 fpHigh
1 olLeftJustified
DefaultPrinter DefaultToCityState
Data type: Printer Data type: String
Read/Write Read/Write
Specifies the Printer object where faxes print when the user Specifies the default recipient city and state information. This
specifies the print function. To specify the printer for can be changed for each fax with the ToCityState property.
automatic fax printing, see the SentAutoprintPrinterand DefaultToCompany
ReceivedAutoprintPrinter properties. Data type: String
DefaultPrinterID Read/Write
Data type: String Specifies the default recipient company information. This can
Read/Write be changed for each fax with the ToCompany property.
Specifies a string value for the printer ID where faxes print DefaultToFaxNumber
when the user specifies the print function. To specify the Data type: String
printer for automatic fax printing, see the
Read/Write
SentAutoprintPrinter and ReceivedAutoprintPrinter
properties. Specifies the default fax number that is entered for received
faxes. This can be changed for each fax with the
DefaultPriority
ToFaxNumber property.
Data type: FaxPriorityType enumerated value
DefaultToName
Read/Write
Data type: String
Specifies the default priority for the fax using one of the valid
Read/Write
FaxPriorityType enumerated values. This can be changed for
each fax with the Priority property. For the user to send a fax Specifies the default recipient name. This can be changed for
with High priority, the IsAbleToUseHighPriority property each fax with the ToName property.
must be set to True or 1, and the HighestAvailablePriority
DefaultToVoiceNumber
must be set to fpHigh.
Data type: String
Folders Specifies the highest priority available to this user. Set the
Data type: Folders Collection priority to one of the valid FaxPriorityType values:
Read-only
Numeric Enumerated value
Returns the Folders Collection for the user. See also the equivalent
Folder object.
0 fpNormal
GeneralFaxNumber
1 fpLow
Data type: String
2 fpHigh
Read/Write
For the user to send a fax with High priority, this property
Specifies the general fax number, such as for a department.
must be set to fpHigh and the IsAbleToUseHighPriority
GeneralVoiceNumber property to True or 1. See also the DefaultPriority and the
Data type: String Priority property.
Read/Write ID
Specifies the general telephone number, such as for a Data type: String
department or switchboard. Read/Write
Handle Specifies an ID you can assign to identify each unique object.
Data type: Long If you specify a value without specifying a property name,
Read-only the system assigns that value as the object ID.
make changes; False or 0 indicates that the user is not Data type: Boolean
authorized to make changes. Read/Write
IsAbleToCreateNewForms Indicates whether the user is authorized to send text
Data type: Boolean messages via SMS. True or 1 indicates that the user is
Read/Write authorized to send SMS; False or 0 indicates that the user is
not authorized to send SMS.
Indicates whether the user is authorized to create a new
Form object. True or 1 indicates that the user is authorized to IsAbleToUseHighPriority
create new forms; False or 0 indicates that the user is not Data type: Boolean
authorized to create new forms. See also the Form object. Read/Write
IsAbleToCreateNewLibraryDocuments Specifies whether the user is authorized to send faxes with
Data type: Boolean priority set to High. True or 1 indicates the user is
Read/Write authorized; False or 0 indicates the user is not authorized.
For the user to send a fax with High priority, this property
Indicates whether the user is authorized to create a new must be set to True or 1 and the HighestAvailablePriority
LibraryDocument object. True or 1 indicates that the user is property to fpHigh. See also the DefaultPriority property and
authorized to create new library documents; False or 0 the Priority property in the Faxes Collection.
indicates that the user is not authorized to create new library
documents. See also the LibraryDocument object. IsAdministrator
Data type: Boolean
IsAbleToOCR
Read/Write
Data type: Boolean
Read/Write Indicates whether the user has permission to control the fax
server settings and features. True or 1 indicates the user is
Specifies whether the user is authorized to use the RightFax an administrator; False or 0 indicates the user is not an
OCR Converter software to create text documents from fax administrator.
images. True or 1 indicates the user is authorized; False or 0
indicates the user is not authorized. IsAlternateNotificationEnabled
Data type: Boolean
IsAbleToRunReports
Read/Write
Data type: Boolean
Read/Write Indicates whether the user has turned on the alternate
notification feature. True or 1 indicates this feature is on;
Specifies whether the user is authorized to run reports. True False or 0 indicates it is not on. Alternate notification sends a
or 1 indicates the user is authorized; False or 0 indicates the notice to a person other than the user when certain events
user is not authorized. occur. For example, a user can receive notification when a
IsAbleToSendSMS
fax does not transmit properly (by setting Specifies whether the body of received faxes will
SendNotifyOnSendFailure to True or 1). The notice can also automatically print on the default printer specified by the
be sent to an alternate recipient, such as a support desk. The ReceivedAutoprintPrinter property. True or 1 indicates the
user specifies the AlternateNotifyUser property. body of the faxes automatically prints; False or 0 indicates
the body of the faxes does not automatically print. The
IsArchiveEnable
IsFaxesSetToBeAutomaticallyPrinted property must be set to
Data type: Boolean True or 1 for this property to be valid.
Read/Write
IsAutoprintReceivedCoversheetEnabled
Specifies whether the user is authorized to generate archive
Data type: Boolean
events. True or 1 indicates the user is authorized; False or 0
Read/Write
indicates the user is not authorized.
Specifies whether the cover sheet of received faxes will
IsAutoforwardEnabled
automatically print on the default printer specified by the
Data type: Boolean ReceivedAutoprintPrinter property. True or 1 indicates the
Read/Write fax cover sheets automatically print; False or 0 indicates the
Specifies whether incoming faxes for this user will fax cover sheets do not automatically print.
automatically be forwarded to a specified person or fax TheIsFaxesSetToBeAutomaticallyPrinted property must be
number. True or 1 indicates the faxes are forwarded; False set to True or 1 for this property to be valid.
or 0 indicates they are not forwarded. To use this feature, IsAutoprintReceivedHistoryEnabled
specify the AutoForwardType property. If the forwarding type
Data type: Boolean
is fax, also specify the fax number with the
Read/Write
AutoFaxListUpdate property.
Specifies whether the history of received faxes will
IsAutoOCREnabled
automatically print on the default printer specified by the
Data type: Boolean ReceivedAutoprintPrinter property. True or 1 indicates the
Read/Write history automatically prints; False or 0 indicates the history
Specifies whether the incoming faxes for this user will does not automatically print. The
automatically be converted to text files with the RightFax IsFaxesSetToBeAutomaticallyPrinted property must be set to
OCR Converter software. True or 1 indicates the conversion True or 1 for this property to be valid.
happens automatically; False or 0 indicates the fax is not IsAutoprintSentBodyEnabled
automatically converted. See also the AutoOCRExtension,
Data type: Boolean
AutoOCRFormat, and AutoOCRLayout properties.
Read/Write
IsAutoprintReceivedBodyEnabled
Specifies whether the body of sent faxes will automatically
Data type: Boolean print on the default printer specified by the
Read/Write
SentAutoprintPrinter property. True or 1 indicates the body of Specifies whether faxes that failed during the send process
the faxes automatically prints; False or 0 indicates the body will automatically print on the default printer specified by the
of the faxes does not automatically print. The SentAutoprintPrinter property. True or 1 indicates the faxes
IsAutoprintSentEnabled property must be set to True or 1 for automatically print; False or 0 indicates the faxes do not
this to take effect. The IsFaxesSetToBeAutomaticallyPrinted automatically print. The IsAutoprintSentEnabled property and
property must be set to True or 1 for this property to be the IsFaxesSetToBeAutomaticallyPrinted property must be
valid. set to True or 1 for this to take effect.
IsAutoprintSentCoversheetEnabled IsAutoprintSentHistoryEnabled
Data type: Boolean Data type: Boolean
Read/Write Read/Write
Specifies whether the cover sheet of sent faxes will Specifies whether the history of sent faxes will automatically
automatically print on the default printer specified by the print on the default printer specified by the
SentAutoprintPrinter property. True or 1 indicates the fax SentAutoprintPrinter property. True or 1 indicates the history
cover sheets automatically print; False or 0 indicates the fax automatically prints; False or 0 indicates the history does not
cover sheets do not automatically print. The automatically print. The IsAutoprintSentEnabled property and
IsAutoprintSentEnabled property must be set to True or 1 for the IsFaxesSetToBeAutomaticallyPrinted property must be
this to take effect. The IsFaxesSetToBeAutomaticallyPrinted set to True or 1 for this to take effect.
property must be set to True or 1 for this property to be
IsAutoprintSentSuccessFaxesEnabled
valid.
Data type: Boolean
IsAutoprintSentEnabled Read/Write
Data type: Boolean
Specifies whether faxes that were successfully sent will
Read/Write
automatically print on the default printer specified by the
Specifies whether all sent faxes will automatically print on SentAutoprintPrinter property. True or 1 indicates the faxes
the default printer specified by the SentAutoprintPrinter automatically print; False or 0 indicates the faxes do not
property. True or 1 indicates the faxes automatically print; automatically print. The IsAutoprintSentEnabled property and
False or 0 indicates the faxes do not automatically print. The the IsFaxesSetToBeAutomaticallyPrinted property must be
IsFaxesSetToBeAutomaticallyPrinted property must be set to set to True or 1 for this to take effect.
True or 1 for this property to be valid.
IsCallbackRequested
IsAutoprintSentFailedFaxesEnabled Data type: Boolean
Data type: Boolean Read/Write
Read/Write
Specifies whether the user default is to request the recipient
to call the voice number when the fax is transmitted. This can
be changed for each fax with the IsCallbackRequested faxes so that if an interruption occurs, the transmission can
property in the Fax object. True or 1 indicates a call is be continued from the point of the interruption rather than re-
requested; False or 0 indicates it is not. transmitting the entire fax. True or 1 indicates that
SmartResume is enabled by default; False or 0 indicates it is
IsCoverPageDefaultedOn
not enabled. This can be changed by the UseSmartResume
Data type: Boolean property for each fax.
Read/Write
IsEmptyTrashEnabled
Specifies whether the default is set to include a cover page
Data type: Boolean
with outgoing faxes. True or 1 indicates a cover page is sent;
Read/Write
False or 0 indicates it is not sent. This can be changed by the
HasCoversheet property for each fax. Specifies whether faxes in the trash folder are deleted when
the user exits the system. True or 1 deletes the contents of
IsDefaultCoverSheetsFine
the trash folder; False or 0 indicates the faxes remain in the
Data type: Boolean trash, to be manually emptied later.
Read/Write
IsExemptFromBillingCodeVerification
Specifies whether the default is set to send the cover page in
Data type: Boolean
high resolution (200×200 dots per inch). True or 1 indicates a
Read/Write
cover page is sent in fine mode; False or 0 indicates it does
be sent in low resolution (100×100 dots per inch). This can be Specifies whether billing codes submitted by this user are
changed by the IsCoversheetFine property for each fax. checked against the list of valid billing codes. True or 1
indicates the codes is not checked; False or 0 indicates they
IsDefaultFine
are checked. See also the BillingCode object.
Data type: Boolean
Read/Write IsFaxesSetToBeAutomaticallyPrinted
Data type: Boolean
Specifies whether the default is set to send the body of the
Read/Write
fax in high resolution (200×200 dots per inch). True or 1
indicates a fax is sent in fine resolution; False or 0 indicates Specifies whether faxes automatically print after
it does be sent in low resolution (100×100 dots per inch). transmission is attempted. True or 1 indicates automatic
This can be changed by the IsFineMode property for each fax. printing; False or 0 indicates that faxes are not automatically
printed. To control which faxes print, see the
IsDefaultSmartResumeEnabled
IsAutoprintReceivedBodyEnabled,
Data type: Boolean IsAutoprintReceivedCoversheetEnabled,
Read/Write IsAutoprintReceivedHistoryEnabled,
Specifies whether the RightFax Smart Resume feature is IsAutoprintSentBodyEnabled,
enabled. This feature stores information about transmitting IsAutoprintSentCoversheetEnabled, IsAutoprintSentEnabled,
Read/Write indicates that anyone can browse through this user’s faxes.
False or 0 indicates that a password is required.
Specifies whether the user is allowed to add annotations to
received faxes. True or 1 indicates the user is not allowed to IsWebRFXEnabled
annotate; False or 0 indicates the user is allowed to annotate. Data type: Boolean
IsUnableToChangeNotificationSettings Read/Write
Data type: Boolean Specifies whether the graphic images posted to a web site
Read/Write are in RFX format. True or 1 indicates the graphics are in RFX
format. False or 0 indicates they are not. The default is GIF
Specifies whether the user is allowed to change notification
format. See also the IsWebTiffEnabled property.
settings. True or 1 indicates the user is not allowed to change
the settings; False or 0 indicates the user is allowed to IsWebTiffEnabled
change them. Data type: Boolean
IsUnableToDelete Read/Write
Data type: Boolean Specifies whether the graphic images posted to a web site is
Read/Write in TIFF format. True or 1 indicates the graphics are in TIFF
format. False or 0 indicates they are not. The default is GIF
Specifies whether the user is allowed to delete faxes. True or
format. See also the IsWebRFXEnabled property.
1 indicates the user is not allowed to delete; False or 0
indicates the user is allowed to delete. MemberOfGroup
IsUnableToEditBillingCodes Data type: Group
Data type: Boolean Read/Write
Read/Write Specifies the name of the user group of this user. If you
change this property, theMemberOfGroupID for this user and
Specifies whether the user is allowed to edit BillingCode
the Users property in the Group object also change.
objects. True or 1 indicates the user is not allowed to edit
billing codes; False or 0 indicates the user is allowed to edit MemberOfGroupID
billing codes. Data type: String
IsUnprotected Read/Write
Data type: Boolean Specifies the ID of the user group of this user. If you change
Read/Write this property, theMemberOfGroup for this user and the Users
property in the Group object also change.
Specifies whether the user’s faxes are available for other
people to see without entering the user’s password. True or 1 NeedsFaxesApproved
Data type: Boolean
Returns the PhoneBook Collection for the user. See also the Specifies how the user wants to be notified of received faxes.
PhoneBook Collection. The value is one of the ReceiveNotifyType enumerated
values. If the notify type is rnOnce or rnPeriodically, the
ReceivedAutoprintPrinter
NotifyType property must also be set .
Data type: Printer
Read/Write Numeric Name Notes
equivalent
Specifies the printer where the received faxes print if the
IsAutoprintReceivedBodyEnabled, 0 rnNone No notification is sent.
IsAutoprintReceivedCoversheetEnabled, or 1 rnOnce Notification is only sent on initial receipt
IsAutoprintReceivedHistoryEnabled property is set to True or of the fax.
1.
2 rnPeriodically notification is sent periodically
ReceivedAutoprintPrinterID according to the specifications set by
Data type: String the administrator.
Read/Write
RouteFormat
If autoprinting is enabled, this returns a string value for the
printer ID that prints received faxes. Data type: UseRouteFormatType enumerated value
Read/Write
ReceivedAutoprintPrinterResolution
Data type: AutoprintResolutionType enumerated value Specifies the fax format that this user forwards using the
ForwardToNewFaxNumber property in the Fax object. This
Read/Write
converts the fax to the specified format such as a TIFF or PDF
The print resolution to use for auto printing of received faxes. before sending to a recipient outside of the RightFax system.
This must be an enum value of type AutoprintResolutionType: The format must be one of the valid UserRouteFormatType
enumerated values. See also the RouteInfo and RouteType
Numeric Name properties.
equivalent
0 aprHigh Numeric Name
equivalent
1 aprMedium
0 urfDCX
2 aprLow
1 urfPCX
ReceiveNotify 2 urfTiffGroup3
Data type: ReceiveNotifyType enumerated value 3 urfTiffGroup4
Read/Write 4 urfGIF
RouteInfo 10 rExchange
Data type: String 11 rSMTP
Read/Write 12 rANI
Specifies the information that the server requires for routing. 13 rSAP1
This varies for each route type. See the RightFax
14 rSAP2
Administrator’s Guide fax sever documentation for more
information. 15 rSAP3
RouteType 16 rSAP4
Data type: RouteType enumerated value 17 rSAP5
Read/Write 18 rSAP6
Specifies the type of system receiving routed faxes, such as 19 rSAP7
CCMail, SAP, or Lotus Notes. The routing type must be one of 20 rSAP8
the valid RouteType enumerated values. Depending on the
recipient system, you also need to specify the RouteInfo and 21 rSAP9
RouteFormat properties. 22 rSAP10
Specifies whether a single notification is sent to the user Specifies a string value for the Printer ID where the sent
when a sent fax begins transmission. The system uses the faxes print if the IsAutoprintSentEnabled property is set to
setting in the NotifyType property to determine the type of True or 1.
notification for the user. True or 1 indicates notification is
UpdateInterval
sent; False or 0 indicates it is not sent.
Data type: Integer
SendNotifyOnSendingPeriodically Read/Write
Data type: Boolean
Specifies the time in minutes between automatic updates of
Read/Write
the user’s fax list.
Specifies whether repeated notifications are sent to the user
UserName
as a sent fax is transmitted. The system uses the setting in
the NotifyType property to determine the type of notification Data type: String
for the user. The number and frequency of the periodic Read/Write
notifications is determined by the administrator. True or 1 Specifies the full name of the user.
indicates notification is sent; False or 0 indicates it is not
sent. VoiceMailSubscriberID
Data type: Long
SendNotifyOnSentSuccessfully
Read/Write
Data type: Boolean
Read/Write Specifies the voice mail subscriber ID associated with the
user, if any.
Specifies whether notification is sent to the user when a sent
fax completes successful transmission. The system uses the WebClientImageFormat
setting in the NotifyType property to determine the type of Data type: UserRouteFormatType enumerated value
notification for the user. True or 1 indicates notification is Read/Write
sent; False or 0 indicates it is not sent.
Specifies the format for converting images, for distribution
SentAutoprintPrinter over the Web Client. The format must be one one of the valid
Data type: Printer UserRouteFormatType values.
Read/Write Numeric Name
Specifies the Printer object where the sent faxes print if the equivalent
IsAutoprintSentEnabled property is set to True or 1. 0 urfDCX
SentAutoprintPrinterID 1 urfPCX
Data type: String
2 urfTiffGroup3
Read/Write
Numeric Name the server. To remove an object from the server, use the
equivalent Delete method in the object you want to delete.
3 urfTiffGroup4 RemoveAll
Removes all objects from the collection but not from the
4 urfGIF
server. To remove an object from the server, use the Delete
5 urfPDF method in the object you want to delete.
6 urfPDFWithThumbnails SaveToXML
7 urfCPC Saves XML data to an XML file.
8 urfRFX
Users Collection properties
9 urfPNG
Count
Data type: Long
WillReceivedFaxesHaveBillingCodesAssociated Read-only
Data type: Boolean Returns the number of objects in the collection.
Read/Write
Create
Specifies whether the user’s default billing codes Data type: User
automatically be associated with incoming faxes. True or 1
Read-only
indicates the billing codes are automatically assigned; False
or 0 indicates they are not. See also the DefaultBillingCode Returns a new object.
property. Item
Data type: User
Users Collection
Read-only
A Users Collection is a set of one or more User objects.
Returns the object with the specified item number. Each
Users Collection methods object in the collection is numbered, starting with 1.
Add
Adds an object to the collection
Refresh
Re-loads the list of form objects from the fax server.
Remove
Removes a specified object from the collection but not from
Each phone item element contains the addressing information Specifies billing code 1.
for a single recipient. The PhoneItemElement also contains BillingCode2
the information specified in the PhoneItem containing the Data type: String
element, including all properties and methods.
Read/Write
Printer DefaultPrintSource
Data type: PrintPaperSourceType enumerated value
The Printer object defines a printer for the RightFax system.
Read/Write
Printer methods Specifies the default location of the paper in the printer. The
Delete size of paper in this default location is specified by the
DefaultPrintSize property. The paper source must be one of
Removes the print record from the server.
the valid PrintPaperSourceType values:
ReadFromXML
Name Numeric equivalent
Reads XML data from an XML file.
ppsDefault 0
Save
Writes the print record to the server. ppsUpperOrTray1 1
ppsLowerOrTray2 2
SaveToXML
Saves the phonebook element to an XML file. ppsManual 3
ppsTray3 4
Printer properties
ppsMPTrayOrTray4 5
DefaultPrintSize ppsHighCapacityOrTray5 6
Data type: PrintPaperSizeType enumerated value
Description
Numeric Name
Data type: String equivalent
Read/Write
0 pNone
Specifies a description for this printer.
1 pLaserJet
Handle 2 pLaserJetII
Data type: Long
3 pDeskJet
Read-only
4 pLaserJetIII
Returns the database handle used internally by the RightFax
system to identify each unique object. 5 pDeskJet500
6 pPostScriptLevel1
ID
Data type: String 7 pLaserJet4
Read/Write 8 pPPDS
Specifies an ID you can assign to identify each unique object. 9 pXIP
If you specify a value without specifying a property name, 10 pXeroxDCS20
the system assigns that value as the object ID.
11 pXeroxDCS35
PrintDirectlyToAnIPAddress
12 pLaserJet3si
Data type: Boolean
13 pLaserJet4si
Read/Write
14 pLaserJet5si
Specifies whether the printer is printing to an IP address.
True or 1 indicates the printer is printing to an IP address; 15 pATIImagePrinter
False or 0 indicates it is not. 16 pLaserJet5siMopier
PrinterType 17 pXeroxN24
Data type: PrinterType enumerated value 18 pXeroxDCS220
Read/Write 19 pXeroxDCS230
Specifies the brand and model of printer. The printer type 20 pXeroxDCS240
must be one of the valid PrinterType enumerated values.
21 pXeroxDCS255
22 pXeroxDCS265
23 pXeroxRicoh250
Returns the object with the specified item number. Each Specifies how the printer will create two-sided copies, if the
object in the collection is numbered, starting with 1. printer supports this feature. The duplex type must be one of
the valid PrintDuplexType enumerated values.
PrintRequest
Numeric Name
A PrintRequest contains the specific information needed to equivalent
print a Fax object, such as resolution and paper size
0 pdDefault
information. Use the Request method in the Printer object to
create a print request. Use the print request to print the fax. 1 pdSingle
2 pdLongEdge
PrintRequest methods
3 pdShortEdge
ReadFromXML
Reads XML data from an XML file.
SaveToXML EndPage
Saves the phonebook element to an XML file. Data type: Integer
Read/Write
Specifies the last page of a multi-page output that is printed.
To print all pages, specify –1 as the end page.
PrintRequest properties
NumberOfCopies
CollateOutput Data type: Integer
Data type: Boolean Read/Write
Read/Write
Specifies the number of copies to print.
Specifies whether multiple copies of multi-page faxes are
OutputBin
collated, producing one copy of the entire fax before
beginning the second copy. This property only applies to Data type: PrintOutputBinType enumerated value
printer types that support this feature. True or 1 indicates the Read/Write
output is collated; False or 0 indicates it is not collated. Specifies where in the printer the printed output is sent. For
Duplex example, if there is a separate mechanism for stapling, the
Data type: PrintDuplexType enumerated value printed pages can go to the poBinFinisher bin. The bin must
be one of the valid PrintOutputBinType values:
Read/Write
5 ppsMPTrayOrTray4 Specifies the print resolution for the fax. Note that this is not
the same as the Fax object property IsFineMode, which
6 ppsHighCapacityOrTray5
specifies the fax image resolution. The print resolution must
be one of the valid PrintResolutionType values, and varies
with the type of output printer.
PrintCover
Data type: Boolean
Size
Data type: PrintSizeType enumerated value
Read/Write
Specifies the size of the fax paper. The paper size must be
one of the valid PrintSizeType values. The default value for
each printer is specified with the DefaultPrintSize property.
Numeric Name
equivalent
0 psDefault
1 psLetter
2 psLegal
3 psA4
4 psLetterLegal
5 psA4Legal
StapleOutput
Data type: Boolean
Read/Write
Specifies whether multi-page output will be stapled, if the
printer supports this feature. True or 1 indicates the output is
stapled; False or 0 indicates it is not stapled.
StartPage
A history object is created when activity occurs for a fax, Data type: Long
such as transmission, printing, or conversion to OCR. The Read-only
base class of all fax histories is the FaxHistory object. There
Returns the number of objects in the collection.
are nine types of FaxHistory objects, each containing the
core FaxHistory object properties, as well as unique Item
properties for that type. Data type: Item
Example When a fax is approved, a core FaxHistory object Read-only
is created with a history type of FaxHistoryApproval. This
Returns the object with the specified item number. Each
indicates that the object also contains the properties
object in the collection is numbered, starting with 1.
specified by the ApprovalFaxHistory object, such as the name
of the user who approved the fax. If the type is
FaxHistoryPrint, the FaxHistory object contains information
FaxHistory
about the printer and number of pages printed, as specified in A FaxHistory object is created when activity occurs for a fax,
the PrintFaxHistory object. such as transmission, printing, or conversion to OCR. There
are nine types of FaxHistory objects, each containing the
FaxHistories Collection core FaxHistory object properties as well as unique
properties for that type.
A FaxHistories Collection is a set of one or more FaxHistory
objects. Example If the type is FaxHistoryApproval, the FaxHistory
object is an ApprovalFaxHistory object and contains the
FaxHistories Collection methods name of the user who approved the fax. If the type is
FaxHistoryPrint, the FaxHistory object is a PrintFaxHistory
SaveToXML
object and contains information about the printer and number
Saves the fax history collection to an XML file. of pages printed.
OpenText RightFax 10.6 Feature Pack 2 100 COM API Reference Guide
Chapter 7: Fax History Objects
OpenText RightFax 10.6 Feature Pack 2 101 COM API Reference Guide
Chapter 7: Fax History Objects ApprovalFaxHistory
OpenText RightFax 10.6 Feature Pack 2 102 COM API Reference Guide
Chapter 7: Fax History Objects DisapprovalFaxHistory
SaveToXML
OpenText RightFax 10.6 Feature Pack 2 103 COM API Reference Guide
Chapter 7: Fax History Objects NetForwardFaxHistory
Retrieves the date and time of the history transaction. Saves the fax history to an XML file.
OpenText RightFax 10.6 Feature Pack 2 104 COM API Reference Guide
Chapter 7: Fax History Objects OCRFaxHistory
Returns the user who was the owner of the fax before it was Returns the first field of the error message, if any, generated
forwarded. by the OCR conversion process.
TypeOfHistory Handle
Data type: FaxHistoryType Data type: Long
Read-only Read-only
Retrieves the type of history as a FaxHistoryType object. Database handle of the FaxHistory object.
UsersForwardedTo Message
Data type: Users Collection Data type: String
Read-only Read-only
Returns the Users collection that contains the users receiving Returns a status message generated by the OCR conversion
the forwarded fax. process.
TimeToOCR
OCRFaxHistory
Data type: Long
This history object is created when a fax is converted from Read-only
image file to text. The base FaxHistory object has a history
type of FaxHistoryOCR and also contains the following Returns the time, in seconds, that it took to convert the fax
properties. image to text.
TypeOfHistory
OCRFaxHistory methods Data type: FaxHistoryType
SaveToXML Read-only
Saves the fax history to an XML file. Retrieves the type of history as a FaxHistoryType object.
OCRFaxHistory properties PrintFaxHistory
DateTime
This type of history object is created when a fax is sent to the
Data type: Date printer. The base FaxHistory object has a history type of
Read-only FaxHistoryPrint and also contains the following properties.
Retrieves the date and time of the history transaction.
PrintFaxHistory methods
Error1
SaveToXML
Data type: Long
Saves the fax history to an XML file.
Read-only
OpenText RightFax 10.6 Feature Pack 2 105 COM API Reference Guide
Chapter 7: Fax History Objects RouteFaxHistory
PagesPrinted
PrintFaxHistory properties Data type: Integer
CopiesPrinted Read-only
Data type: Integer Returns the total number of pages printed.
Read-only
Printer
Returns the number of copies of the fax that were printed. Data type: Printer
DateTime Read-only
Data type: Date Returns the printer receiving the print job.
Read-only
TimeToPrint
Retrieves the date and time of the history transaction. Data type: Long
Error1 Read-only
Data type: Long Returns the time, in seconds, it took to print the fax.
Read-only
TypeOfHistory
Returns the first field of the error message, if any, generated Data type: FaxHistoryType
by the print process.
Read-only
Error2 Retrieves the type of history as a FaxHistoryType object.
Data type: Long
Read-only RouteFaxHistory
Returns the second field of the error message, if any, This type of history object is created when a fax was routed
generated by the print process. to other recipients who are not on the RightFax system. The
Handle base FaxHistory object has a history type of FaxHistoryRoute
and also contains the following properties.
Data type: Long
Read-only RouteFaxHistory methods
Database handle of the FaxHistory object. SaveToXML
Message Saves the fax history to an XML file.
Data type: String
Read-only
RouteFaxHistory properties
Returns a status message generated by the print process. DateTime
Data type: Date
OpenText RightFax 10.6 Feature Pack 2 106 COM API Reference Guide
Chapter 7: Fax History Objects SecureDocHistory
Read-only
Retrieves the date and time of the history transaction.
SecureDocHistory
This history object is created when a document is sent to an
Handle
e-mail address. The base FaxHistory object has a history
Data type: Long type of FaxHistorySecureDoc and contains the following
Read-only properties.
Database handle of the FaxHistory object.
SecureDocHistory methods
IsAutomaticallyRouted
SaveToXML
Data type: Boolean
Saves the fax history to an XML file.
Read-only
Returns True or 1 if the fax was automatically routed, False if SecureDocHistory properties
it was manually routed.
CurrentStatus
Notes Data type: String
Data type: String Read-only
Read-only
Returns a short description of the status of the document
Returns notes entered by the user when submitting the when the history element was created.
routing request.
DateTime
PreviousOwner Data type: Date
Data type: User Read-only
Read-only
Retrieves the date and time of the history transaction.
Returns the user who was the owner of the fax before it was
Handle
routed.
Data type: Long
TypeOfHistory Read-only
Data type: FaxHistoryType
Database handle of the FaxHistory object.
Read-only
RemoteIP
Retrieves the type of history as a FaxHistoryType object.
Data type: String
Read-only
Returns the IP address of the web client that downloaded the
certified document.
OpenText RightFax 10.6 Feature Pack 2 107 COM API Reference Guide
Chapter 7: Fax History Objects TransmissionFaxHistory
SMTPHost
Data type: String TransmissionFaxHistory
Read-only This type of history object is created when a fax is sent or
Returns the SMTP mail server that the e-mail was delivered received, even if the transmission is unsuccessful. The base
to for forwarding. FaxHistory object has a history type of
FaxHistoryTransmission and also contains the following
SMTPSender properties.
Data type: String
Read-only TransmissionFaxHistory methods
Returns the e-mail address of the user who sent the fax. SaveToXML
TerminationStatus Saves the fax history to an XML file.
Data type: TransmissionFaxHistoryTerminationStatusType TransmissionFaxHistory properties
Read-only
ANI
Returns the transmission status when the transmission is
Data type: String
complete. This is one of these values:
Read-only
l TERMSTAT_SUCCESSRECV
Returns the automatic number identification of the recipient’s
l TERMSTAT_TXRXERROR fax, if available.
l TERMSTAT_UNKNOWN AOCData
Data type: Variant
TypeOfHistory Read-only
Data type: FaxHistoryType
Returns the array of change information, if any, about the
Read-only
transmitting modem of the fax.BadPageCount
Retrieves the type of history as a FaxHistoryType object.
Data type: Integer
UserAgent Read-only
Data type: String Returns the number of pages that were not transmitted
Read-only successfully.
Returns the type of web browser that was used to download BoardType
the certified document.
Data type: TransmissionFaxHistoryBoardType enumerated
value
Read-only
OpenText RightFax 10.6 Feature Pack 2 108 COM API Reference Guide
Chapter 7: Fax History Objects OCRFaxHistory
Returns the type of fax board that was used to transmit the tfhbtBrooktroutNew. See the Brooktrout documentation for
fax. This is one of the valid more details.
TransmissionFaxHistoryBoardType enumerated values.
BrooktroutFaxResultStatus
Numeric Name Data type: Integer
equivalent Read-only
1 tfhbtBrooktrout Returns the status of the fax. This is only valid if the board
2 tfhbtGammalink used is a Brooktrout board and the board type is
tfhbtBrooktroutNew. See the Brooktrout documentation for
3 tfhbtBrooktroutNew
more details.
ChannelUsed
BrooktroutCallResultLineStatus Data type: Integer
Data type: Integer Read-only
Read-only Returns the specific channel used to send or receive the fax.
Returns the status of the line for a call. This is only valid if DateTime
the board used is a Brooktrout board and the board type is Data type: Date
tfhbtBrooktroutNew. See the Brooktrout documentation for
Read-only
more details.
Retrieves the date and time of the history transaction.
BrooktroutCallResultStatus
Data type: Integer Description
Read-only Data type: String
Read-only
Returns the status of a call. This is only valid if the board
used is a Brooktrout board and the board type is Retrieves the text history for the record.
tfhbtBrooktroutNew. See the Brooktrout documentation for ElapsedTime
more details.
Data type: Integer
BrooktroutFaxResultLineStatus Read-only
Data type: Integer
Returns the time it took in seconds for the transmission.
Read-only
FaxNumberSentTo
Returns the status of the fax line. This is only valid if the
Data type: String
board used is a Brooktrout board and the board type is
Read-only
Returns the fax number that the fax was sent to.
OpenText RightFax 10.6 Feature Pack 2 109 COM API Reference Guide
Chapter 7: Fax History Objects OCRFaxHistory
OpenText RightFax 10.6 Feature Pack 2 110 COM API Reference Guide
Chapter 7: Fax History Objects OCRFaxHistory
TerminationStatus
Numeric Name
Data type: TransmissionFaxHistoryTerminationStatusType equivalent
enumerated value
0x19 tfhtstRingNoAnswer
Read-only
0x20 tfhtstGroup2Detected
Returns the status of the line when the transmission is
complete. This is one of the enumerated values from the 0x1a tfhtstQuiet
following table. 0x1c tfhtstFaxMachine
Numeric Name 0x21 tfhtstLocalInUse
equivalent 0x22 tfhtstSilence
0x0 tfhtstSuccessReceive 0x23 tfhtstUnknown
0x1 tfhtstBusy1
TypeOfHistory
0x2 tfhtstBusy2
Data type: FaxHistoryType
0x3 tfhtstReorderBusy
Read-only
0x4 tfhtstRecall
Retrieves the type of history as a FaxHistoryType object.
0x5 tfhtstConfirm
0x6 tfhtstBlocked
0x8 tfhtstRing1
0x9 tfhtstRing2
0x10 tfhtstHuman
0x11 tfhtstAnswer
0x12 tfhtstDialtone
0x13 tfhtstSITDetect
0x14 tfhtstSITNOCIR
0x15 tfhtstTramsmissionError
0x16 tfhtstHangNoLoopCurrent
0x17 tfhtstCallColide
0x18 tfhtstDialNoLoopCurrent
OpenText RightFax 10.6 Feature Pack 2 111 COM API Reference Guide
Chapter 8: Event Handling and Event Objects Using the Event Handler
OpenText RightFax 10.6 Feature Pack 2 112 COM API Reference Guide
Chapter 8: Event Handling and Event Objects ArchiveEvent
your project.
ArchiveEvent methods
Set MyFaxServerEventHandler = MyFaxServerSet
EventsObj = MyFaxServer.Events None.
MsgBox “Found new complete event fax! Fax sent to “ Returns the database handle of the Fax object associated
+_ NewCompleteEvent.Fax.ToName + “. Status = “ +_ with the ArchiveEvent.
NewCompleteEvent.Fax.StatusDescription User
End Sub Data type: User
Read-only
ArchiveEvent Returns the User object associated with the ArchiveEvent.
The ArchiveEvent object is generated when a fax has UserID
completed sending. Set the IsArchiveEnable property in the Data type: String
User object to True in order to archive a fax. Read-only
OpenText RightFax 10.6 Feature Pack 2 113 COM API Reference Guide
Chapter 8: Event Handling and Event Objects CompleteEvent
Returns the ID of the User object associated with the Returns the Fax object associated with the fired Complete
ArchiveEvent. event.
See Also FaxHandle
ArchiveEvent on page 113, IsArchiveEnable, Data type: Long
WatchArchiveEvents Read-only
OpenText RightFax 10.6 Feature Pack 2 114 COM API Reference Guide
Chapter 8: Event Handling and Event Objects CompleteEvent
l CompleteEvent, Validate
Data type: ValidateEvent
l Events (property in the FaxServer object)
Read-only
l MessageEvent
Retrieves a Validate event from the queue if available.
l ValidateEvent
WatchArchiveEvents
Data type: Boolean
Events properties Read-only
Archive Specifies whether to check for Complete events. True or 1
Data type: ArchiveEvent checks for Complete events; False or 0 does not.
Read-only
WatchCompleteEvents
Retrieves an Archive event from the queue if available. Data type: Boolean
Complete Read-only
Data type: CompleteEvent This Boolean property specifies whether to check for
Read-only Complete events. True or 1 checks for Complete events;
False or 0 does not.
Retrieves a Complete event from the queue if available.
WatchMessageEvents
Interval
Data type: Boolean
Data type: Long
Read-only
Read/Write
This Boolean property specifies whether to check for Message
Specifies the time in seconds to wait before checking the
events. True or 1 checks for Message events; False or 0 does
event queue.
not.
Message
WatchMessageRouteEvents
Data type: MessageEvent
Data type: Boolean
Read-only
Read-only
Retrieves a Message event from the queue if available.
This Boolean property specifies whether to check for Message
MessageRoute Route events. True or 1 checks for Message Route events;
Data type: MessageRouteEvent False or 0 does not.
OpenText RightFax 10.6 Feature Pack 2 115 COM API Reference Guide
Chapter 8: Event Handling and Event Objects MessageEvent
WatchNewFaxes
See also:
Data type: Boolean
OnMessageEvent, SendNotifyOnIncompleteFirstTime,
Read-only SendNotifyOnIncompletePeriodically,
This Boolean property specifies whether to watch for new SendNotifyOnNoHoldForPreview,
faxes for a specific user. You must pass the User object as SendNotifyOnSendFailedWillRetry,
well as the Boolean value. True or 1 indicates the queue for SendNotifyOnSendFailure, SendNotifyOnSendingFirstTime,
the user is checked; False or 0 indicates it does not. SendNotifyOnSendingPeriodically,
SendNotifyOnSentSuccessfully, WatchMessageEvents
WatchValidateEvents
Data type: Boolean MessageEvent properties
Read-only
DeleteFax
Specifies whether to check for Validate events. True or 1 Data type: Boolean
checks for Validate events; False or 0 does not. Read-only
Example The following code sets up the event handler to Specifies whether the fax will be deleted after the message
watch for archive events. has been sent. True or 1 indicates it is deleted; False or 0
Private Sub Form_Load () indicates it is be deleted.
’Set Up Event Handler Fax
Set MyFaxServerEventHandler = MyFaxServer
Data type: Fax
SetEventsObj=MyFaxServer.Events
EventsObj.WatchArchiveEvents = True Read-only
EndSub Returns the Fax object associated with the fired Message
event.
MessageEvent FaxHandle
A MessageEvent is generated when the user needs to be Data type: Long
notified that something important happened to the fax. For Read-only
example, if the user has the property Returns the database handle of the Fax object associated
SendNotifyOnSentSuccessfully set to True, a message is with the fired Message event.
generated when a fax is sent successfully.
MessageEventType
MessageEvent methods Data type: MessageEventType enumerated value
None. Read-only
OpenText RightFax 10.6 Feature Pack 2 116 COM API Reference Guide
Chapter 8: Event Handling and Event Objects MessageRouteEvent
Returns the type of message generated. This is one of the Returns the text of the notification.
valid MessageEventType enumerated values.
User
Data type: User
Numeric Name Read-only
equivalent
Returns the User object associated with the fired
0 meNetworkBroadcast MessageEvent.
1 meCustom1
UserID
2 meCustom2 Data type: String
3 meCustom3 Read-only
4 meCustom4 Returns the ID of the User object associated with the fired
5 meCustom5 MessageEvent.
6 meCustom6
MessageRouteEvent
7 meCustom7
A MessageRouteEvent is generated when the user needs to
8 meCustom8 have a fax routed into an external mail system.
9 meCustom9
MessageRouteEvent methods
10 meCCMail
None.
11 meMSMail
13 meTRS
See also:
OnMessageEvent, SendNotifyOnIncompleteFirstTime,
14 meCX3
SendNotifyOnIncompletePeriodically,
15 mePager SendNotifyOnNoHoldForPreview,
16 meNotes SendNotifyOnSendFailedWillRetry,
SendNotifyOnSendFailure, SendNotifyOnSendingFirstTime,
17 meExchange SendNotifyOnSendingPeriodically,
18 meSMTP SendNotifyOnSentSuccessfully, WatchMessageEvents
65535 meAll
MessageRouteEvent properties
MessageText AutoPrintRequest
Data type: String Data type: PrintRequest
Read-only Read-only
OpenText RightFax 10.6 Feature Pack 2 117 COM API Reference Guide
Chapter 8: Event Handling and Event Objects MessageEvent
OpenText RightFax 10.6 Feature Pack 2 118 COM API Reference Guide
Chapter 8: Event Handling and Event Objects ValidateEvent
9 mreSAP3 UserID
10 mreSAP4 Data type: String
Read-only
11 mreINL
Returns the ID of the User object associated with the fired
12 mreINL2
MessageRouteEvent.
13 mreSAP5
14 mreSAP6 ValidateEvent
15 mreSAP7 A ValidateEvent object is generated when
16 mreSAP8 NeedsFaxesApproved is True in the User object.
MessageText Fax
Data type: String Data type: Fax
Read-only Read-only
Returns the text of the message. Returns the Fax object associated with the fired Validate
event.
User
FaxHandle
Data type: User
Data type: Long
OpenText RightFax 10.6 Feature Pack 2 119 COM API Reference Guide
Chapter 8: Event Handling and Event Objects MessageEvent
Read-only
Returns the database handle of the Fax object associated
with the fired Validate event.
ToFaxNumber
Data type: String
Read-only
Returns the destination fax number.
User
Data type: User
Read-only
Returns the User object associated with the fired Validate
event.
UserID
Data type: String
Read-only
Returns the ID of the User object associated with the fired
Validate event.
OpenText RightFax 10.6 Feature Pack 2 120 COM API Reference Guide
Chapter 9: Statistics FaxServer statistics properties
Chapter 9: Statistics
OpenText RightFax 10.6 Feature Pack 2 121 COM API Reference Guide
Chapter 9: Statistics Statistics
OpenText RightFax 10.6 Feature Pack 2 122 COM API Reference Guide
Chapter 9: Statistics
FsFlags
Value Flag Description
Data type: FaxServerStatFlags
Read-Only 0x00000400 statFsScheduleQueueDepth Number of documents
queued for
Flags indicating FaxServer values to be updated. Combine transmission.
the following flags to represent the statistics to query on the
next refresh. 0x00000800 statFsStatusQueueDepth Pending transmission
records.
Value Flag Description
0x00000001 statFsNewestActIndex Latest activity event FsInfoVersion
index recorded. Data type: short
Read-only
0x00000002 statFsInfoVersion Information version
Information version.
0x00000004 statFsSecondsUp Seconds the Fax Server
has been up. FsMaximumEvents
0x00000008 statFsMaximumEvents Maximum number of Data type: Long
events that can fit in Read-only
server queue. Maximum number of events that can fit in server queue.
0x00000010 statFsNumberEvents Number of events in
FsNewestActIndex
server queue.
Data type: Short
0x00000020 statFsEventsProcessed Number of server Read-only
events processed
Latest activity event index recorded.
0x00000040 statFsActRecords Number of activity
events recorded. FsNumberEvents
Data type: Long
0x00000080 statFsPercentAvailable Percentage of disk
Read-only
ImageSpace space available on
Image drive. Number of events in server queue.
0x00000100 statFsPercentAvailable Percentage of disk FsPercentAvailableDBSpace
DBSpace space available on Data type: Short
Database drive. Read-only
0x00000200 statFsActivity Fax Server activity. Percentage of disk space available on Database drive.
FsPercentAvailableImageSpace
Data type: Short
Read-only
OpenText RightFax 10.6 Feature Pack 2 123 COM API Reference Guide
Chapter 9: Statistics Board statistics properties
Status records queued for transmission. 0x00004000 statBrd1CrtTotalCallsPlcd Total calls placed.
0x00008000 statBrd1CrtTotalHangups Total hangups.
Board statistics properties 0x00010000 statBrd1CrtROMID ROM ID
Brd1Flags 0x00020000 statBrd1CrtCurrentRemoteID Current remote ID.
Data type: Board1ServerStatFlags 0x00040000 statBrd1CrtSending Sending.
Read/Write
0x00080000 statBrd1CrtTUIing Indicates when the
Flags indicating Board Server values to be updated. Combine board uses a telephone
the following flags to represent the statistics to query on the user interface.
next refresh.
0x00100000 statBrd1CrtReceiving Receiving.
Value Flag Description 0x00200000 statBrd1CrtDODing Indicates when the
0x00000001 statBrd1InfoVersion Board 1 Information board uses Docs On
Version. Demand.
0x00000002 statBrd1SecondsUp Seconds up. 0x00400000 statBrd1CrtGroup Group threshold left.
0x00000004 statBrd1ValidChannels Valid channels. ThreasholdLeft
0x00000010 statBrd1SendPagesDepth Send pages depth. 0x01000000 statBrd1CrtTicksOffHook Number of ticks off
hook.
OpenText RightFax 10.6 Feature Pack 2 124 COM API Reference Guide
Chapter 9: Statistics Board statistics properties
Brd1ChnType Brd1RoutingCode
Data type: Brd1ChnTypeVals Data type: Long
Read-only Read-only
Board 1 channel type. Requires a 0-based channel index at Board 1 Routing Code. Requires a 0-based channel index at
BrdChannelIndex. Values for Brd1ChnType and DT1ChnType: BrdChannelIndex.
Numeric Enumerated Brd1State
equivalent value Data type: String
0 brdctLoopStart Read-only
Brd1CanDo Brd1CurrentPage
DataType: Brd1CanDo Data type: Long
Read-only Read-only
Lists Board 1 authorized tasks. Requires a 0-based channel Board 1 current page. Requires a 0-based channel index at
index at BrdChannelIndex. Values for Brd1CanDo and BrdChannelIndex.
DT1CanDo: Brd1TotalPagesSent
Data type: Long
Read-only
OpenText RightFax 10.6 Feature Pack 2 125 COM API Reference Guide
Chapter 9: Statistics Board statistics properties
Total number of pages sent. Requires a 0-based channel Current remote ID. Requires a 0-based channel index at
index at BrdChannelIndex. BrdChannelIndex.
Brd1TotalPagesRcvd Brd1Sending
Data type: Long Data type: Brd1SendingVals
Read-only Read-only
Total number of pages received. Requires a 0-based channel Sending status of Board 1. Requires a 0-based channel index
index at BrdChannelIndex. at BrdChannelIndex. Values for Brd1Sending and
DT1Sending:
Brd1TotalCallsAnswered
Data type: Long Numeric Enumerated value
Read-only equivalent
Total number of calls answered. Requires a 0-based channel 0 brdsNothing_Idle
index at BrdChannelIndex.
1 brdsDial_and_Send
Brd1TotalCallsPlaced
Data type: Long Brd1TUIing
Read-only Data type: Brd1TUIingVals
Total number of calls placed. Requires a 0-based channel Read-only
index at BrdChannelIndex. Indicates when the board uses a telephone user interface
Brd1TotalHangups (TUI). Requires a 0-based channel index at BrdChannelIndex.
Data type: Long Values for Brd1TUIing and DT1TUIing:
Read-only Numeric Enumerated value
Total number of hangups. Requires a 0-based channel index equivalent
at BrdChannelIndex 0 brdtNothing_Idle
Brd1ROMID 1 brdtExecuting_TeleConnect_Call
Data type: String
Read-only
Brd1Receiving
ID for the ROM. Requires a 0-based channel index at Data type: Brd1ReceivingVals
BrdChannelIndex. Read-only
Brd1CurrentRemoteID Receiving status for Board 1. Requires a 0-based channel
Data type: String index at BrdChannelIndex. Values for Brd1Receiving and
Read-only DT1Receiving.
OpenText RightFax 10.6 Feature Pack 2 126 COM API Reference Guide
Chapter 9: Statistics Board statistics properties
Numeric Enumerated value Number of ticks off hook. Requires a 0-based channel index
equivalent at BrdChannelIndex.
0 brdrNothing_Idle Brd1PagesInCall
Data type: Short
1 brdrAnswer_and_receive
Read-only
OpenText RightFax 10.6 Feature Pack 2 127 COM API Reference Guide
Chapter 9: Statistics Board statistics properties
OpenText RightFax 10.6 Feature Pack 2 128 COM API Reference Guide
Chapter 9: Statistics Fax server board statistics properties
OpenText RightFax 10.6 Feature Pack 2 129 COM API Reference Guide
Chapter 9: Statistics Board statistics properties
FSBrdsMachineName
Value Flag Description
Data type: String
0x00000002 statFSBrdsBrdServerCount Server count Read-only
0x00000004 statFSBrdsMachineName Machine name Machine name.
0x00000008 statFSBrdsCmdPipeName Command pipe name
FSBrdsCmdPipeName
0x00000010 statFSBrdsImageDir Image directory Data type: String
0x00000020 statFSBrdsBFTDir Binary file transfer Read-only
directory Command pipe name.
0x00000040 statFSBrdsQueueDepthPages Queue depth
FSBrdsImageDir
(in pages)
Data type: String
0x00000080 statFSBrdsQueueDepthFaxes Queue depth Read-only
(in Faxes)
Path of the image directory.
0x00000100 statFSBrdsNumChannels Number of channels
FSBrdsBFTDir
0x00000200 statFSBrdsDown Boards down
Data type: String
0x00000400 statFSBrdsDownTime Total down time Read-only
0x00000800 statFSBrdsDownError Down error Returns the path of the binary file transfer directory.
0x00001000 statFSBrdsLocal Local boards
FSBrdsQueueDepthPages
0x00002000 statFSBrdsBrdSrvUniqueID Unique ID Data type: long
0x00004000 statFSBrdsCurrentLoad Current load Read-only
0x00008000 statFSBrdsLoadTimeStamp Load time stamp Fax Server queue depth in number of pages.
FSBrdsQueueDepthFaxes
FSBrdsInfoVersion
Data type: long
Data type: short Read-only
Read-only
Fax Server queue depth in number of faxes.
Returns the version number of the Fax Server Board
information. FSBrdsNumChannels
Data type: short
FSBrdsBrdServerCount
Read-only
Data type: short
Read-only This value returns 1 when boards are in simulation. For
actual simulation channels, use Brd1ValidChannels instead.]
Number of Board servers.
OpenText RightFax 10.6 Feature Pack 2 130 COM API Reference Guide
Chapter 9: Statistics Board statistics properties
FSBrdsDown
Data type: short Activity log statistics properties
Read-only ActLogFlags
Boards down. Data type: ActLogStatFlags
Read/Write
FSBrdsDownTime
Data type: long Flags to be combined to represent the statistics to query on
Read-only the next refresh.
OpenText RightFax 10.6 Feature Pack 2 131 COM API Reference Guide
Chapter 9: Statistics DocTransport statistics properties
OpenText RightFax 10.6 Feature Pack 2 132 COM API Reference Guide
Chapter 9: Statistics DocTransport statistics properties
OpenText RightFax 10.6 Feature Pack 2 133 COM API Reference Guide
Chapter 9: Statistics DocTransport statistics properties
OpenText RightFax 10.6 Feature Pack 2 134 COM API Reference Guide
Chapter 9: Statistics DocTransport statistics properties
Numeric Enumerated value Group threshold remaining. Requires a 0-based channel index
equivalent at DTChannelIndex.
0 brdtNothing_Idle DT1FaxesGrouped
Data type: Long
1 brdtExecuting_TeleConnect_Call
Read-only
OpenText RightFax 10.6 Feature Pack 2 135 COM API Reference Guide
Chapter 9: Statistics DocTransport statistics properties
DT1SIPhoneNum
OpenText RightFax 10.6 Feature Pack 2 136 COM API Reference Guide
Chapter 9: Statistics DocTransport statistics properties
OpenText RightFax 10.6 Feature Pack 2 137 COM API Reference Guide
Chapter 9: Statistics DocTransport statistics properties
DT2QueueDepth
Numeric Enumerated value
equivalent Data type: Long
Read-only
3 coReceive
Depth of queue. Requires a 0-based transport index at
4 coTUI DTQueueIndex.
5 coDOD
DT2QueueLoad
6 coQueryStatus Data type: Long
7 coVMNotify Read-only
8 coStatus DocTransport load (or Availibility Index) for a queue.
Requires a 0-based transport index at DTQueueIndex.
DT2TransportName DT2TransportNumPagesTx
Data type: String Data type: Long
Read-only Read-only
Name of transport. Requires a 0-based transport index at Number of pages sent by a transport. Requires a 0-based
DTTransportIndex transport index at DTTransportIndex.
DT2TransportNumTx DT2TransportNumPagesRx
Data type: Long Data type: Long
Read-only Read-only
Number of docs sent. Requires a 0-based transport index at Number of pages received by a transport. Requires a 0-based
DTTransportIndex. transport index at DTTransportIndex.
DT2TransportNumRx DT2TotalsStartDate
Data type: Long Data type: Long
Read-only Read-only
Number of docs received. Requires a 0-based transport index Hex date for when the 'all-time' totals were last reset.
at DTTransportIndex. Requires a 0-based transport index at DTTransportIndex.
DT2QueueName DTChannelIndex
Data type: String Data type: Long
Read-only Read/Write
Name of queue. Requires a 0-based transport index at Channel index. 0-based index to specify channel to query for
DTQueueIndex. DocTransport transport statistics.
OpenText RightFax 10.6 Feature Pack 2 138 COM API Reference Guide
Chapter 9: Statistics Statistics methods
DTTransportIndex
Data type: Long
Read/Write
Transport index. 0-based index to specify transport to query
for DocTransport transport statistics.
DTQueueIndex
Data type: Long
Read/Write
Queue index. 0-based index to specify queue to query for
DocTransport queue statistics.
Statistics methods
Refresh
Re-loads the list of statistics from the fax server.
OpenText RightFax 10.6 Feature Pack 2 139 COM API Reference Guide