>I am trying to send my report to a raw printer
>
>is ther a better idea than my code below ?
>
>
>**************************************************
> report form PEDIDO TO FILE "PEDIDO1.TXT" ASCII
>
> DECLARE INTEGER CopyFile IN KERNEL32.DLL ;
> STRING @SourceFileName, ;
> STRING @DestFileName, ;
> INTEGER bFailIfExists
>IF CopyFile('PEDIDO1.TXT', 'LPT1',0) # 0
> * It was copied
>ELSE
> * it wasn't
>ENDIF
>*************************************************
If you use proportional fonts in that report it will be total mess when it prints. Also why not just use normal reports and tell your client to buy a proper printer?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.