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 / C++ / MFC
  4. Printing Condenced text

Printing Condenced text

Scheduled Pinned Locked Moved C / C++ / MFC
help
3 Posts 3 Posters 6 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
    Peter Zajac
    wrote on last edited by
    #1

    In my application I am sending plain text to the dot matrix printer. I am having problems to force the printer to print the text in condenced mode. Can someone please help me with this. Thank you Peter Zajac

    C 1 Reply Last reply
    0
    • P Peter Zajac

      In my application I am sending plain text to the dot matrix printer. I am having problems to force the printer to print the text in condenced mode. Can someone please help me with this. Thank you Peter Zajac

      C Offline
      C Offline
      Chris Maunder
      wrote on last edited by
      #2

      Just send ASCII character #15 cheers, Chris ================== The original message was: In my application I am sending plain text to the dot matrix printer. I am having problems to force the printer to print the text in condenced mode.

      Can someone please help me with this.

      Thank you
      Peter Zajac

      M 1 Reply Last reply
      0
      • C Chris Maunder

        Just send ASCII character #15 cheers, Chris ================== The original message was: In my application I am sending plain text to the dot matrix printer. I am having problems to force the printer to print the text in condenced mode.

        Can someone please help me with this.

        Thank you
        Peter Zajac

        M Offline
        M Offline
        Member 1208965
        wrote on last edited by
        #3

        I think there may be difficulty in sending control characters to a dot matrix printer using the standard windows printing system, so I'm not sure you can just send character 15 to the printer.... Troy in our office mentioned that Windows supports a "plain text" printer driver that has limited capabilities (ie, might not support networkable connections etc.) but does allow you to send control codes. I'm sure I read an article in MSDN about this topic, when reviewing material on how to write a printer driver (we flirted with writing a fax printer driver years and years ago), and remember reading a passage about this. Sorry I don't have a more specific solution. David ================== The original message was: Just send ASCII character #15

        cheers,
        Chris

        ==================
        The original message was:

        In my application I am sending plain text to the dot matrix printer. I am having problems to force the printer to print the text in condenced mode.

        Can someone please help me with this.

        Thank you
        Peter Zajac

        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