Results 1 to 2 of 2

Thread: common dialog printer problem

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2001
    Posts
    1

    Unhappy common dialog printer problem

    I'm having trouble with the common dialog api. I'm using Access VBA if that makes a difference...

    After choosing a printer in the common dialog box, the report always prints to my default printer. Why is this? How do I make the report print to the printer I choose?

  2. #2
    jim mcnamara
    Guest
    If you are using DataREport, then - it always prints to the system default printer. You have to change the default printer, no use a Set Printer = statement.

    See this sample code for chanfging the default printer (not just what VB thinks is the default)

    http://www.mvps.org/vbnet/code/system/defprinternt.htm

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