printer driver: device fonts

I have converted a printer driver for matrix printers (which I once created
for Win95 with UniTool.exe) to Win2000, using minidev.exe. When used with
Win95 it worked fine. (the original drivers available from Microsoft and
from the printer manufacturer did’t work well.).

Now I have this problem: it is not possible to use the device fonts. They
don’t appear in the Font dialog (I tested it with Wordpad.exe).

Here is a part of the .gpd file:
*DefaultFont: 1
*DefaultCTT: 1
*switch: Orientation
{
*case: PORTRAIT
{
*DeviceFonts: LIST(1,2,3,4,5,6,7)
}
*case: LANDSCAPE_CC270
{
*DeviceFonts: LIST()
}
}

These fonts are also listed in the rc file:
1 RC_UFM LOADONCALL DISCARDABLE UFM\Romn10.UFM
2 RC_UFM LOADONCALL DISCARDABLE UFM\Romn12.UFM
3 RC_UFM LOADONCALL DISCARDABLE UFM\Romn17.UFM
4 RC_UFM LOADONCALL DISCARDABLE UFM\Romn20.UFM
5 RC_UFM LOADONCALL DISCARDABLE UFM\Romn05.UFM
6 RC_UFM LOADONCALL DISCARDABLE UFM\Romn06.UFM
7 RC_UFM LOADONCALL DISCARDABLE UFM\Romnps.UFM
8 RC_UFM LOADONCALL DISCARDABLE UFM\romn15.UFM

I would appreciate if someone could give me a tip.
It is necessary to use the self-made driver because the the Win2000 driver
I recently downloaded from the Internet has the same bugs as the old
win3.1/Win95 driver (some device fonts which can be choosed from the font
dialog do not produce the right printer escapes etc.)
Thanks
Albrecht Ceol


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

The problem might be with your RC file…rule that one out first: Get
the RC file from the Epson9 sample in the DDK- (keep your GPD file for
now ) see whether the Epson device fonts are emitted- if yes, then add
your device fonts to this RC file - there shouldn’t be any problem
unless the UFMs are corrupted.
If the problem is not with the RC file, then use the Epson GPD, add your
device fonts and test.

-Ameet!

-----Original Message-----
From: Albrecht Ceol/RIS/RAIFF [mailto:xxxxx@raiffeisen.it]
Sent: Friday, June 01, 2001 3:44 AM
To: NT Developers Interest List
Subject: [ntdev] printer driver: device fonts

I have converted a printer driver for matrix printers (which I once
created
for Win95 with UniTool.exe) to Win2000, using minidev.exe. When used
with
Win95 it worked fine. (the original drivers available from Microsoft and
from the printer manufacturer did’t work well.).

Now I have this problem: it is not possible to use the device fonts.
They
don’t appear in the Font dialog (I tested it with Wordpad.exe).

Here is a part of the .gpd file:
*DefaultFont: 1
*DefaultCTT: 1
*switch: Orientation
{
*case: PORTRAIT
{
*DeviceFonts: LIST(1,2,3,4,5,6,7)
}
*case: LANDSCAPE_CC270
{
*DeviceFonts: LIST()
}
}

These fonts are also listed in the rc file:
1 RC_UFM LOADONCALL DISCARDABLE UFM\Romn10.UFM
2 RC_UFM LOADONCALL DISCARDABLE UFM\Romn12.UFM
3 RC_UFM LOADONCALL DISCARDABLE UFM\Romn17.UFM
4 RC_UFM LOADONCALL DISCARDABLE UFM\Romn20.UFM
5 RC_UFM LOADONCALL DISCARDABLE UFM\Romn05.UFM
6 RC_UFM LOADONCALL DISCARDABLE UFM\Romn06.UFM
7 RC_UFM LOADONCALL DISCARDABLE UFM\Romnps.UFM
8 RC_UFM LOADONCALL DISCARDABLE UFM\romn15.UFM

I would appreciate if someone could give me a tip.
It is necessary to use the self-made driver because the the Win2000
driver
I recently downloaded from the Internet has the same bugs as the old
win3.1/Win95 driver (some device fonts which can be choosed from the
font
dialog do not produce the right printer escapes etc.)
Thanks
Albrecht Ceol


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com