LOTUSSCRIPT/COM/OLE CLASSES
Examples: Print method
1. This form action script displays the File Print dialog box, where the user can either select settings for printing the current document, or select Cancel.
Sub Click(Source As Button)
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = workspace.CurrentDocument
Call uidoc.Print
End Sub
2. This form action script prints one copy of the current document without displaying the File Print dialog box.
Sub Click(Source As Button)
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = workspace.CurrentDocument
Call uidoc.Print( 1 )
End Sub
3. This script prints one copy of pages 2 and 3 of the current document.
Sub Click(Source As Button)
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = workspace.CurrentDocument
Call uidoc.Print( 1, 2, 3 )
End Sub
Véase también
Print method
Glosario
¿Desea opinar sobre la
Ayuda
o sobre la
utilidad del producto
?
Ayuda sobre la Ayuda
Todo el contenido de la Ayuda
Glosario