Printer Driver Related Question

Hi All,

I am working on Font Substitution for a Dot Matrix
printer .

I am facing the following problem

The True Type to which i am doing Font Substitution
is a Hindi Font.

1.The following behaviour is observed in case of
Hindi True Type Font

Some Hindi character glyphs are drawn in the area
which is allocated
for the preceeding character.

2.The device font to which i am doing the mapping
has “+ve” width for all the characters.

Whenever i print the Text using the characters
mentioned in (1) introduces the following
extra sequence “1B 24 52 00” in the “.prn” file. This
extra command will destory the original
layout of the Text.

The above behaviour is observed only in MS-Word and
not in Wordpad.

This is because the MSWord removes the space between
the characters. which will alter the actual layout.

Is there any way to configure the MSWord to stop
removing the space between characters?

or

Any other way of doing Font Substitution for such
fonts?


Thanks in advance
Girish Joshi.

hi girish
i am sorry i am not writing anything that might help in your problem, but
what u have written in your problem has some clues about my problem, as in
msword when the text is justified, and when i print to create an emf through
my printer driver , the text in emf appears to be left aligned, however if i
replace all blank spaces in the page with any character say ‘*’ the text now
appears justified in the output emf!!
You had written "This is because the MSWord removes the space between the
characters. which will alter the actual layout. "
Can you give me some links/info on that so that i can see what word is
actually trying to do in my case …

Thanx in advance!
Vaibhav

----- Original Message -----
From: “Girish Joshi”
To: “NT Developers Interest List”
Sent: Wednesday, June 19, 2002 04:21 PM
Subject: [ntdev] Printer Driver Related Question

> Hi All,
>
> I am working on Font Substitution for a Dot Matrix
> printer .
>
> I am facing the following problem
>
> The True Type to which i am doing Font Substitution
> is a Hindi Font.
>
> 1.The following behaviour is observed in case of
> Hindi True Type Font
>
> Some Hindi character glyphs are drawn in the area
> which is allocated
> for the preceeding character.
>
> 2.The device font to which i am doing the mapping
> has “+ve” width for all the characters.
>
> Whenever i print the Text using the characters
> mentioned in (1) introduces the following
> extra sequence “1B 24 52 00” in the “.prn” file. This
> extra command will destory the original
> layout of the Text.
>
> The above behaviour is observed only in MS-Word and
> not in Wordpad.
>
> This is because the MSWord removes the space between
> the characters. which will alter the actual layout.
>
> Is there any way to configure the MSWord to stop
> removing the space between characters?
>
> or
>
> Any other way of doing Font Substitution for such
> fonts?
>
> ----
> Thanks in advance
> Girish Joshi.
>
> —
> You are currently subscribed to ntdev as: xxxxx@newgen.co.in
> To unsubscribe send a blank email to %%email.unsub%%

Hi Vaibhav,

Did you try this

->Tools->Options->Compatibility


Girish Joshi.

---- NT Developers Interest List
wrote:
> hi girish
> i am sorry i am not writing anything that might
help in your problem, but
> what u have written in your problem has some clues
about my problem, as in
> msword when the text is justified, and when i print
to create an emf through
> my printer driver , the text in emf appears to be
left aligned, however if i
> replace all blank spaces in the page with any
character say ‘*’ the text now
> appears justified in the output emf!!
> You had written "This is because the MSWord removes
the space between the
> characters. which will alter the actual layout. "
> Can you give me some links/info on that so that i
can see what word is
> actually trying to do in my case …
>
> Thanx in advance!
> Vaibhav
>
> ----- Original Message -----
> From: “Girish Joshi”
> To: “NT Developers Interest List”

> Sent: Wednesday, June 19, 2002 04:21 PM
> Subject: [ntdev] Printer Driver Related Question
>
>
> > Hi All,
> >
> > I am working on Font Substitution for a Dot Matrix
> > printer .
> >
> > I am facing the following problem
> >
> > The True Type to which i am doing Font
Substitution
> > is a Hindi Font.
> >
> > 1.The following behaviour is observed in case of
> > Hindi True Type Font
> >
> > Some Hindi character glyphs are drawn in the area
> > which is allocated
> > for the preceeding character.
> >
> > 2.The device font to which i am doing the mapping
> > has “+ve” width for all the characters.
> >
> > Whenever i print the Text using the characters
> > mentioned in (1) introduces the following
> > extra sequence “1B 24 52 00” in the “.prn” file.
This
> > extra command will destory the original
> > layout of the Text.
> >
> > The above behaviour is observed only in MS-Word
and
> > not in Wordpad.
> >
> > This is because the MSWord removes the space
between
> > the characters. which will alter the actual
layout.
> >
> > Is there any way to configure the MSWord to stop
> > removing the space between characters?
> >
> > or
> >
> > Any other way of doing Font Substitution for such
> > fonts?
> >
> > ----
> > Thanks in advance
> > Girish Joshi.
> >
> > —
> > You are currently subscribed to ntdev as:
xxxxx@newgen.co.in
> > To unsubscribe send a blank email to %%
email.unsub%%
>
>
> —
> You are currently subscribed to ntdev as:
xxxxx@tecknodreams.com
> To unsubscribe send a blank email to leave-ntdev-
xxxxx@lists.osr.com
>
>

The only thing I can think of is to turn on “Use Printer Metrics” in
Word. Click on Tools -> Options -> Compatibility. Select the “Use
Printer metrics to lay out document” check box.

Hope this solves your problem.

  • Ashwin

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: Girish Joshi [mailto:xxxxx@tecknodreams.com]
Sent: Wednesday, June 19, 2002 3:52 AM
To: NT Developers Interest List
Subject: [ntdev] Printer Driver Related Question

Hi All,

I am working on Font Substitution for a Dot Matrix
printer .

I am facing the following problem

The True Type to which i am doing Font Substitution
is a Hindi Font.

1.The following behaviour is observed in case of
Hindi True Type Font

Some Hindi character glyphs are drawn in the area
which is allocated
for the preceeding character.

2.The device font to which i am doing the mapping
has “+ve” width for all the characters.

Whenever i print the Text using the characters
mentioned in (1) introduces the following
extra sequence “1B 24 52 00” in the “.prn” file. This
extra command will destory the original
layout of the Text.

The above behaviour is observed only in MS-Word and
not in Wordpad.

This is because the MSWord removes the space between
the characters. which will alter the actual layout.

Is there any way to configure the MSWord to stop
removing the space between characters?

or

Any other way of doing Font Substitution for such
fonts?


Thanks in advance
Girish Joshi.


You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%