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
Printable View
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
try this:
Code:Printer.Print List1
An error comes up saying:
"Object does not support this method or property"
Any other thoughts?
Just thought I'd refresh this topic...
I would like to print the listview items along with the gridlines. Any thoughts??
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.
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 :(.
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]
Any fresh thoughts? I'm totally stuck. I can print the contents out, but the gridlines have got me.
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.