Results 1 to 16 of 16

Thread: Printing problem

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2004
    Location
    in the heart of the Mediterranean
    Posts
    1,143

    Printing problem

    Hi ,

    Im trying to retrieve a class for printing I had used a couple of year ago, which aint working now. the class is attached cos its too long to post it here.
    can someone help it out with this please.

    Code:
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            GridPrinter = New DataGridPrinter(Me.DataGrid4)
           If GridPrinter Is Nothing Then
    
            End If
    
          With GridPrinter
               .HeaderText = lblItemsCounted.Text
               (Me.ComboBox_ColumnHeaderBrush.SelectedItem, Brush)
                .PagesAcross = 1
               .PrintDocument.Print()
    
           End With
       End Sub
    Attached Files Attached Files
    ------------------------------------------------------------------------
    If an answer to your question has been helpful, then please, Rate it!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width