Results 1 to 2 of 2

Thread: Print lists on the printer

  1. #1

    Thread Starter
    Hyperactive Member Matt-D's Avatar
    Join Date
    Nov 1999
    Location
    Mettmann, Germany
    Posts
    305

    Post

    I have a list (list1) and want to print it on the printer. But with the method I know zhe printer onli prints on line or the first selected item.

    This doesn't work:
    Printer.print list1
    Printer.EndDoc

    How must I write the code (in VB3)?

  2. #2
    Hyperactive Member onerrorgoto's Avatar
    Join Date
    Aug 1999
    Location
    Sweden
    Posts
    330

    Post

    Try this small code
    Code:
    dim intX as integer
    for intx=0 to list1.listcount
     printer.print list1.list(intX)
    next intx
    (If you use debug.print instead it prints to the immideate window)

    ------------------
    On Error Goto Bed :0)
    anders@zsystemdesign.se



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