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. C#
  4. printing with CrystalReportsViewer

printing with CrystalReportsViewer

Scheduled Pinned Locked Moved C#
csharpvisual-studioquestion
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.
  • T Offline
    T Offline
    troels_sorensen
    wrote on last edited by
    #1

    Hi. I'm developing a part of a larger System where I'm using the crystal reports viewer that comes with Visual Studio .NET. I want to be able to control wether or not the printer selection screen should be displayed. In our System we already have configured wich printer to use, so the windows printer selection screen that appears after pressing the print button, should not be shown. Is this at all possible to control when I'm usig the crystal reports viewer? Regards Troels

    H 1 Reply Last reply
    0
    • T troels_sorensen

      Hi. I'm developing a part of a larger System where I'm using the crystal reports viewer that comes with Visual Studio .NET. I want to be able to control wether or not the printer selection screen should be displayed. In our System we already have configured wich printer to use, so the windows printer selection screen that appears after pressing the print button, should not be shown. Is this at all possible to control when I'm usig the crystal reports viewer? Regards Troels

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      If you use the ildasm.exe IL disassembler that ships with the .NET Framework SDK and view the IL for CrystalReportViewer.PrintReport - following it till ReportDocumentBase.Print - you'll see that it displays the PrintDialog without checking any state variables. So, unfortunately, you can't change this behavior. You might try emailing support at http://www.crystaldecisions.com[^] to request such a feature.

      -----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----

      T 1 Reply Last reply
      0
      • H Heath Stewart

        If you use the ildasm.exe IL disassembler that ships with the .NET Framework SDK and view the IL for CrystalReportViewer.PrintReport - following it till ReportDocumentBase.Print - you'll see that it displays the PrintDialog without checking any state variables. So, unfortunately, you can't change this behavior. You might try emailing support at http://www.crystaldecisions.com[^] to request such a feature.

        -----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----

        T Offline
        T Offline
        troels_sorensen
        wrote on last edited by
        #3

        It looks like you are right. :sigh: Thanks anyway.:|

        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