Results 1 to 6 of 6

Thread: Printing Reports?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2001
    Posts
    80

    Talking Printing Reports?

    I have to print out a simple report, but what I have been trying to far isn't quite working.

    I need it to do something like this. Of course I've simplified the hell out of it here to explain my problem.

    NAME: Johnny Paycheck ADDRESS: 78 Oh Yeah St


    The trouble here is that I need NAME & ADDRESS printed in bold, but the rest in regular font.
    In the vb program I've allowed the user to select their own fonts and font sizes, but if I write this to a simple .txt file it of course won't format the fonts for me.

    If I use the "Printer.print" statement, it works like a charm, but I can't figure out how to change between bold and regular whilest being on the same line.

    Basically, I either need someone to tell me if there's a way to print different fonts on one line using "Printer.print" or I need a suggestion on how to accomplish this task.

    Really all I need help with is how the hell to print a single line with different fonts or sizes and so on.

    Thanks everyone!
    P.S. I'm trying to keep this simple, so please don't respond with 4 pages of API calls or even 4 pages of code. There is an easy way to do this. I just can't find it....haha

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    if you were trying to keep it simple then why don't u just make a data report....

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jul 2001
    Posts
    80

    SUre

    Sounds good, what the hell is a data report?

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jul 2001
    Posts
    80
    Okay I think I know what one is now.
    But I can't use one. I don't have a database or Data Environment.
    The user just enters info on a form.

  5. #5
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    ahh... well technically you still could... but it would require some more code.. and i guess you don't want that..

    what you may want to try to do (and i didn't test this.. it is just an idea) is add a rich text box control to your form.. i guess you could even make it not visible...

    after the user fills out the form... format the data to the rich text box(which supports bold,italics..blah blah) and then use the printer.print to print it out...

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Jul 2001
    Posts
    80
    Sounds good. I'll give her a shot! Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width