Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
STRTOFILE writes to file with printer name
Message
De
04/09/2001 09:02:49
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
04/09/2001 08:59:04
Patrick O'Neil
American Specialty Information Services
Roanoke, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00552012
Message ID:
00552014
Vues:
20
??? PrinterSetupCodes + lc_File_Contents

If required, you can issue:

SET PRINTER TO NAME lc_Printer_Name

HTH, Hilmar.

>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 ?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform