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. How to print (and preview) any document - but not with CrystalReport

How to print (and preview) any document - but not with CrystalReport

Scheduled Pinned Locked Moved C#
csharptutorialquestion
5 Posts 3 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.
  • E Offline
    E Offline
    E_Gold
    wrote on last edited by
    #1

    hi How to print (and preview) any document - but not with CrystalReport (working on VS2008 - C#) ex. i have 6 val's in my C# program that i want to print (and preview) how i can do it ? thank's in advance

    L D 2 Replies Last reply
    0
    • E E_Gold

      hi How to print (and preview) any document - but not with CrystalReport (working on VS2008 - C#) ex. i have 6 val's in my C# program that i want to print (and preview) how i can do it ? thank's in advance

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      Printing is a rather complex matter. Printing a Form is based on the Paint handler and the PrintDocument class. My Sokoban article offers a simple example. :)

      Luc Pattyn [Forum Guidelines] [My Articles]


      I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


      E 1 Reply Last reply
      0
      • L Luc Pattyn

        Printing is a rather complex matter. Printing a Form is based on the Paint handler and the PrintDocument class. My Sokoban article offers a simple example. :)

        Luc Pattyn [Forum Guidelines] [My Articles]


        I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


        E Offline
        E Offline
        E_Gold
        wrote on last edited by
        #3

        your project not open on my VS2008 is there any sample code for this ?

        L 1 Reply Last reply
        0
        • E E_Gold

          your project not open on my VS2008 is there any sample code for this ?

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #4

          It probably is a VS2005 project, which VS2008 can convert. :)

          Luc Pattyn [Forum Guidelines] [My Articles]


          I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


          1 Reply Last reply
          0
          • E E_Gold

            hi How to print (and preview) any document - but not with CrystalReport (working on VS2008 - C#) ex. i have 6 val's in my C# program that i want to print (and preview) how i can do it ? thank's in advance

            D Offline
            D Offline
            dojohansen
            wrote on last edited by
            #5

            E_Gold wrote:

            How to print (and preview) any document

            And while on the subject of magic: How to do anything and everything automatically? Hint: Any document implies a system that can intelligently reverse-engineer any format presented to it, past, present or future, as well as one that can break encryption that is considered unbreakable. In short, you are asking for nothing less than magic.

            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