It's a long time since I did this, but my recollection is that the Escape initialisation sequence needs to be done only once at the beginning of each _string of codes_, or individually for each code. So your best bet is to try concatenating all the escape sequences. In many cases you need only pass the escape once for each code string, but it pays to be careful. Try ..... Write(Output, escInit + escSetDraft + escLeftMargin + escRightMargin + escSelect12CPI); .......... Or even .......... Write(Output, #27'@l1Q1x0M'); .....
And if I remember there was an Escape cancellation code as well. John Wilson _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

