×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Screen Resolution and Printer settings...

Screen Resolution and Printer settings...

Screen Resolution and Printer settings...

(OP)
Just spent a happy few minutes on Skype with a customer who was only getting the top left 75% of his prints in a VFP app
that works perfectly well on my machine and on other ones in his office.

Didn't matter which printer driver we used, PDF, PCL, PS or whatever, he just kept getting the print clipped.

Turned out to be a screen resolution thing - the user has a massive screen, but not that good eyesight, so it was (roughly) 2460x something but key was the scaling
which was set to 150%.

Has anyone else seen this - is there a way to get VFP to display correctly under these circumstances?

We set the scaling back to 100% and it was perfect (if the user had been 17 and didn't need glasses like mine).

I have the following in the report settings:

DRIVER=WINSPOOL
ORIENTATION=1
PAPERSIZE=9
DEFAULTSOURCE=7
PRINTQUALITY=600
YRESOLUTION=600
TTOPTION=1

Regards

Griff
Keep Smileing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.

RE: Screen Resolution and Printer settings...

(OP)
Spot on, at least at first glance. Thank you, testing it now.

Regards

Griff
Keep Smileing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.

RE: Screen Resolution and Printer settings...

(OP)
Just for clarity, this is all I needed to add right at the beginning of the main program - before any display was interacted with (deliberately)

CODE

DECLARE INTEGER SetProcessDPIAware IN WIN32API
SetProcessDPIAware() 

I claim no credit, but I'm jolly chuffed that Tek-Tips and Edgar helped my out of a bind.

Regards

Griff
Keep Smileing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.

RE: Screen Resolution and Printer settings...

Hi Griff,
Yup, have the same issue. Scaling in Windows seems to impact the printed output as well. Altops had the solution when I asked this a couple weeks back (that's the link to the thread just above this reply.)

So yeah, it's more than repeatable, but only bites you if its's scaled. The annoying thing I found was, I had 4 monitors connected to the same PC, but only ONE of them scaled, not the one the app was sitting in , and it still does it. ><

Best Regards,
Scott
MSc ISM, MIET, MASHRAE, CDCP, CDCS, CDCE, CTDC, CTIA, ATS

"I try to be nice, but sometimes my mouth doesn't cooperate."

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close