Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Crystal Reports in VB.Net 2003

Crystal Reports in VB.Net 2003

Scheduled Pinned Locked Moved Visual Basic
csharphelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kusal
    wrote on last edited by
    #1

    Hi, I need to print Receipt(Bill) in VB.Net application. I created that Receipt using crystal report wizard and I put report name as myBill.rpt. My application has "Print" button. I need to print that receipt directly after clicking that "Print" button without using Crystal Report Viewer tool. Is it possible? What are the coding I'll add to that "Print" button. Any one can help me, pls send me some sample code ? Regards Kusal

    T 1 Reply Last reply
    0
    • K Kusal

      Hi, I need to print Receipt(Bill) in VB.Net application. I created that Receipt using crystal report wizard and I put report name as myBill.rpt. My application has "Print" button. I need to print that receipt directly after clicking that "Print" button without using Crystal Report Viewer tool. Is it possible? What are the coding I'll add to that "Print" button. Any one can help me, pls send me some sample code ? Regards Kusal

      T Offline
      T Offline
      Tirthadip
      wrote on last edited by
      #2

      Kusal wrote:

      Is it possible? What are the coding I'll add to that "Print" button. Any one can help me, pls send me some sample code ?

      Off course ,possible.. try this code in Print button's Click event Dim myRpt as myBill myRpt .Refresh() myRpt .PrintOptions.PrinterName = "Path of the printer" myRpt .PrintOptions.PaperSource = "Printer tray" myRpt .PrintToPrinter(1, False, 1, 1) hope it will work

      Tirtha Miles to go before I sleep

      K 1 Reply Last reply
      0
      • T Tirthadip

        Kusal wrote:

        Is it possible? What are the coding I'll add to that "Print" button. Any one can help me, pls send me some sample code ?

        Off course ,possible.. try this code in Print button's Click event Dim myRpt as myBill myRpt .Refresh() myRpt .PrintOptions.PrinterName = "Path of the printer" myRpt .PrintOptions.PaperSource = "Printer tray" myRpt .PrintToPrinter(1, False, 1, 1) hope it will work

        Tirtha Miles to go before I sleep

        K Offline
        K Offline
        Kusal
        wrote on last edited by
        #3

        Dear Tirtha Many Thanks Regards Kusal

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups