GetDeviceCaps does not give the correct pixel factor in windows 7.

GetDeviceCaps does not give the correct pixel factor in windows 7, if I use 96 dpi settings means it gives the pixel as 1 factor and if I user the 120 dpi settings means that he must give the factor 1.25 pixel, in windows xp, I had good factor with GetDeviceCaps but in window7, it returns 1 instead of 1.25 pixel factor can someone help me with this problem

ScreenDPI.x = GetDeviceCaps (ScreenDC, LOGPIXELSX);
float PixelX = (float) ScreenDPI.x/96;

Hello

I would like you to post your question in the TechNet forum.

http://social.technet.Microsoft.com/forums/en-us/w7itproui/threads

I hope this helps.

Tags: Windows

Similar Questions

  • printer Lexmark Pro 200. Does not print the correct colors. I restarted my computer and the printer is off but get the same result.

    Printer Lexmark Pro 200.  Does not print the correct colors. I restarted my computer and the printer is off but get the same result.

    Hello

    • What were the changes made before the problem occurred?

    You try to run this fix and check.

    http://Windows.Microsoft.com/en-us/Windows7/open-the-printer-Troubleshooter

    If above does not work, try contacting Lexmark support for assistance.

    http://www1.Lexmark.com/en_US/global-services/customer-support-services/index.shtml

  • Windows Media Center EPG does not have the correct data

    Windows Media Center EPG on my computer is so ugly!

    Description is separated in two, and it's always the last part that displays first, so you'll have to roll down to the bottom to read the description.

    The series is difficult to use, because the series 1) is not always marked as series (so you can select 'plain' Record), and 2) the title contains often series of numbering (e.g. "the bodyguards (1:6)"), so even if it is marked as a series, it will record ever "Guards body (2:6)" or other titles (the Media Center will just try to record any episode of "Bodyguards (1:6)").

    It is the broadcaster who create * data, and then displays in Media Center via Broadcasting Dataservices Ltd., or who are the last to blame?

    What is MS Media Center that does not have the correct data?

    I am in Denmark, if this has an impact on the response.

    Thank you and best regards!

    Hello

    Thank you for your response. I appreciate your time.

    I suggest you to post your query on our MSDN Forums, as this issue should be better there.

    Please refer to the reference to the link below to send your request:

    http://social.msdn.Microsoft.com/forums/en-us/home

    Hope this information helps.

  • How can you save your illustration in Photoshop CC 2014 as PNG or JPEG file when it does not give the option?

    How can you save your illustration in Photoshop CC 2014 as PNG or JPEG file when it does not give the option?

    Thank you for your time and help in advance.

    Thanks for the reply. I have actually managed to do work. I had my work instead of 16 or 8-32 bit/channel value. Once I changed it to 16-bit/channel, he gave me the possibility to register under the registered name. Thanks again.

  • OCR does not give the option recognize Portuguese?

    OCR does not give the option recognize Portuguese

    How to solve the problem?

    This is for me:

  • Generation does not contain the correct beta right?

    Hi all

    I'd be worried about this warning message?  Thank you.

    "Build 32.0.1.17.99204 does not contain the correct beta right '

    Looks like you need regenerate your provisioning profiles. See ios - App "does not contain the correct beta right" - stack overflow.

    Neil

  • Adobe Acrobat 8 Professional does not have the correct serial number after reinstalling

    Adobe Acrobat 8 Professional does not have the correct serial number after resettlement, what to do?

    Open one of the other products first (like PhotoShop and make sure that they are turned on.) Leave it open and launch Acrobat. You may need to reactivate Acrobat can. There is a difference that CS and CC seem to use requiring a such a step with Acrobat. For more information, you can ask in the CC forum because the installation is a little different from the standalone Acrobat.

  • Why my master password does not meet the correct password, in that I get

    After you set up a master password in security settings constantly, he asked for it, but when I get in there it does not recognize the password. I wrote it down in order to avoid this problem. I don't know that it is the only one I chose. try again again and again did not help.
    Please help me. What do you think is the best way to solve this problem?

    Hello

    Refresh (called "Reset" in older versions of Firefox) can solve a lot of problems in restaurant Firefox as his default factory while saving your bookmarks, history, passwords, cookies, and other essential information.

    Note: When you use this feature, you will lose all the extensions, toolbar customizations, and certain preferences. See article Firefox Refresh - reset modules and parameters for more information.

    Refresh for Firefox:

    1. Open the troubleshooting information page using one of the following methods:

      • Click the menu button

        click Help

        and select troubleshooting information. Should open a new tab containing your troubleshooting information.

      • If you are unable to access the Help menu, type Subject: support in your address bar to bring up the troubleshooting information page.
    2. At the top right of the page, you should see a button that says 'Refresh Firefox' ('reset Firefox' in older versions of Firefox). Click on it.
    3. Firefox closes. Once the update process is complete, Firefox will display a window with the imported information.
    4. Click Finish and reopen Firefox.

    This corrects the problem? Please report to us!

    Thank you.

  • Fill color does not have the correct form

    Color is not in the form... I did a color pencil pentool. And the forms filled with color, but it does not seem to have filled the entire shape. As the outline of my tracking does not match the form that Illustrator is filling up. The shape and colour are a bit off.

    Here is exactly what I mean:

    Is this version CC 2015? You have successfully updated to 19.1?

    Also: is "Snap to grid of pixels" active in conjunction with effects or "shot of Align for inside and outside?

  • system does not see the hard drives as P6000 Windows 7 Pro 64-bit

    PC is a little more than a year. About 2 months after installation disk c crashed. Replaced HP drive.

    Customer said that she had problems starting and kept restarting. He ran chkdsk and hooked up to 36%

    Now the system does not see the drive, but he sees no RAM, etc.

    Anyone know what causes this?

    Can what information I give to help troubleshooting?

    Thank you!

    Hello:

    Try resetting the CMOS.

    If this does not work, I would say that the drive controller in the motherboard is dead.

    Clearing CMOS
  • Want 4504: Hp Envy 4504 does not give the impression of color

    Hello

    My Hp Envy 4504 gives color impressions.

    Its keep giving only black & white or gray scale images.

    Also, I couldn't find the printing color profiles or presets under the printer settings.

    I only 'Black and White' and ' black and white - gray ' presets.

    What should I do to get the color print.

    I have two hp color and black ink cartridges installed.

    Help, please.

    Thank you

    Hi @sivak,

    Welcome to the Forums of HP Support!

    I understand that you are unable to print in color on your HP Envy 4504 printer. I will definitely do my best to help you.

    You are able to print a test highlighted report? The printer prints a blank Page or does not black print or ink color for the HP ENVY 4500 and Deskjet Ink Advantage 3540 e-all-in-One Printer Series.

    The problem only occurs when printing from Mac? It seems that there is a problem with the printer driver. Please see these instructions by my colleague Anti-double-U-di.

    Publish:

    10.10 yosemite, foot, make sure you have the latest updates, including Apple updates as well as updates from HP by Apple Software Update (ASU), currently HP printer software update Ver3.0

    Look for the updates (ASU) Apple
    1. click on the Apple in the left menu bar
    2. click on "about this Mac".
    3. click the button of "software updates... »
    4. make sure that the "Updates" icon is selected, click on 'Store' in the top menu
    5. click on 'reload the Page.
    6. install the HP updates (look for the last 'HP Printer Software Update"by the version number)

    Note: If you can't print or scan if he is an all-in-one HP printer, and then follow the steps below.

    Delete the print queue HP printer
    1. click on System Preferences
    2. click on printers & Scanners
    3. click on your printer HP to highlight, then click on the "-" symbol below to remove it from the queue
    4. click on the button "Delete printer" to confirm

    Add the HP printer in the print queue
    1. click on the symbol '+' at the bottom left
    2. If a drop down list with the printers menu appears, just click on "Add printer or Scanner..." »
    3 select your printer HP printer or series (depends USB/Ethernet/WLAN connection type, so choose your HP printer with the correct connection, IE Hello for printers single function and Hello to an MFP multifunction)
    4. after the lower filled, click on the drop down menu to "use:" and select your HP printer series
    5. click on the ' Add ' button.

    Try to print in coiour.

    If the steps above resolved your problem, you don't have to continue troubleshooting.  If you're still having problems, please continue to the next step.

    Before continues, the following steps will remove all printers to printers and Scanners, you may need your software and drivers for the printers to re - install if it is not part of the Apple software updates.

    Reset the printing system:
    1. open System Preferences
    2. open Printers and scanners
    3. on the left side where would be referred to as printers, right click and select "reset printing system...". »
    4. click on the "Reset" button when asked to confirm
    5. Enter your password, and then click OK (if prompted)
    6. Once completed, (notifications cannot pop up) you will simply see the Virgin 'printers & Scanners', just close

    Remove the software from HP/Hewlett-Packard:
    1. go on 'Finder '.
    2. go in "Applications".
    3. Locate and open the folder "Hewlett-Packard".
    4. If you see an "Uninstall HP program" listed here then run the uninstall program, otherwise, go to step 8
    5. click on the continue"" button.
    6. Enter your password, and then click OK (if prompted)
    7. When you are finished, click "exit".
    8 remove the HP folder or Hewlett-Packard (if still listed after uninstall) drag the folder to the trash
    9. right click on the Recycle Bin in the dock, click on "Empty" - and then confirm to empty the trash

    Repair disk permissions
    1. in the Finder, click Applications
    2. open the Utilities folder
    3. double-click on the disk utility
    4. on the left side, click on the hard drive which has Yosemite 10.10 installed to highlight
    5. click on the "repair disk permissions" nearly half lower the window (time may vary to finish)
    6. what repairs completed, a message near the bottom window 'Fix full permissions', now you can close the disk utility
    7. click on the Apple in the upper left corner, click "Restart" to restart your Mac

    Manually the drivers of HP printer install v3.0
    1. this link will take you to the apples for v3.0 HP printer drivers download
    2. click on the button 'Download' (remember where your download is if your downloads are not on the dock)
    3. open the "HPPrinterDrviers3.0.dmg".
    4. double-click on the "HewlettPackardPrinterDrivers.pkg".
    5. click on the continue"" button.
    6. After reading the license agreement, click the continue"" button.
    7. click on the button "I agree" If you agree
    8. click on the drive that Yosemite 10.10 is installed on and click on continue
    9. click on the 'Install' button (this will install the drivers for HP to your Mac)
    10. Enter your password, and then click the button 'Install Software' (if prompted)
    11. click on the "Close" button when the message "installation succeeded."

    Add a printer to print the queue
    1. open System Preferences
    2. open Printers and scanners
    3. click on the symbol ' + '.
    4. click on "Add a printer or a Scanner..." »
    5. click on "HP Envy printer 4504.
    6. click on the drop down menu to "use:" and choose "HP Envy 4504 Series."
    7. click on the ' Add ' button.

    Try to print in color.

    Please reply to this message with the result of your troubleshooting. I can't wait to hear strings attached good luck!

  • Lock screen resolution does not display the correct image size

    original title: lock the resolution of the screen and graphics

    It's not just me, but I have problems with my lock screen. Any image I use the image is the right size and color aren't (almost like a filter of Sarcelles is imposed).

    My native screen resolution is 5760 x 1080. I tried for some screen resolutions, both the original and the current. Even the original will not display correctly.

    Ideas?

    Well, well, well. After you disable the lock for a while screen, today I decided to re-activated it. I love nail polish it gives for WIn8 only that my plan was to use a solid color.

    Imagine my surprise when applied wallpaper appears with the correct aspect ratio.

    Even more surprised that it allows me to use ANY wallpaper now and they look all perfect; 16:9, ultra wide-angle (surround), it does not matter. Everyone is properly rendered to the screen.

    If anyone from MS is reading this, thank you. I know how Visual, aesthetic items will fall to the bottom of the to do list due to the perception of someone, they are trivial and not important.

    You took the time actually solve this little problem. I am amazed, that perhaps MS really takes a step to circulate better over time. Really looking forward to what is to come!

    Happy 4th of July!

  • Does not print the correct size of images

    My computer is running Vista and I recently installed a printer HP 1510.  It print regular documents well, but when I try to print 4 x 6 photos it will not print the full size.  I gives me only one option in the print job (Windows Photo Gallery is a default software) full page.  I tried selecting off selection 'mount framework' and there was no difference.  I have reset the printer a few times and verified that all drivers are up-to-date.  I just want to click on the picture and print the right size!  Any help would be appreciated.

    MaryLiz,

    You don't have to have the full feature software installed correctly for your printer for this to all work:

    Install the full features software - printer

    If you have installed the printer software, it is probably OK.

    ===========================================================================

    If you select the paper format 4 X 6, then you can also select other options listed in the last column.  These are mutually exclusive.  The available options change depending on the paper type you select.

    You use paper 4 X 6 in the printer?

    Printing preferences are something you have to set up the way you like - and then change them when you change the document, change the 'thing' you print, your idea on what you want...

    You can click on a picture and have it automatically print a 4 X 6 photo if you have a printer with a tray-picture in it with the photo paper loaded and ready to go.  You would still have to change the printing preferences if you want to change the configuration for no reason at all.

    I think I might be missing the point entirely.  My apologies for the lazy-brain.  The smile.

    Click on the Thumbs - Up Kudos to show that you appreciate the help and time of our Experts.

    Although I strive to reflect best practices of HP, I do not work for HP.

    Click on accept as Solution when the answer is a good solution or workaround!

  • Of the 10 elements does not give the possibility to store the incoming images in a sequence of date (mm dd yyyy)

    I'm a long-time user elements (most of the versions since the first came out) and I got 10s of thousands of photos, for the most part stored by downloading my different cameras by elements.

    Now I have "improved" to 10 items and discover that he will not continue with the sequence of names of files that have been generated by previous versions.

    I've always downloaded my photos in subfolders generated by elements whose name yyyy mm dd format. It's the great comfort that these records sort in chronological order. I have them go back to 2002 01 24.

    Now, I have 10 items, and when I downloaded some new photos it by default for subfolders names that do not store in the sequence-(mm dd yyyy). So I went to options / card reader or the camera to correct this stupid fault. I looked in the drop-down list and there are many of which seem stupid choices, (why would anyone want a folder name which does not store in date order?), but not the one I want.

    It is a serious problem. Suppose I have disappear for two days and take pictures sur.30 Nov 2011 and December 1, 2011 (friends OK U.S., November 30, 2011 and December 1, 2011). 10 elements will store the first batch as one of the last records in 2022 (as well as the shots made on January 31, 2011, March 31, 2011, etc.). My second day shooting will be stored near the beginning of the year, as well as snapshots taken the day of the other months.

    It's crazy! -a bug that is absurd. But it does not seem so far have been fixed.

    Can someone tell me a way round? Or that there is a fix for this bug that I have not found? Or that it's not on someone else's machine (in this case, why he did not on my machine with Elements 9?)

    It's going to be extremely painful to have to hand - edit all future folder names so that they sort in sequence (and are compatible with my hundreds of existing records). I can't believe that Adobe would have done this deliberately, so I'm stumped. Help!

    Bought my copy of 10 items on Amazon UK - should be a matter of UK standard. My PC running Windows 7.

    Hello

    In the case where you are not aware about it, a fix is now available from Adobe.

    The team of items posted fixes for these issues:

    Mac: http://kb2.adobe.com/cps/930/cpsid_93...

    Win: http://kb2.adobe.com/cps/930/cpsid_93...

    Brian

    (Edited to put in hard links)

  • using the remote control of the DVD does not select the correct buttons?

    Hey Ya'll,

    Project is almost complete, but I ran into one, which I think is a very simple problem...

    On my main menu, I have a total of 5 buttons on 2 rows.

    Line 1 to 2 buttons and Row 2 has 3 buttons.

    The links are correct, because they work fine in preview mode, using the mouse, but also view the version on the pc using Cyberlink DVD Viewer, once again, using the mouse to select the button.

    The problem is when you use the remote control, either on the copy engraved in the DVD player, or in preview mode, if I use the directional buttons of remote controls, that he does not want to go to the buttons I suppose it must

    (Top row left to right, then down row from left to right)

    On each of the properties of the buttons Panel, I chose the right (I guess) option number (just below name) for each button... IE top left set the right value top of page 1, 2, bottom left 3, the middle value 4 downstairs and down to the right the value 5.

    Type is set to Normal, the button name and Synch text is checked (although the No button is real, each is just a Word text, in photoshop, when I did originally the menu..)

    Also the low middle button never gets selected with the remote control of the DVD... Preview, using the buttons on the remote control, he finally gets selected, but it takes a bit of comes and goes, and the highlighted button is rarely what you would expect, since direction button your pushing.

    #1 button (top left) is set to the default button, which I want, but do not know how I set that, unless it's because it was the first button, I myself made/converted to the button)

    Here, any help would be greatly appreciated... that should finish this project!

    CB

    Cowboy Bob,

    No, what you did with the binder is actually linking these buttons to the assets.

    It shows a Menu with several buttons, icon manually road buttons depressed. Once you choose manually the buttons of road, they can change exactly what will make the remote control.

    As said, when you create a Menu, buttons start at # 1 and progress upward. Each Layer Set button plus up in the Layers Palette. This is the routing of the buttons Auto gets its information and it usually works. However, if you move the buttons around, removes some, etc., the en can get confused, manually their routing is the best way to go.

    Good luck and we hope this helps,

    Hunt

Maybe you are looking for