Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

paradox printing log

Status
Not open for further replies.
May 24, 2000
1
US
I need to print a log file from some database error scanning I am doing, I would like to print the contents of an array of errors in PAL without making a complete report.&nbsp;&nbsp;Is there a way to do this?&nbsp;&nbsp;Not looking for anything pretty just dump the account numbers I found problmes with?<br><br>Thanks for the help!<br><br>-Robert<br><br>mailto::<A HREF="mailto:bilderbach@bigfoot.com">bilderbach@bigfoot.com</A>
 
Not sure if you're using PAL or OPAL.&nbsp;&nbsp;In OPAL, if the printer port is available (Pdx will just wait otherwise), just do something like:<br><br>var<br>ts textStream<br>errorArray array[] string<br>endVar<br><br>;your code here....<br>if ts.open (&quot;LPT1:&quot;, &quot;NW&quot;) then<br>&nbsp;&nbsp;ts.writeLine(errorArray)<br>&nbsp;&nbsp;ts.close()<br>endif<br><br>Instead of &quot;LPT1:&quot;, you could write to a file &quot;MyErrors.txt&quot; and print the file later.<br>Hope this helps.<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top