How to print form ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • C.K

    How to print form ?

    Hi,

    I am doing a calendar program for printing. I have a vb form.
    The form has a picture and a calendar grid made out of
    buttons (I don't actually press the buttons, they were just
    an easy way to make up the grid for the days of the month.
    I now don't know how to print the form. If I will have to
    use screen capture it will be dreadful, not to mention that
    because the size of the form has to result on a fully covered
    A4 page, it will not fit onto my 800x600 screen ?

    The other way I was thinking to do the calendar was to use
    an html page, because then I can add a picture and a table
    quite easily. The down side is that javascript is not an ideal
    language, and I really do need the dotnet calendar object.
    Any ideas?


  • One Handed Man \( OHM - Terry Burns \)

    #2
    Re: How to print form ?

    1.) Get the form up on your monitor
    2.) Drag a photo copier near your machine
    3.) Lift the monitor and place it screen down on your photocopier
    4.) Set the scaling and press go.

    Voila !

    --

    OHM ( Terry Burns )
    . . . One-Handed-Man . . .
    If U Need My Email ,Ask Me

    Time flies when you don't know what you're doing

    "C.K" <assdadad> wrote in message
    news:eiMxcXolEH A.2340@TK2MSFTN GP11.phx.gbl...[color=blue]
    > Hi,
    >
    > I am doing a calendar program for printing. I have a vb form.
    > The form has a picture and a calendar grid made out of
    > buttons (I don't actually press the buttons, they were just
    > an easy way to make up the grid for the days of the month.
    > I now don't know how to print the form. If I will have to
    > use screen capture it will be dreadful, not to mention that
    > because the size of the form has to result on a fully covered
    > A4 page, it will not fit onto my 800x600 screen ?
    >
    > The other way I was thinking to do the calendar was to use
    > an html page, because then I can add a picture and a table
    > quite easily. The down side is that javascript is not an ideal
    > language, and I really do need the dotnet calendar object.
    > Any ideas?
    >
    >[/color]


    Comment

    • C.K

      #3
      Re: How to print form ?


      I'd better read the introduction ...

      "One Handed Man ( OHM - Terry Burns )" <news.microsoft .com> wrote in message
      news:u8X5U6olEH A.596@tk2msftng p13.phx.gbl...[color=blue]
      > 1.) Get the form up on your monitor
      > 2.) Drag a photo copier near your machine
      > 3.) Lift the monitor and place it screen down on your photocopier
      > 4.) Set the scaling and press go.
      >
      > Voila !
      >
      > --
      >
      > OHM ( Terry Burns )
      > . . . One-Handed-Man . . .
      > If U Need My Email ,Ask Me
      >
      > Time flies when you don't know what you're doing
      >
      > "C.K" <assdadad> wrote in message
      > news:eiMxcXolEH A.2340@TK2MSFTN GP11.phx.gbl...[color=green]
      > > Hi,
      > >
      > > I am doing a calendar program for printing. I have a vb form.
      > > The form has a picture and a calendar grid made out of
      > > buttons (I don't actually press the buttons, they were just
      > > an easy way to make up the grid for the days of the month.
      > > I now don't know how to print the form. If I will have to
      > > use screen capture it will be dreadful, not to mention that
      > > because the size of the form has to result on a fully covered
      > > A4 page, it will not fit onto my 800x600 screen ?
      > >
      > > The other way I was thinking to do the calendar was to use
      > > an html page, because then I can add a picture and a table
      > > quite easily. The down side is that javascript is not an ideal
      > > language, and I really do need the dotnet calendar object.
      > > Any ideas?
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Herfried K. Wagner [MVP]

        #4
        Re: How to print form ?

        * "C.K" <assdadad> scripsit:[color=blue]
        > I am doing a calendar program for printing. I have a vb form.
        > The form has a picture and a calendar grid made out of
        > buttons (I don't actually press the buttons, they were just
        > an easy way to make up the grid for the days of the month.
        > I now don't know how to print the form. If I will have to
        > use screen capture it will be dreadful, not to mention that
        > because the size of the form has to result on a fully covered
        > A4 page, it will not fit onto my 800x600 screen ?[/color]

        Mhm... I would implement separate printing code that is based on the
        'PrintDocument' class to perform printing of the calendar.

        --
        M S Herfried K. Wagner
        M V P <URL:http://dotnet.mvps.org/>
        V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

        Comment

        • Brian Davis

          #5
          Re: How to print form ?


          You can check out the code found in this article:



          It may help provide a good starting point for you, and it contains a link to
          some code found on MSDN that may help as well.

          Brian Davis




          "C.K" <assdadad> wrote in message
          news:eiMxcXolEH A.2340@TK2MSFTN GP11.phx.gbl...[color=blue]
          > Hi,
          >
          > I am doing a calendar program for printing. I have a vb form.
          > The form has a picture and a calendar grid made out of
          > buttons (I don't actually press the buttons, they were just
          > an easy way to make up the grid for the days of the month.
          > I now don't know how to print the form. If I will have to
          > use screen capture it will be dreadful, not to mention that
          > because the size of the form has to result on a fully covered
          > A4 page, it will not fit onto my 800x600 screen ?
          >
          > The other way I was thinking to do the calendar was to use
          > an html page, because then I can add a picture and a table
          > quite easily. The down side is that javascript is not an ideal
          > language, and I really do need the dotnet calendar object.
          > Any ideas?
          >
          >[/color]


          Comment

          Working...