Results 1 to 3 of 3

Thread: PLS!!! Help me Printing

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105

    To set the printer to something other than the default, use:

    Set Printer = Printers(n)


    To find the printer you're interested in, for the above, use:

    For Each x In Printers
    'compare x.DeviceName to the printername returned by the print dialog box
    Next




  2. #2
    Lively Member
    Join Date
    Jul 2000
    Location
    Buenos Aires, Argentina
    Posts
    64

    Printing Problems

    Ok. That's right.

    But how can i retrieve the printer name from print dialog???
    Maybe using hdc???

    Thanks.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    In this instance it might be easier for you to roll your own (create a drop down list/combo populated with the "for" statement in my previous post).

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