On Linux (SuSE), there is a vb based program (exe, via WINE) that generates some reports in text format like Notepad or Dos Edit. and the same time it prints the outputs at run time. There is a DMP attached with linux (Server) and no other printers are there. The client is XP and there also the EXE is working. I configured SAMBA for the printer as well as printer on XP. Normal printing is going on, like type filename.txt >prn or lpr -l filename.txt. But when run the program there is no print out. There is a Queue shown in the printer icon. After some work around, I discovered that some ASCII characters are creating problem which is at top of the text file. If I remove them manually and print it, it works fine. But I want to take print at run time coz every time it is not possible to get prints thru manually. Any one can help me how to eliminate these ASCII chars at run time either via XP or Linux. The program i.e. exe is okay and printer is also ok.
Software/Hardware used: Linux / Windows / VB Program / DMP