Jump to content

Query


Guest ayshwaryamohandas@gmail.com

Recommended Posts

Guest ayshwaryamohandas@gmail.com
Posted

Hi

 

I have a query.

For certain applicationsin WinXP, when fired to printer , some

characters are getting wrongly scaled. But the prn seems to be proper.

The problem is found only when directly fired to the printer..

 

On debugging it could be found that the Wrong Character Scale

obtained is due to the incorrect value obtained for pdev-

>cgs.FontXForm.eM11 when directly fired to printer...The value should

ideally be 0.018880861 for eM11 and eM22 which is obtained when the

application is print to file.

But on directly printing to the printer the value of eM11 is getting

changed to 0.059503075 and eM22 is same as 0.018880861 ..For scaling

calculation , the xscale (Horizontal Character Scale) is obtained by

dividing eM11 by eM22..As the value obtained for eM11 is incorrect

when fired to printer, the horizontal scale of the character obtained

is wrong..

 

The transforms, including pdev->cgs.FontXForm.eM11, is obtained by

using the function XFORMOBJ_iGetXForm() ..

 

Do u have any suggestion to resolve this problem?

  • Replies 1
  • Created
  • Last Reply

Popular Days

Guest M.I.5¾
Posted

Re: Query

 

 

<ayshwaryamohandas@gmail.com> wrote in message

news:2229198d-6f8c-4cf5-9c0e-5990bab3e527@i7g2000prf.googlegroups.com...

> Hi

>

> I have a query.

> For certain applicationsin WinXP, when fired to printer , some

> characters are getting wrongly scaled. But the prn seems to be proper.

> The problem is found only when directly fired to the printer..

>

> On debugging it could be found that the Wrong Character Scale

> obtained is due to the incorrect value obtained for pdev-

>>cgs.FontXForm.eM11 when directly fired to printer...The value should

> ideally be 0.018880861 for eM11 and eM22 which is obtained when the

> application is print to file.

> But on directly printing to the printer the value of eM11 is getting

> changed to 0.059503075 and eM22 is same as 0.018880861 ..For scaling

> calculation , the xscale (Horizontal Character Scale) is obtained by

> dividing eM11 by eM22..As the value obtained for eM11 is incorrect

> when fired to printer, the horizontal scale of the character obtained

> is wrong..

>

> The transforms, including pdev->cgs.FontXForm.eM11, is obtained by

> using the function XFORMOBJ_iGetXForm() ..

>

> Do u have any suggestion to resolve this problem?

 

One suggestion. It might have been better to give the thread a title that

relates to your problem. That way, anyone checking back would find it

easier to locate it.

 

Imagine if everyone gave a new thread the (not otherwise incorrect) title,

'Query'.


×
×
  • Create New...