Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing TXT Files
Message
 
 
To
04/03/2001 12:38:59
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00481744
Message ID:
00481763
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform