[Gambas-user] How to print Greek

Dimitris Anogiatis dosida at ...626...
Fri Feb 12 22:56:36 CET 2010


Vassili,
You might have to convert the Greek Unicode characters into ANSI or ASCII
(not sure how your printer works I haven't
used a parallel printer in a while) in order to see some Greek characters
printed out.

if you can verify that the printer is setup correctly and an ascii plain
text with Greek characters prints out fine from your linux box then
it should be just a matter of unicode to ASCII conversion

Hope this helps
Regards,
Dimitris

On Fri, Feb 12, 2010 at 12:45 PM, Vassilis K <vkan53 at ...2300...> wrote:

> I am using a parallel printer Panasonic KX-P1150 (dot printer).
>
> The printer is at /dev/lp0 and prints very well in English.
>
> In Greek it only shows some strange characters like "road crossings" and
> crosses with other symbols.
> I have tried to use all the font options of the printer that can be
> adjusted from the front panel:
>
> 0.PROGRAM
> 1.Courier
> 2.Roman
> 3.Bold PS
> 4.Sans Serif
>
> The 1st of them is probably for the Program and the other are as
> described !
>
> All of the options print the strange crossings in Greek and everything
> OK in English.
> Is there any solution?
>
> Last year I used the same printer with a Visual Basic Program and it
> didn't print Greek at all (the same road crossings).
>
> The printing code is:
>
> hPrinter = OPEN "/dev/lp0" FOR OUTPUT
>          hPrinter.EndOfLine = gb.Windows
>          PRINT #hPrinter, "Afixi" &  prosorinoAA & " " &
> tEpitheto.Text
>
>
>
>
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list