Results 1 to 12 of 12

Thread: ListView Printer

  1. #1

  2. #2
    PowerPoster dunfiddlin's Avatar
    Join Date
    Jun 12
    Posts
    5,512

    Re: ListView Printer

    I made some adjustments to the class in an attempt to solve some alignment problems. The amended class can be found here.
    As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"

    Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!

  3. #3
    PowerPoster dunfiddlin's Avatar
    Join Date
    Jun 12
    Posts
    5,512

    Re: ListView Printer

    A few more tweaks and twiddles here.
    As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"

    Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!

  4. #4
    vb Coda .paul.'s Avatar
    Join Date
    May 07
    Location
    Chelmsford UK
    Posts
    16,478

    Re: ListView Printer

    Quote Originally Posted by dunfiddlin View Post
    I made some adjustments to the class in an attempt to solve some alignment problems. The amended class can be found here.
    Quote Originally Posted by dunfiddlin View Post
    A few more tweaks and twiddles here.
    @dunfiddlin. no adjustments necessary. just use reasonable column widths + no problem, everything prints ok

  5. #5
    PowerPoster Edgemeal's Avatar
    Join Date
    Sep 06
    Location
    WindowFromPoint(x,y)
    Posts
    3,135

    Re: ListView Printer

    Quote Originally Posted by .paul. View Post
    Thanks for this paul, , I've never done any printing in .Net and honestly didn't know where to start.

    Added the class to a couple projects for testing and seems to works well except when I have LV set to autosize columns it isn't printing everything, seems to cut off last 2-3 chars in a column.
    Oh and how about an option to add a title centered at the top of the page?
    Attached Images Attached Images  

  6. #6
    PowerPoster Edgemeal's Avatar
    Join Date
    Sep 06
    Location
    WindowFromPoint(x,y)
    Posts
    3,135

    Re: ListView Printer

    BTW, I tried dunfiddlin's class, spacing is not too good.
    Attached Images Attached Images  

  7. #7

  8. #8
    PowerPoster Edgemeal's Avatar
    Join Date
    Sep 06
    Location
    WindowFromPoint(x,y)
    Posts
    3,135

    Re: ListView Printer

    Quote Originally Posted by .paul. View Post
    dunfiddlins tweaks address the issues you mention.
    unfortunately, no icon printing at the moment
    Don't want to print icons anyway. dunfiddlins tweak adds too much spacing.
    Guess I'll just have to tweak around with it myself.
    Thanks!

  9. #9

  10. #10

  11. #11
    PowerPoster dunfiddlin's Avatar
    Join Date
    Jun 12
    Posts
    5,512

    Re: ListView Printer

    Seems I inadvertently created a bug in my last tweaks. It's solved here.
    As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"

    Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!

  12. #12

Posting Permissions

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