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. Printing on printer

Printing on printer

Scheduled Pinned Locked Moved Visual Basic
questionwpf
4 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.
  • P Offline
    P Offline
    Peterrynan
    wrote on last edited by
    #1

    I have two questions, when I print using the Textout method I always get the default printer setting. I would like to change the style of the print, lets say MODERN Or SWISS, how can I do that. Also is it possible to change the print styles while the doc is printing. Lets it starts in times roman and then goes to arial or a larger size. Can this be done with textout or do I have to use The Draw text method to do this? If so how?:)

    C 1 Reply Last reply
    0
    • P Peterrynan

      I have two questions, when I print using the Textout method I always get the default printer setting. I would like to change the style of the print, lets say MODERN Or SWISS, how can I do that. Also is it possible to change the print styles while the doc is printing. Lets it starts in times roman and then goes to arial or a larger size. Can this be done with textout or do I have to use The Draw text method to do this? If so how?:)

      C Offline
      C Offline
      Carlos Antollini
      wrote on last edited by
      #2

      Printer.Font Regards!!! Carlos Antollini. Sonork ID 100.10529 cantollini

      P 1 Reply Last reply
      0
      • C Carlos Antollini

        Printer.Font Regards!!! Carlos Antollini. Sonork ID 100.10529 cantollini

        P Offline
        P Offline
        Peterrynan
        wrote on last edited by
        #3

        So how would I code this in C++?:)

        C 1 Reply Last reply
        0
        • P Peterrynan

          So how would I code this in C++?:)

          C Offline
          C Offline
          Carlos Antollini
          wrote on last edited by
          #4

          Peter, You posted your question under something called Visual Basic Forum...;) I thinked that because you put in the previous question the function TextOut... Printer.Font is a function in VB. But How I love VC++ And hate VB I will answer you... TextOut use the current Font... For select the font must to use CDC::SelectObject Regards...;) ;) ;) Carlos Antollini. Sonork ID 100.10529 cantollini

          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