POS Receipt Printing Not Working RRS feed

  • Question

  • My application I am building is a point of sales system. Its uses the pos sdk , so it can communicate with my Opos devices(display,printer, cashdrawer etc.)

    The problem I am having is getting the application to print a receipt. I am able to print a line of text.

    I want to learn how to format the text to be printed. 

    Here is some code that I have tried:

    myString = "My Pos Application Name" + Chr(13).ToString + Chr(10).ToString 'chr(13) = return , Chr(10) = Line Feed myPrinter.PrintNormal(PrinterStation.Receipt, myString) myString = "Thank You for Your Business" + Chr(13).ToString + Chr(10).ToString myPrinter.PrintNormal(PrinterStation.Receipt, myString)

    However, it prints the text on the paper, but I need to add alignment and formating.

    I hope there is just a simple way of doing this.

    I have been Trying to figure this out for a week now.

    My Printer Name is  IBM Suremark 4610

    Friday, January 18, 2013 12:00 AM


All replies