Dos Printing problem

26,090 pts.
Tags:
DOS program
Samba
SUSE Linux
SUSE Linux Printing
Windows XP
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. Thanks--

Software/Hardware used:
Linux / Windows / VB Program / DMP
ASKED: January 28, 2011  9:53 AM
UPDATED: January 31, 2011  4:59 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • carlosdl
    Do you have the VB app source code ?
    65,110 pointsBadges:
    report
  • Subhendu Sen
    Thanks Carlosdl, for ur response! I have the source code, but it is so long and big that is not possible to post here. It was developed by our development team. and I asked them regarding this issue, they tested in all respect and according to them and also I checked this code, I did not found any clue / problems. Hope the program is okay, coz this exe runs nearly about 4 yrs simultaneously without giving problems. But if u want only print related code section, I may provide for that. But, it is my doubt, there is something hidden tricks on any one OS like Linux / XP. Thanks --
    26,090 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following