[Kde-i18n-fa] How to print farsi documents

Aryan Ameri a.ameri at linuxiran.org
Thu Sep 16 23:20:51 CEST 2004

On Thursday 16 September 2004 19:43, Medi Montaseri wrote:
> Thanks Arash jan....
> Looks like gedit(1) was the problem, I tried kedit(1) but when I
> attempted to switch my keyboard
> via "Alt-Shift", kedit(1) seg-faulted.=20

=46rom KDE 3.2, Alt-Shift isn't working properly, not at-least for me.

> I then moved to kwrite(1)=20
> which works but I get the following
> error constantly for every key stroke
> ASSERT: "width" in katerenderer.cpp (675)
> ASSERT: "width" in katerenderer.cpp (675)
> ASSERT: "width" in katerenderer.cpp (675)
> ASSERT: "width" in katerenderer.cpp (675)
> ASSERT: "width" in katerenderer.cpp (675)
> ASSERT: "width" in katerenderer.cpp (675)
> I did manage to print using kwrite(1).
> Any ideas on why I'm getting this assertion ?
> Thanks guys....I've been waiting for this revelution (Farsi on Linux)
> for years....

umm, it has been available now, for a couple of years, albeit with its=20
own problems.
> PS: how do I write an HTML file, could I just use kwrite, provide the
> HTML tags in English
> and put my content by switching to Farsi and then end-tags in
> English...
Yes, generally that's what you should do. Also in the <head> of your=20
html file, specify encoding as UTF-8, and also using whatever editor,=20
make sure that when you are saving your document, the editor saves its=20
contents using utf-8 encoding.

It is ofcourse easier said than done. In practice, mixing english and=20
farsi text will cause you so many peculiar and weird problems, that you=20
rarely get the formatting that you like. I have produced a couple of=20
persian html pages, and it takes me trice the amount of time to produce=20
a persian html page, relative to a comparable english document.=20
> Arash Zeini wrote:
> >We have been using (Farsi)KDE successfully to print documents in
> > Farsi as well as other languages on network printers using CUPS.
> >
> >This is not a KDE related problem. It looks to me like the
> >GnomePrintCupsPlugin has a problem. Can you print your documents
> > using KDE applications like KEdit, KWrite, KOffice or applications
> > like OO.org?
> >
> >Greetings,
> >Arash
> >
> >In a message dated Thursday 16 September 2004 02:09, Medi Montaseri=20
> >>I am using gedit(1) and have a linux KDE and have couple of network
> >>printers on my LAN.
> >>
> >>I was wondering how to I print my document to these printers.
> >> Currently when I print or do a
> >>print preview from gedit, I see bunch of non-printables chars.
> >>
> >>I do get the following messages from gedit(1)
> >>
> >>(gedit:12099): GnomePrintCupsPlugin-WARNING **: iconv does not
> >> support ppd character encoding: ISOLatin1, trying CSISOLatin1
> >>Model not found, discarding config
> >>Model not found, discarding config
> >>
> >>Is there any HOW-TO for the printing part of Farsi KDE environment.
> >>I have a feeling, some print spooler filter needs to translate the
> >>content to Postscript or whatever
> >>the printer understand.
> >>
> >>Thanks
> >>_______________________________________________
> >>Kde-i18n-fa mailing list
> >>Kde-i18n-fa at kde.org
> >>https://mail.kde.org/mailman/listinfo/kde-i18n-fa

/* It is always a simple matter to drag the people along, whether it is=20
a democracy or a fascist dictatorship or a Parliament or a Communist=20
dictatorship. People can always be brought to the bidding of the=20
=2D- Herman G=F6ring, N=FCrnberg Trials */

Aryan Ameri

More information about the Kde-i18n-fa mailing list