CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Win32 Programming Help:
use utf8 and Right-to-left in Win32::Printer module

 



mohsenalizadeh
Novice

Jan 1, 2010, 10:53 AM

Post #1 of 2 (3677 views)
use utf8 and Right-to-left in Win32::Printer module Can't Post

Hi
I use Win32::Printer Module and want to print with utf8 format and Right-to-left .
when I use this syntax :

Code
$dc->Write($taxi, 160, 10,100,25,UTF8);

it work correctly .
But I want to text aligned from right of page ,thus use this syntax:

Code
$dc->Write($text, 160, 10,100,25,UTF8,RTLREADING);

but is not chang in direction .

Module URL :

http://search.cpan.org/~wasx/Win32-Printer-0.9.1/Printer.pm

I want align text from right of page.please help me.
Thankyou.
mohsenalizadeh9@gmail.com


(This post was edited by mohsenalizadeh on Jan 1, 2010, 11:40 AM)


mohsenalizadeh
Novice

Jan 28, 2010, 1:38 AM

Post #2 of 2 (3445 views)
Re: [mohsenalizadeh] use utf8 and Right-to-left in Win32::Printer module [In reply to] Can't Post

Thankyou from all
I can Solve my problem.
I use this Syntax :
$dc->Write("$text",64,39,RTLREADING | UTF8 );

This charachter solve my problem : |
Sly

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives