Quote Originally Posted by dglienna
Use an error trap like this

VB Code:
  1. Option Explicit
  2.  
  3. Private Sub PrintForm()
  4.   On Error GoTo Print_Error
  5.     Form1.PrintForm
  6.   Exit Sub
  7. Print_Error:
  8.   On Error GoTo 0
  9.   MsgBox "Printer not available or is Offline"
  10. End Sub
Isit we put this code under the command button we click for printing or do we put a call function PrintForm under the the command button?