Printing french accented characters with IPLOT
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Printing french accented characters with IPLOT

 
Post new topic   Reply to topic    CADForums.net Forum Index -> MicroStation
Author Message
Julien
Guest





Posted: Mon Feb 23, 2004 2:55 pm    Post subject: Printing french accented characters with IPLOT Reply with quote

Hi,

I just read some messages posted in July 2000 about french letters
characters in Microstation.
(See: the 'french language font' message and answers to it for more
info.)

Following Pekka Vauhkonen's advice and downloaded the
"90-series Fonts" available free at:

http://www.kolumbus.fi/povcp/eng/font_m.htm

Now remains a problem. Thought the fonts display well at screen,
accented letters are replaced by stars (*) when I want to print.

I use IPLOT with Microstation SE on Windows NT.
Choosing a laser printer or our deskjet plotter does not change
anything.

Thanks for any anwer.

Julien

Back to top
Jeffrey Malter
Guest





Posted: Wed Mar 03, 2004 10:57 pm    Post subject: Re: Printing french accented characters with IPLOT Reply with quote

Hello Julien,

I'm glad your chars are printing. Pekka Vauhkonen's fonts were very helpful
to me when I was learning how to create my own fonts in uStn.

With regard to:
1) Your pattern.plt file may exist, but IPLOTSRV_PATTERN_LIB in
mucage1000.cfg is looking for pattern.plb - is pattern.plt named correctly
or is the filename mis-spelled in mucage1000.cfg?

2) uStn looks through the font rsc files in sequential order, starting with
the last-loaded rsc and working back file by file to the first-loaded rsc.
It is either a) finding a font#227 in an rsc that is being read before the
rsc in which your desired font#227 is installed, or b) the cfgvar
IPLOTSRV_SYM_RSC_FILES is too long and is being truncated during processing,
thereby eliminating a needed rsc from the list.

In case a), use the fontinst.ma to open each rsc, look for an unwanted
font#227, then either eliminate the unwanted 227 (bad), alter the
IPLOTSRV_SYM_RSC_FILES cfgvar to place the offending rsc after the rsc in
which the desired 227 lives (better), or copy the desired 227 to the
first-loaded rsc (best).

In case b), alter the mucage1000.cfg. There is a limit to the length of v5
and v7 cfgvars [255 chars? I'm don't recall exactly. If so, mu_fonts.rsc is
not being included. Is font#227 installed in this file? ] Create a
user-defined path variable, then use it to define the paths for
IPLOTSRV_SYM_RSC_FILES as follows:

MU1000_RSC = "c:\Program Files\Fichiers
communs\InterPlot\iplot\resrc\system\"
# Make sure that this new var name is not already in use
# Comment lines are preceded with the pound-sign character
# Insert comment lines in the cfg file to describe and date your changes
IPLOTSRV_SYM_RSC_FILES =
$(MU1000_RSC)mu_1000\mucage.rsc;$(MU1000_RSC)mu_1000\z_f90_93.rsc;$(MU1000_R
SC)mu_1000\servitudes.rsc;$(MU1000_RSC)mu_fonts.rsc"

I suspect that case b) is your problem here. Because font#227 cannot be
found, it is being replaced by another font according to uStn's internal
logic.

hth,
Jeffrey Malter


"Julien" <JulienRouiller@yahoo.fr> wrote in message
news:86e1952b.0403030752.54ec195b@posting.google.com...
Quote:
Hi Jeffrey,

Thanks for your answer about printing french characters with IPLOT.

Sorry to answer so late, but I had not the time to try setting the
fonts on IPLOT until now.
It is done. I use ressource file z_f90_93.rsc, in which are stored
fonts 90 to 93.

I copied this file into the win32app\mucage\Symb\1000\ directory
(where mucage is an MDL application working on ustation SE and 1000 is
a project scale.)

I also copied the ressource file to the shared files of IPLOT
(client), installed of the workstation I'm working on.

I did the same in on the PC where IPLOT server is installed
and modified the right ".cfg" file.

French characters with accents can now be printed. Great!

But two problems remain :

1) When making the PREVIEW on the workstation
where IPLOT server is installed,
I get the following error message :

IPLOTSRV-W-RSCFIL, Error loading IPLOSTRV_SYM_RSC_FILES.
The symbology ressource file c:\Pc:\Program Files\
Fichiers communs\InterPlot\iplot\resrc\system\pattern.plt
could not be loaded. Plot will continue other resources.

I cannot understand why I get this message,
since I just added the path of z_f90_93.rsc
to the IPLOTSRV_SYM_RSC_FILES string.
The pattern.plt file exists!
Is the string pointing the ressource files limited in size ?
(See mucage1000.cfg file below.)

2) When printing, font Romans (227) is replaced by another font.
(Why? The 90-fonts' ressource file should not contain another
description of Romans...)

Thank you in advance to you or any expert!

Julien

#######################################################################
#
# FILE: mucage1000.cfg (a project configuration file)
#
#######################################################################

IPLOTSRV_SYM_RSC_FILES="c:\Program Files\Fichiers
communs\InterPlot\iplot\resrc\system\mu_1000\mucage.rsc;c:\Program
Files\Fichiers
communs\InterPlot\iplot\resrc\system\mu_1000\z_f90_93.rsc;c:\Program
Files\Fichiers
communs\InterPlot\iplot\resrc\system\mu_1000\servitudes.rsc;c:\Program
Files\Fichiers communs\InterPlot\iplot\resrc\system\mu_fonts.rsc"
IPLOTSRV_PATTERN_LIB="c:\Program Files\Fichiers
communs\InterPlot\iplot\resrc\system\pattern.plb"
IPLOTSRV_LINESTYLE_LIB="c:\Program Files\Fichiers
communs\InterPlot\iplot\resrc\system\style.slb"

'-------------------------------------------------------------------


"Jeffrey Malter" <jmalter@nospam.earthlink.net> wrote in message
news:<j9o_b.16718$W74.2439@newsread1.news.atl.earthlink.net>...
Hello Julien,

uStn uses asterisks (*) as replacement characters when it cannot find
specific characters in the font. I suspect that IPLOT is not able to
find
the specified font and is using a different font as a replacement.
Perhaps
the plotserver is using a configuration path to a font rsc that does not
contain your downloaded font.
http://selectservices.bentley.com/technotes/technotes/8310.htm may help
you
track down & correct this problem. When using a font that is not
included in
the standard uStn installation, the font must be added to the font rsc
file
of all the installations that might need to access it, and path access
(in
configuration files) must provide access to the modified rsc file.
Alternatively, the modified rsc file can be held in one location on a
central server, and all installation configurations must be modified to
include this file's location.

hth,
Jeffrey Malter

"Julien" <JulienRouiller@yahoo.fr> wrote in message
news:86e1952b.0402230155.1b36966a@posting.google.com...
Hi,

I just read some messages posted in July 2000 about french letters
characters in Microstation.
(See: the 'french language font' message and answers to it for more
info.)

Following Pekka Vauhkonen's advice and downloaded the
"90-series Fonts" available free at:

http://www.kolumbus.fi/povcp/eng/font_m.htm

Now remains a problem. Thought the fonts display well at screen,
accented letters are replaced by stars (*) when I want to print.

I use IPLOT with Microstation SE on Windows NT.
Choosing a laser printer or our deskjet plotter does not change
anything.

Thanks for any anwer.

Julien
Back to top
Julien
Guest





Posted: Sun Mar 07, 2004 3:00 pm    Post subject: Re: Printing french accented characters with IPLOT Reply with quote

Hello Jeffrey,

Thank you very much for your help.
I tried to answer three days ago, but I lost my internet connection
when previewing the message and had not time enough to write it again.

All paths were OK in the ressources configuration file.
Moreover, the "pattern.plb" was correctly spelled.

As you suggested, I created and assigned the user-variable

MU1000_RSC = "c:\Program Files\Fichiers
communs\InterPlot\iplot\resrc\system\"

and used it in the .cfg file.

NOW, PRINTING CHARACTERS WITH ACCENTS WORKS PERFECTLY !

I observed that before using the MU1000_RSC variable,
the string affected to IPLOTSRV_SYM_RSC_FILES had more than 256
characters.
It is probable that the length of string variables is limited to 256
characters.

If you use all the ressource files in a folder, using the star
character (*) is also a way to shorten the lenght of the string
assigned to the ressources variable, like in
"c:\...\...\resrc\system\mu_1000\*.rsc",
or (better) : $(MU1000_RSC)mu_1000\*.rsc"

User defined variables are a complementary (and very useful) way to
better list the ressources you need.

I hope that this can help other Microstation and IPLOT users.

Best regards.

Julien

"Jeffrey Malter" <jmalter@nospam.earthlink.net> wrote in message news:<F0p1c.31636$hm4.18812@newsread3.news.atl.earthlink.net>...
Quote:
Hello Julien,

I'm glad your chars are printing. Pekka Vauhkonen's fonts were very helpful
to me when I was learning how to create my own fonts in uStn.

With regard to:
1) Your pattern.plt file may exist, but IPLOTSRV_PATTERN_LIB in
mucage1000.cfg is looking for pattern.plb - is pattern.plt named correctly
or is the filename mis-spelled in mucage1000.cfg?

2) uStn looks through the font rsc files in sequential order, starting with
the last-loaded rsc and working back file by file to the first-loaded rsc.
It is either a) finding a font#227 in an rsc that is being read before the
rsc in which your desired font#227 is installed, or b) the cfgvar
IPLOTSRV_SYM_RSC_FILES is too long and is being truncated during processing,
thereby eliminating a needed rsc from the list.

In case a), use the fontinst.ma to open each rsc, look for an unwanted
font#227, then either eliminate the unwanted 227 (bad), alter the
IPLOTSRV_SYM_RSC_FILES cfgvar to place the offending rsc after the rsc in
which the desired 227 lives (better), or copy the desired 227 to the
first-loaded rsc (best).

In case b), alter the mucage1000.cfg. There is a limit to the length of v5
and v7 cfgvars [255 chars? I'm don't recall exactly. If so, mu_fonts.rsc is
not being included. Is font#227 installed in this file? ] Create a
user-defined path variable, then use it to define the paths for
IPLOTSRV_SYM_RSC_FILES as follows:

MU1000_RSC = "c:\Program Files\Fichiers
communs\InterPlot\iplot\resrc\system\"
# Make sure that this new var name is not already in use
# Comment lines are preceded with the pound-sign character
# Insert comment lines in the cfg file to describe and date your changes
IPLOTSRV_SYM_RSC_FILES =
$(MU1000_RSC)mu_1000\mucage.rsc;$(MU1000_RSC)mu_1000\z_f90_93.rsc;$(MU1000_R
SC)mu_1000\servitudes.rsc;$(MU1000_RSC)mu_fonts.rsc"

I suspect that case b) is your problem here. Because font#227 cannot be
found, it is being replaced by another font according to uStn's internal
logic.

hth,
Jeffrey Malter



Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> MicroStation All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB