Private Sub Command1_Click() CD.PrinterDefault = True CD.CancelError = True CD.Flags = cdlPDReturnDC + cdlPDNoPageNums If Text1.SelLength = 0 Then CD.Flags = CD.Flags + cdlPDAllPages Else CD.Flags = CD.Flags + cdlPDSelection End If On Error Resume Next CD.ShowPrinter If Err Then Exit Sub End If Printer.Print Text1.Text End Sub
however it does not work.
i do not get any error message but the printer dosent print anything.
a little help will be nice

New Topic/Question
Reply



MultiQuote





|