• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Access 97 - Report Printers

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #11
    Originally posted by MrNoMotivation View Post
    Right. I've tried the code in a later version of Access and it's still coming up with the same result. Any ideas please?

    The property returns a Windows structure...it is mentioned in the final link I believe. So what you need to do is create a structure identical to it in VBA and copy the printer info into it. Once there you can access the proper member which will be the printer name.

    https://tron.megaspaz.net/stuff/MyWo.../devnames.html

    http://www.eggheadcafe.com/forumarch...st26075847.asp

    both links should help you out.

    Also.....tada! in access 2002 (XP) there is a new Printer object. on the report there will be an attribute named "Printer". That object contains all the details you need.

    Phew.....that'll be £150 please!

    Good luck.
    Last edited by lilelvis2000; 10 December 2008, 16:55.
    McCoy: "Medical men are trained in logic."
    Spock: "Trained? Judging from you, I would have guessed it was trial and error."

    Comment


      #12
      Originally posted by lilelvis2000 View Post
      The property returns a Windows structure...it is mentioned in the final link I believe. So what you need to do is create a structure identical to it in VBA and copy the printer info into it. Once there you can access the proper member which will be the printer name.

      https://tron.megaspaz.net/stuff/MyWo.../devnames.html

      http://www.eggheadcafe.com/forumarch...st26075847.asp

      both links should help you out.

      Also.....tada! in access 2002 (XP) there is a new Printer object. on the report there will be an attribute named "Printer". That object contains all the details you need.

      Phew.....that'll be £1.50 please!

      Good luck.
      thanks for this. much appreciated. Your chequre for £1.50 is on it's way.

      Comment

      Working...
      X