Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem with print setup common dialog

0 views
Skip to first unread message

Steven Hodgen

unread,
Nov 22, 1997, 3:00:00 AM11/22/97
to

Can anyone tell me if their is a good, preferably easy, way to force all the
paper sizes in the print setup common dialog box to display in metric.
Currently, Letter and Legal always show up in inches.

Thank you for your help,

--Steven (sho...@halcyon.com)


John A. Grant

unread,
Nov 22, 1997, 3:00:00 AM11/22/97
to

Steven Hodgen wrote in message <65571n$606$1...@usenet89.supernews.com>...

>Can anyone tell me if their is a good, preferably easy, way to force all
the
>paper sizes in the print setup common dialog box to display in metric.
>Currently, Letter and Legal always show up in inches.

Hmm, on NT4, if I do Page Setup | Printer | Properties in Notepad or
WordPad, I only see the list of names (Letter, Legal etc) not the actual
measurements. Of course the Page Setup shows margins (in mm for me),
but that's app-specific. My own Win16 app shows the same (just the
names). Where are you seeing the actual dimensions of the paper?

At any rate, you're not supposed to worry about the units being used.
This setting is part of the user preferences in Control Panel | Regional
Settings under the Number tab. The choices for Measurement System
are "Metric" and "U.S.".

I wrote my own Page Setup dialog box from which the printer setup
dialog boxs are invoked. In addition to a graphical representation
of the picture/page relationship, I also show the page sizes in mm.
I get these from GetDeviceCaps(hdc,HORZSIZE/VERTSIZE). These
dimensions don't include physical hardware margins (in which you
can not print), so it won't return 279(.4) mm for 11" paper. On one
printer it is 266 mm but it's 268mm for another printer.

/*
The Measurement System setting in Control Panel is a bit misleading,
because the default sizes for many apps are still set in the archaic
"English" system (i.e. 1 inch). Just because it is displayed as
"25.4 mm" doesn't make it "metric", at least not in my book.

The presence of "U.S." in the choice of Measurement Systems is
also quite amusing. I guess Microsoft thinks the U.S. invented the
system of "inches", which I'm sure comes as a surprise to historians.
The last time I looked, it was referred to as the "English" system.
That doesn't really bother me - it's an obsolete, archaic system anyway.
:)

Microsoft also thinks that Area Code "1" is exclusive to the "United
States of America" (in Dial-Up Networking setup), so at least they
are consistent in their errors. :)

Sorry, got carried away...
*/

--
John A. Grant * I speak only for myself * jag...@znrcan.gc.ca (remove
'z')
Airborne Geophysics, Geological Survey of Canada, Ottawa
If you followup, please do NOT e-mail me a copy: I will read it here.


Carl Verner Skou

unread,
Nov 23, 1997, 3:00:00 AM11/23/97
to

In article <658d8a$bv...@nrn2.NRCan.gc.ca>, jag...@znrcan.gc.ca says...

As usual fine writting about a solution to a basic problem. And...

> Microsoft also thinks that Area Code "1" is exclusive to the "United
> States of America" (in Dial-Up Networking setup), so at least they
> are consistent in their errors. :)

Yes, "1" covers North America ( US & Canada ) including several Carribian
states. The former Soviet had "7" and this is now used by Russia and the new
independent former Soviet republics ( I have always been wondering, who
has/had "2...6" and "8..9" ).

I wonder how many US firms are thinking and about their knowledge about the
world around them.

So is this a trivial point? I don't think so, when writting software for an
international market, it is not enough, just to use the correct
codepage/unicode/metrics/dates etc, but also to take into consideration
cultural and historical conditions.

Yours Carl Verner Skou


0 new messages