Results 1 to 2 of 2

Thread: Print dialog & printer selection

  1. #1
    Guest

    Question

    Using VB6


    Can the print dialog return a value for the printer selected?

    Unless the PrinterDefault is set to true it seems to
    ignore the selected printer and the printer object
    just sends output to the default printer.

    I don't want to have to make the selected printer the
    system default.

    I know I could set up a combo box with a list of printers
    in it but I would prefer to use the print dialog if
    possible.

    Thanks in advance,

    SeanR

  2. #2
    Lively Member
    Join Date
    Jul 2000
    Posts
    94
    Here is what MSDN says on the subject:
    When PrinterDefault is True, you can write code to print directly to the Visual Basic Printer object. Otherwise, you must use the graphic device interface (GDI) calls to print to the printer specified by the control's hDC property.

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