自己定义一下吧<br>type PrnBuffRec: = record<br> BuffLength : word;<br> Buffer : array [0..255] of char;<br>end;<br>Buff : TPrnBuffRec;<br><br>StrPCopy(Buff.Buffer, s);<br>Buff.BuffLength := StrLen(Buff.Buffer);<br>Escape(Printer.Canvas.Handle,<br> PASSTHROUGH,<br> 0,<br> @Buff,<br> nil);<br>