Mike Sinclair : >> Ok.....I finally figured out how to do this. For those of you who need to use printer control codes from within Rbase for Windows, here is what I found that works. 1) You have to have a "Generic/Text only" printer set up as your windows printer.....anything else eats the printer control codes. << When the printer is connected to the // port, do you print directly to it thru Windows printer's manager ? >> 3) Create the variables in the report using the CHAR function, but put parentheses around the whole thing.....ie vRESET = ( (CHAR(27)) + (Char(67)) ) .....notice the extra () << Is the variable's width important ? (I.E. if the escape command is 20 char long, must it be wider than the one for 2 char ? >> 4) Areas such as the REPORT FOOTER have to be at least some certain size, about 1/4 inch or the variables/printer control codes you put in there won't get used. << I suppose the same remark apply to RH (if you need to send commands to initialise the printer) .... >> I hope this helps somebody. << Oh yes, it does .... I'll try that as soon as I can. A great thank you for your precious explanations ... J.M. GRATIAS, Logimatique, France
