A family of Microsoft relational database management systems designed for ease of use.
Thanks Tom.
I believe I am satisfying your suggestion.
The form is open and contains a Command Button for Printing. Here is the form section (it is a parent form) containing the Command Button.
The code that launches is typical.
Private Sub PrintOnly_Click()
On Error GoTo Err_PrintOnly_Click
DoCmd.PrintOut , , , , 1
Exit_PrintOnly_Click:
Exit Sub
Err_PrintOnly_Click:
MsgBox Err.Description
Resume Exit\_PrintOnly\_Click
End Sub
It is in this procedure I am attempting to force the application to use the default printer for the desktop where the front end is running.
Desired code example to reside in event procedure.
If Me.UseDefaultPrinter = False Then
Me.UseDefaultPrinter = True
Me.Printer.ColorMode = acPRCMMonochrome
End If
OR
Forms("test").UseDefaultPrinter = True
Regards,
L