>
>Thanks Again
>
> In the Generic/Text Only driver Doesn't exist option to personalized paper size. Therefore I use escape sequences to control paper size. When send the sequence from command window
>???chr(27)+'C'+chr(43) &&You are right in sintaxis :-)
>later, I need execute
>Set printer to
>To clean the spooler.
>From command window all works fine, the preview report and printing are good. But if I send it from my application don't works. I do next:
>In click method of my printing button
>???chr(27)+'C'+chr(43)
>Set printer to
>Report form ....
>But the report form take the default size. If you will have known, I'll thank you very much.
>
>Thanks A LOT
>
>Enrique
Hi Enrique,
This was ASCII (should be) ? If you don't have a title, create one. There change (add) your very first upper-left label, or field to a field expression like chr(27)+"C"+chr(43)+your_existing_label_field_if_any.
report form ... to printer ascii nowait
set printer to
This should work. I can't test it for the moment unfortunately.
Cetin