BackgroundPrintingStatus 属性

       

返回后台打印队列中的打印任务数目。Long 类型,只读。

示例

本示例返回当前排队等候后台打印的 Word 打印任务数目。

Dim lngStatus As Long

If Options.PrintBackground = True Then
    lngStatus = Application.BackgroundPrintingStatus
End If

如果打印任务数大于 0(零),本示例将在状态栏中显示信息。

If Application.BackgroundPrintingStatus > 0 Then
    StatusBar = Application.BackgroundPrintingStatus _
        & " print jobs are queued up"
End If