Results 1 to 8 of 8

Thread: [RESOLVED] Print Thermal Receipt vb6

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2010
    Posts
    71

    Resolved [RESOLVED] Print Thermal Receipt vb6

    Hey Coders. I have a Problem. Actually i dont know how to go about it. I developed a POS sys and all works fine. now my problem is. when i print receipts from the system they come out as A4 size which isnt bad but i want to print the receipt on a thermal printer.
    Anyone have code for this or can help me out to code

  2. #2
    Hyperactive Member
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    400

    Re: Print Thermal Receipt vb6

    Hi Patoh

    Ive written a couple of pos systems in the past and can assist you with printing to a thermal receipt printer. Firstly what type of printers will you be using ? and secondly will you be using the printer drivers supplied with the product ? The reason i ask is because if you want to use the printer drivers you would need to write Modules or funtions to cater for the different types of printers and drivers as they all print differently. What i did was no matter what the make or model the printer is I will install it as a "generic/Text Only" printer in windows and then tell the printer what and how to print. This is definately worth a look and i have found no problems as of yet doing it this way.

    AJ

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 2010
    Posts
    71

    Re: Print Thermal Receipt vb6

    Thanks A.J.
    Ok Firstly. I am using an E-POS TEP 250 .. It came only with drivers to install it into the computer. i.e. just print instal drivers.
    I would love to try your method because if i put the thermal printer as my default printer. all my data reports dont show. they give the report width error..

    So i would really love to try your text print method.. i think its what i need. that way i wuldnt interfere with the A4 reports.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Nov 2010
    Posts
    71

    Re: Print Thermal Receipt vb6

    I managed to Do it using another method. Thanx for the help

  5. #5
    Registered User
    Join Date
    Feb 2013
    Posts
    2

    Re: [RESOLVED] Print Thermal Receipt vb6

    Hey there,

    I have the same situation as you had before.
    I am tasked to create a code for my POS program, its my first time to encounter printing on thermal printers so i am really confused somehow.

    If your kind enough, can you send me a VB program that will be a good example for me on how to achieve this one.
    If possible i want to create a POS receipt that can be printed on different thermal printer paper size.
    pls send me an email at [email protected]

    Thank

  6. #6
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,206

    Re: [RESOLVED] Print Thermal Receipt vb6

    Printing to a Thermal Printer is just like printing to any other printer. Nothing special about it.

  7. #7
    Registered User
    Join Date
    Feb 2013
    Posts
    2

    Re: [RESOLVED] Print Thermal Receipt vb6

    Yeah, right!

    I tried it already and it worked but i am facing new problem, can anybody tell me please how am i suppose to set or code my POS receipt to fit to any paper size for POS receipt.

    For example they might change their current POS printer and the replacement printer paper size is somewhat different than the current printer paper size. So i want or the owner wants that the system must be able to adapt any paper size.

    God Bless

  8. #8
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,206

    Re: [RESOLVED] Print Thermal Receipt vb6

    You would typically do this by using an external file for settings or registry entries. Your code would read these settings and modify the way it prints if needed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width