Thermal Printer

edited 12:23PM in FastReport 4.0
I Need an example for creating report in vb.net for thermal printer and auto cut

Comments

  • edited 12:23PM
    sajid wrote: »
    I Need an example for creating report in vb.net for thermal printer and auto cut
    There shouldn't be a problem using a pretty normal report.

    That is as long as you have the right driver for the printer. Unfortunately some drivers supplied by the manufacturer are very limited and are almost unusable in terms of getting a satisfactory result. If that is the case then go here
    http://www.seagullscientific.com/aspx/free...nters-list.aspx
    and see if you can get a better driver.

    Depending on the printer it may cut automatically after the formfeed or you may have to add an extra printfield and use the 'Control' character set.

    One thing I always struggle with is to get the printer to print in a decent font, even using the built-in printer fonts do not work nicely via the windows driver.
  • gpigpi
    edited 12:23PM
    This is forum for FR VCL. Not FR.Net or FR for ActiveX
  • edited 12:23PM
    Everything is done in my report ...
    The problem is the printer is not cutting the paper at the end of printing..
    I am using fast report studio 4.6 and vb.net 2005
    is there any option or code for cut the paper after print..
  • edited 12:23PM
    sajid wrote: »
    Everything is done in my report ...
    The problem is the printer is not cutting the paper at the end of printing..
    I am using fast report studio 4.6 and vb.net 2005
    is there any option or code for cut the paper after print..
    The windows printer driver should have a native 'Control' Character set.
    Put a memo component as the last thing to be printed. Set Font to 'Control' and check what code trigger the cut. With the last printer I installed just print an 'A' in this component resulted in a cut.
  • edited 12:23PM
    technisoft wrote: »
    technisoft wrote: »
    Everything is done in my report ...
    The problem is the printer is not cutting the paper at the end of printing..
    I am using fast report studio 4.6 and vb.net 2005
    is there any option or code for cut the paper after print..
    The windows printer driver should have a native 'Control' Character set.
    Put a memo component as the last thing to be printed. Set Font to 'Control' and check what code trigger the cut. With the last printer I installed just print an 'A' in this component resulted in a cut.

    Dear I checked there is no font Like 'Control' as you said, Can you please Send me sample that worked properly that you created already . Its a big Problem in my application
    Thanks..
  • edited August 2012
    sajid wrote: »
    Dear I checked there is no font Like 'Control' as you said, Can you please Send me sample that worked properly that you created already . Its a big Problem in my application
    Thanks..
    Open attached file in report designer. Zoom to 200% for readability. The last field is the cut instruction. The colour has only been added for easier identification and is not there in the production version.
    The control character set is part of the Windows printer driver.
  • edited 12:23PM
    I did it same like but same problem auto cutter not working, Please Verify if another version of fast report that will perfect work with vb.net 2005..

    thanks..
  • edited 12:23PM
    sajid wrote: »
    I did it same like but same problem auto cutter not working, Please Verify if another version of fast report that will perfect work with vb.net 2005..

    thanks..
    There is nothing more I can do. I do not have VB on my computer and as my FR installation works for me at the moment I am not prepared to upset it by installing another one. Sorry.
  • edited 12:23PM
    I thought and Get Best Solution For Auto Cutter..

    in vb.net when we add code "Printer.EndDoc" its mean it will cut automatically..
    But in fast report it will not cut the automatically..

    'Solution is'

    just run Your fast report and print..

    then

    in vb.net right code..

    Printer.Print ""
    Printer.EndDoc

    it will cut the Paper automatically..

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.