Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
I Use a Function Use LPrinter to send print text in Raw Mode to My LQ300 Printer
when Send arabic string to printer and convert this string to UTF8 printer prints ????
How to solve this problem?
Posted 25-Jun-13 21:32pm
Hekmat901.4K
Comments
Sergey Alexandrovich Kryukov at 26-Jun-13 2:35am
   
Not enough information. A comprehensive but short code sample could help.
—SA

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Your printer model doesn't seem to support unicode. You will have to transform your string into a bitmap and print that. Start with the PrintDocument[^] class's example. The interesting part ist the line
ev.Graphics.DrawString(...
Here, you can use any font that is installed in your OS. It is converted to a bitmap and then sent to the printer.
  Permalink  
Comments
Hekmat90 at 26-Jun-13 4:55am
   
I can Print by this method but the hole page eject by printer .i want stop paper after each print
lukeer at 26-Jun-13 5:34am
   
Collect lines until you have enough for a whole page. Then print the whole page in one go.
Hekmat90 at 26-Jun-13 6:00am
   
I want Use Roll Page and Cut it after multi line print

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web03 | 2.8.1411022.1 | Last Updated 26 Jun 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100