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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual Basic.net VS MS SQL VS Receipt Printer

Status
Not open for further replies.

nicholasting

Programmer
Jul 28, 2006
15
MY
i dont know whether my message is in in correct forum.. sorry if i wrong.

i having a very funny situation. please guide me if you got this experience.

My receipt printer has binded an image. therefore everytime my application print document to receipt printer, the printer will print out the logo that i binded and continue with my text data. i have tried test print and the logo is comming out before the text data print out.

therefore, my application is calling a stored proceture and my stored procedure will call my another small exe that is print receipt. so bad is, the printer does not print out any logo but just text document. in another way round, i direct execute the small exe, the logo will come out. it is too ridiculous.

my code is something like this in store procedure:-
EXEC MASTER..XP_CMDSHELL 'C:\EASI\RECEIPT.EXE'

if anyone got this experience, please share with me the solution.

thanks for very first.

regards,
nicholas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top