Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Opening Cash Drawer using Qt
Qt 6.12 LTS is out! See what's new in the release blog

Opening Cash Drawer using Qt

Scheduled Pinned Locked Moved General and Desktop
5 Posts 4 Posters 2.1k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi we are developing the epos application for that we need to open the cash drawer connected to the printer,,,the printer type is EPSON and along with that printer the cash drawer is connected,,,the search regards says that we need to pass "27 112 0 25 250" this means it will work,,,but i dont know how and where we need to pass the things and open the cashdrawer connected with that

    1 Reply Last reply
    0
    • raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      how do you communicate with the device?
      You could use QtSerialPort module if possible.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        i thought i need to use setPrintProgram(“27 112 0 25 250” ) something like that,,,but dont know how to send the data,,,,,i am using 2 kinds of printer,,,one printer is connected to COM port and another one is virtual usb,,,i connected cash draw along with this 2 kinds of printer,,,nothing has worked,,,stuck with this for 2 days,,,please provide information about opening cashdraw when it is connected to printer....

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

          Hi and welcome to devnet,

          There's nobody that can tell you how to do it like that. You have to check the API of your devices, setup the com ports and communicate with them. As raven-worx suggested, Qt provides QtSerialPort to talk with serial devices (no matter whether it's a usb port or a real serial port)

          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
          0
          • T Offline
            T Offline
            TioRoy
            wrote on last edited by
            #5

            Do you use a printer like "this":http://www.beaglehardware.com/howtoprogramcashdrawer.html

            1 Reply Last reply
            0

            • Login

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