printing a file (created in a procedure) in hebrew language  
Author Message
GreatGrandma





PostPosted: Visual Basic Language, printing a file (created in a procedure) in hebrew language Top

in vb.net 2003, i have a project (for a store -in israel) in which I want to print a receipt. I write the receipt in a file for which i use the stream writer . The file contains hebrew headings and variables containing hebrew. when it prints it looks like gibberish. What can I do. Help! I am despairing.!

Thanks for any help!!!

GreatGrandma!!



Visual Basic17  
 
 
Geek Squad





PostPosted: Visual Basic Language, printing a file (created in a procedure) in hebrew language Top

Because you use the streamwriter, I think it produces a text file
And I dont think text file characters include Hebrew...

As for a solution, sorry, I don't know.


 
 
GreatGrandma





PostPosted: Visual Basic Language, printing a file (created in a procedure) in hebrew language Top

to geek squad. thank you for your answer. Would u have an idea how to write a file w/o the stream writer or file stream writer.

Thanks a lot for your quick answer

GreatGrandma

!


 
 
Geek Squad





PostPosted: Visual Basic Language, printing a file (created in a procedure) in hebrew language Top

Maybe...Where does the text come from A textbox

If you made your application using PHP online it would work (and I could help you with that if you didnt know PHP)...But I doubt you want an online application...




 
 
GreatGrandma





PostPosted: Visual Basic Language, printing a file (created in a procedure) in hebrew language Top

thanks again Geek Squad for your answer. You are right about my not be interrested in using on line. The file is indeed printed from a text box. I also tried to print with the graphic option (meant for pictures) but then it gave an error message that there not enough memory

All the best