|
ObjPrint.Font.Name = "Songti"
ObjPrint.Font.Bold = False
ObjPrint.CurrentX = lCurx + lm
ObjPrint.CurrentY = lCurY
ObjPrint.Print sMtxt
ObjPrint is an object of type Printer object
The phenomenon that appears is
ObjPrint.Print sMtxt, the page will be changed immediately, and no matter whether sMtxt has a value or not, it will be blank.
Use Printer instead, the same.
If it is said that it is a driving problem, it is easy to print a text with WordPad. There is nothing wrong.
Who encountered this problem? Help me out? |
|