>have seen examples that indicated you could specify a printer name
>in the STRTOFILE command and send a string to the specified printer.
>
>i tried the following, but instead of sending the output to the
>selected printer, the output was sent to a file (in the current
>directory). of course the filename is the name of the
>printer that i specified.
>
>
>lc_Printer_Name = ALLTRIM(GETPRINTER())
>lc_File_Contents = FILETOSTR(lc_Source_File_Spec)
>ln_Chars = STRTOFILE( lc_File_Contents , lc_Printer_Name , .T. )
>
>
>how can i get it to go to the printer ?
I dont think you can do this directly with STRTOFILE, but you can see Thread #
314763 as it may be close to what you are trying to do.
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope