Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004
    Location
    belgium
    Posts
    290

    Unanswered: getting printer.hdc value in MsAccess

    hello all,

    Is anyone knowing how to get the value of printer.hdc as used to retrieve printervalues in the GDI32.DLL ?

    as used in this codeline :

    gnPhysWidth = GetDeviceCaps(Printer.hdc, PHYSICALWIDTH) * gnTwipsPerPixelX

    the printer properties in MsAccess is missing the HDC-property as far as i know.

    emiel

    I noticed the printer.hdc is changing all the time when the procedure is called, so it can also be a hWnd value.
    But the question stays how to obtain the value ?

    emiel
    Last edited by emiel; 05-31-06 at 13:07.

  2. #2
    Join Date
    Mar 2004
    Location
    belgium
    Posts
    290
    I noticed the printer.hdc is changing all the time when the procedure is called, so it can also be a hWnd value.
    But the question stays how to obtain the value in MsAccess?

    emiel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •