15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


Printing on 3.1 and NT

Nandan -- nandan@meghadoot.hiso.honeywell.com
Saturday, August 10, 1996

Environment: Windows 3.1 and VisualC++ 1.52
             Windows NT and VisualC++ 2.2 .

Hi,

I'm posting this for a friend:
He has an app that has two versions one for Windows 3.1 (VC++ 1.52) and the
other for Windows NT (VC++ 2.2). The app prints using MM_TEXT mode and the
font size specified in pixels. The app scales the font size based on the
printer resolution so that the print appears the same on different printers. 
This works fine on NT for the two printers it has been tested on : HP Laser jet
and a Digital Turbo Server.
However on the Windows 3.1 the print appears smaller on the HP Laser jet.
On the Digital Turbo Server the print is the right size.

Has anybody had such a problem?

TIA
Nandan




beriksen@cda.com
Tuesday, August 13, 1996

[Mini-digest: 2 responses]

     If you're using MM_TEXT, and specifiying the size of fonts via pixels 
     (or, rather, logical units which are pixels in the case of MM_TEXT), 
     then there is no gaurantee that the font will appear the same size on 
     different printers.
     
     I suppose that on his NT machine, he had both the HP and DTS drivers 
     set to the same resolution; the resolution to print at is usually a 
     property of the printer driver, available to the user via the control 
     panel (for NT3.51 and Win 3.1).  Maybe under 3.1 he had different 
     resolutions set for the two drivers, causing things to appear 
     differently.
     
     Brian Eriksen 
     CDA/Wiesenberger
     beriksen@cda.com


______________________________ Reply Separator _________________________________
Subject: Printing on 3.1 and NT
Author:  mfc-l@netcom.com at Internet_Mail
Date:    8/12/96 5:13 PM


Environment: Windows 3.1 and VisualC++ 1.52
             Windows NT and VisualC++ 2.2 .
     
Hi,
     
I'm posting this for a friend:
He has an app that has two versions one for Windows 3.1 (VC++ 1.52) and the 
other for Windows NT (VC++ 2.2). The app prints using MM_TEXT mode and the font 
size specified in pixels. The app scales the font size based on the printer 
resolution so that the print appears the same on different printers. This works 
fine on NT for the two printers it has been tested on : HP Laser jet and a 
Digital Turbo Server.
However on the Windows 3.1 the print appears smaller on the HP Laser jet. 
On the Digital Turbo Server the print is the right size.
     
Has anybody had such a problem?
     
TIA
Nandan
     

-----From: "petter.hesselberg" 

Are the printer fonts in question fully scalable?
If not, the text will be rounded down to the nearest
supported size.

Regards,
Petter



beriksen@cda.com
Tuesday, August 13, 1996

[Mini-digest: 2 responses]

     If you're using MM_TEXT, and specifiying the size of fonts via pixels 
     (or, rather, logical units which are pixels in the case of MM_TEXT), 
     then there is no gaurantee that the font will appear the same size on 
     different printers.
     
     I suppose that on his NT machine, he had both the HP and DTS drivers 
     set to the same resolution; the resolution to print at is usually a 
     property of the printer driver, available to the user via the control 
     panel (for NT3.51 and Win 3.1).  Maybe under 3.1 he had different 
     resolutions set for the two drivers, causing things to appear 
     differently.
     
     Brian Eriksen 
     CDA/Wiesenberger
     beriksen@cda.com


______________________________ Reply Separator _________________________________
Subject: Printing on 3.1 and NT
Author:  mfc-l@netcom.com at Internet_Mail
Date:    8/12/96 5:13 PM


Environment: Windows 3.1 and VisualC++ 1.52
             Windows NT and VisualC++ 2.2 .
     
Hi,
     
I'm posting this for a friend:
He has an app that has two versions one for Windows 3.1 (VC++ 1.52) and the 
other for Windows NT (VC++ 2.2). The app prints using MM_TEXT mode and the font 
size specified in pixels. The app scales the font size based on the printer 
resolution so that the print appears the same on different printers. This works 
fine on NT for the two printers it has been tested on : HP Laser jet and a 
Digital Turbo Server.
However on the Windows 3.1 the print appears smaller on the HP Laser jet. 
On the Digital Turbo Server the print is the right size.
     
Has anybody had such a problem?
     
TIA
Nandan
     

-----From: "petter.hesselberg" 

Are the printer fonts in question fully scalable?
If not, the text will be rounded down to the nearest
supported size.

Regards,
Petter




| Вернуться в корень Архива |