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. Problem with Crystal reports dynamic printing in .net

Problem with Crystal reports dynamic printing in .net

Scheduled Pinned Locked Moved Visual Basic
helpcsharpsysadmin
2 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.
  • A Offline
    A Offline
    arashrajaei
    wrote on last edited by
    #1

    Hi All I have written a program in vb.net 2005 for generating dynamic reports from SQLserver 2000 , the report generates successfuly but when it goes for printing with a network printer that I specify it programaticaly I get this error : Erorr in file E:/DOCUMEN~1/admin/LOCAL~1/Temp/temp_4fc557_33455ed_{asd33dh3_dsd}.rpt :unable to connect : incorrect logon parametrs The code that I using for printing is : Dim m AsNew A4Bill m.PrintOptions.PrinterName = "\\Arash\Microsoft Office Document Image Writer" Try m.PrintToPrinter(1, False, 0, 1) Catch ex As Exception message.Text = ex.Message EndTry Thanks for your Help Arash Rajaei

    J 1 Reply Last reply
    0
    • A arashrajaei

      Hi All I have written a program in vb.net 2005 for generating dynamic reports from SQLserver 2000 , the report generates successfuly but when it goes for printing with a network printer that I specify it programaticaly I get this error : Erorr in file E:/DOCUMEN~1/admin/LOCAL~1/Temp/temp_4fc557_33455ed_{asd33dh3_dsd}.rpt :unable to connect : incorrect logon parametrs The code that I using for printing is : Dim m AsNew A4Bill m.PrintOptions.PrinterName = "\\Arash\Microsoft Office Document Image Writer" Try m.PrintToPrinter(1, False, 0, 1) Catch ex As Exception message.Text = ex.Message EndTry Thanks for your Help Arash Rajaei

      J Offline
      J Offline
      Janani Divya
      wrote on last edited by
      #2

      Hey there was a default field for printing the reports in crystal report viewer. Then why are u trying for generating ur own print method.

      Janani

      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