Results 1 to 9 of 9

Thread: printing a listview w/ the grid

  1. #1

    Thread Starter
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    How would I go about printing a listview thats in report view along with the grid lines in the listview?

    ie:

    text|text|text
    --------------
    text|text|text

  2. #2
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    try this:

    Code:
    Printer.Print List1
    NXSupport - Your one-stop source for computer help

  3. #3

    Thread Starter
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    An error comes up saying:
    "Object does not support this method or property"
    Any other thoughts?

  4. #4

    Thread Starter
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Just thought I'd refresh this topic...
    I would like to print the listview items along with the gridlines. Any thoughts??
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  5. #5

    Thread Starter
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    this might be a lost cause, but...

    Just thought I'd tack on a couple of things.
    a. How do I center something on the paper?
    b. Is there a way to calculate how many pages will be
    printed?
    c. how do I insert a page break to begin printing on a new page?

    I'd REALLY appreciate it if somebody could offer up at least one idea for my first question.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  6. #6
    Guest
    a) Use the Printer's CurrentX and CurrentY properties to set the text to where you want.

    b) Not sure about determining how many pages will be printed, but you can determine what page you are on.
    Look in the Object Browser for Printer and the Page property.

    c)
    Code:
    With Printer
         .Print "Page 1"
         .NewPage
         .Print "Page 2"
         .EndDoc
    End With

    Can't seem to find anything on ListView printing though .

  7. #7

    Thread Starter
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Matthew, I had a thought, does a spreadsheet control print the gridlines?? If it does, how would I Take the contents of my listview and populate the spreadsheet with it??

    [Edited by crptcblade on 11-12-2000 at 01:17 PM]
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  8. #8

    Thread Starter
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    ??

    Any fresh thoughts? I'm totally stuck. I can print the contents out, but the gridlines have got me.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  9. #9
    Guest

    Question You are further than I am - can you help ? :)

    I am having problems in the respect that my listview wont print, full stop. I am just using form.printform (or whatever - it's late!)

    I (stupidly) assumed that listview would allow me to add data wherever I like (like spreadsheet refs) but i discovered the furth complexities...!

    to use it like that, should i create (or try to!) a conversion routine? yikes!

    Are there any better (free) things availible?



    Thanks in advance,
    Gordon.

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