Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing TXT Files
Message
 
 
À
04/03/2001 12:38:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00481744
Message ID:
00481763
Vues:
14
>Hi!
>
>I have reports in my App. which allow users to print to TXT files. The users could later print these TXT files from outside my App using NPRINT as this App was running under Novell Netware but now we are in the process of moving to an NT based Network.
>
>Is there a similar program (like NPRINT) in NT?
>
>I looked at NET PRINT but that seems to just show info about a computer/printer/port etc. it does not seem to actually print out the TXT file. In Novell I could "NPRINT customer.txt" and also specify the queue name job name etc.
>
>Thanks.
>
>
Sarosh,

Two ideas immediately came to mind:
1) lcStr=filetostr('yourFile.txt')
??? lcStr && send output to printer (,ay be some other commands to activate printer are needed)

2) ShellExecute.
See this message for example Third party products Re: Amyuni PDF converter to Printer Thread #470096 Message #470108
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform