|
@@ -86,7 +86,10 @@ public class PrintHelper {
|
|
|
this.textSize = textSize;
|
|
this.textSize = textSize;
|
|
|
return this;
|
|
return this;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ public TextBuilder setTextAutLine(String x,String y,int width,int size,boolean isbole,boolean isdouble,String str) throws Exception {
|
|
|
|
|
+ HPRTPrinterHelper .AutLine(x,y,width,size,isbole,isdouble,str);
|
|
|
|
|
+ return this;
|
|
|
|
|
+ }
|
|
|
public TextBuilder setBold(int bold) {
|
|
public TextBuilder setBold(int bold) {
|
|
|
if (bold < 0) {
|
|
if (bold < 0) {
|
|
|
bold = 0;
|
|
bold = 0;
|