开发者

YPosition Problem with Graphics.DrawString C#

开发者 https://www.devze.com 2023-04-05 13:22 出处:网络
Today\'m trying to Print a Ticket in a MiniPrinter Using C#, My Problem is when i try to Set the YPosition more than 85 For Example:

Today'm trying to Print a Ticket in a MiniPrinter Using C#, My Problem is when i try to Set the YPosition more than 85 For Example:

gfx.DrawString(headertitle, printtitle, myBrush, leftMargin, 80, new StringFormat());

Result: The Print is In Range

gfx.DrawString(headertitle, printtitle, myBrush, leftMargin, 90, new StringFormat());

Result:开发者_StackOverflow Appears only half of the letters, it looks as if They were exposed out of range

I Not really understand my problem, because this printer uses paper tape and should not have a range

0

精彩评论

暂无评论...
验证码 换一张
取 消