Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to print data in landscape mode in thermal printer using the Qextserialport library
Forum Updated to NodeBB v4.3 + New Features

How to print data in landscape mode in thermal printer using the Qextserialport library

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 715 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.
  • S Offline
    S Offline
    Srinath_S
    wrote on last edited by
    #1

    Re: QextSerialport

    I am planning to use the qextserialport library , so can I print anything in landscape mode ? I use CSN - A2 printer.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You should take a look a the printer documentation. From a quick look, there's a command to rotate 90 degrees clockwise so it might be what you want.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      S 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        You should take a look a the printer documentation. From a quick look, there's a command to rotate 90 degrees clockwise so it might be what you want.

        S Offline
        S Offline
        Srinath_S
        wrote on last edited by
        #3

        @SGaist Which printer documentation in the library ? I am planning to use this one : https://github.com/qextserialport/qextserialport

        JonBJ 1 Reply Last reply
        0
        • S Srinath_S

          @SGaist Which printer documentation in the library ? I am planning to use this one : https://github.com/qextserialport/qextserialport

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by JonB
          #4

          @Srinath_S
          The printer documentation which comes with the printer, nothing to do with Qt. Neither @SGaist nor anyone else knows what a "CSN - A2 printer" requires to print in landscape mode.

          S 1 Reply Last reply
          0
          • JonBJ JonB

            @Srinath_S
            The printer documentation which comes with the printer, nothing to do with Qt. Neither @SGaist nor anyone else knows what a "CSN - A2 printer" requires to print in landscape mode.

            S Offline
            S Offline
            Srinath_S
            wrote on last edited by
            #5

            @JonB Can you help me print text in vertical orientation using the library ?

            SGaistS 1 Reply Last reply
            0
            • S Srinath_S

              @JonB Can you help me print text in vertical orientation using the library ?

              SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Srinath_S as already suggested: read the printer manual. It contains all the possible commands you can send to it and the one I mentioned in my previous message. QextSerialPort has nothing to do with the direction of printing beside being able to send the commands to the printer.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              2

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved