Strider
Apr 26th, 2005, 06:10 AM
im using the following code to print the current record of the form
i was wondering if it is possible to specify in it which printer you would like to print to or display the print dialog even
Private Sub Print_Record_Click()
On Error GoTo Err_Print_Record_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.PrintOut acSelection
Exit_Print_Record_Click:
Exit Sub
Err_Print_Record_Click:
MsgBox Err.Description
Resume Exit_Print_Record_Click
End Sub
i was wondering if it is possible to specify in it which printer you would like to print to or display the print dialog even
Private Sub Print_Record_Click()
On Error GoTo Err_Print_Record_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.PrintOut acSelection
Exit_Print_Record_Click:
Exit Sub
Err_Print_Record_Click:
MsgBox Err.Description
Resume Exit_Print_Record_Click
End Sub