Jump to content


Photo
- - - - -

Printing to File


1 reply to this topic

#1 gpmiller

gpmiller

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 12 July 2005 - 05:53 AM

Hi - I need to print to a disk file before sending the file to a printer. How can I print a line to the file without appending a CR/LF to the end of the line. (I can do this in VB by using the semi-colon at the end of the line)

Regards Graham

#2 Joseph Bove

Joseph Bove

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 756 posts
  • Gender:Male
  • Location:Ramsey, United States

Posted 12 July 2005 - 01:23 PM

Graham,

The easiest thing would be create the file as normal and then call a simple perl script to replace CR/LF with nothing.

It's a simple enough Perl script and Perl can work on either Windows or Unix.

hth,

Joseph



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users