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. need some help with printing in VB.net

need some help with printing in VB.net

Scheduled Pinned Locked Moved Visual Basic
csharpvisual-studiocomhelp
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.
  • O Offline
    O Offline
    olekrh
    wrote on last edited by
    #1

    Hi :-D I am tryning to make aHi I’m trying to make a program that prints out some text on a special location on a paper. I’m using a Windows form, with some textboxes with a sender and resiver address. Some combo boxes to determine a transport method, I made some text appear in a text box, when I check the combo box. Example: I check the box whose label is Taxi, and the word Taxi appears in a text box. Then I made some buttons for the command printing, and for the command Exit (made a menu strip too, with the same functions). My question then is how I can print this out. I want to have the senders address on one location, and the resiver address on another location on the printed paper And so on.... I’m using VB in visual studio 2005, and I’m going to print this out on a Oki Microline 520. Ole Kr A new beginner in VB.net

    S 1 Reply Last reply
    0
    • O olekrh

      Hi :-D I am tryning to make aHi I’m trying to make a program that prints out some text on a special location on a paper. I’m using a Windows form, with some textboxes with a sender and resiver address. Some combo boxes to determine a transport method, I made some text appear in a text box, when I check the combo box. Example: I check the box whose label is Taxi, and the word Taxi appears in a text box. Then I made some buttons for the command printing, and for the command Exit (made a menu strip too, with the same functions). My question then is how I can print this out. I want to have the senders address on one location, and the resiver address on another location on the printed paper And so on.... I’m using VB in visual studio 2005, and I’m going to print this out on a Oki Microline 520. Ole Kr A new beginner in VB.net

      S Offline
      S Offline
      Stephen McGuire
      wrote on last edited by
      #2

      There are many ways to do what you ask... Are you using a database to store information? If so, it may have reporting features that you could use quite easily. Would you consider Office automation, e.g. Word, Excel? If so, you could simply create a Word template or Excel template and insert the data and print it from your code. This would require an installation of one of the above MS Office applications. You could use Crystal Reports (if you have it). Otherwise, you will need to work with Printer/Document objects, which could be quite difficult for someone new to VB. Steve

      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