Browse documentation

Echo: scan and print

A QQQ example application that scans a barcode on an Android handheld and prints it on a server-selected printer.

Echo is an example QQQ application that connects QQQ Mobile scanning to QQQ Printing. An operator chooses a printer, document and label media once, then scans barcodes. Each scan is rendered on the server and printed with the same selections.

Echo is a source example, not a standalone download and not a QBit you install. It shows how to compose existing QQQ services with ordinary metadata and processes. There is no Echo-specific Android screen, barcode encoder or print queue.

Version tuple

ComponentVersion
QQQ4.1.0-RC.21
Printing server QBit1.0.0
Windows Print Agent1.0.1
Mobile Scanners server QBitPre-release snapshot
QQQ Mobile (Android)1.0.0, signed preview

See the server QBit documentation for Mobile Scanners and Printing.

How it works

  • Setup, once per run. The process asks for the printer, the document and the media, then Copies per scan. Copies is a whole number from 1 to 100 and defaults to 1.
  • Loop. After setup the process repeats scan, then server render, then server print, using the same selections each time. It handles one job at a time until the operator leaves.
  • The scanner never talks to a printer. The handheld only sends the scan to the server. The server renders the document and submits it to Printing, and the Print Agent delivers it to the printer.
  • Leaving closes the run and prevents new scans. Work already accepted can still print.
  • Copies per scan

    The server accepts a whole number from 1 to 100 at setup, which is Printing's default per-job maximum, and refuses anything else before the run starts. An administrator can set a lower Printing maximum. The count is then pinned on the run. Every scan then uses that count as one print job with a copies option, rather than one job per copy. A scan that tries to change the count is refused before anything is printed.

    What is preserved

  • The scanned value, including leading zeros, is never parsed as a number.
  • The scanner's reported symbology is kept and used for the printed barcode. Echo does not guess a symbology from the value or substitute another one.
  • A retry of the same scan event returns the original job. Scanning the same barcode again is a new print.
  • A successful acknowledgment means the job is queued. It does not confirm that paper came out.
  • Supported barcode profile

    Echo does not promise every barcode format. It prints only these:

  • Code 128, QR Code, Code 39, Data Matrix, PDF417 and Aztec, as printable ASCII values.
  • EAN-13, EAN-8, UPC-A and UPC-E (number system 0) only when the scanner reports its AIM identifier, the value has the exact length with a valid check digit, and the operator chose the separate scanner-fidelity document.
  • Everything else is refused with an explicit error before printing. That includes unknown symbologies, manually typed input, GS1, ECI, structured and binary payloads. Manual entry is hidden in the Echo scanner screen because typed text has no scanner-reported symbology.

    What you need

  • A QQQ 4.1.0-RC.21 server with Mobile Scanners, Document Generation and Printing composed together, and an approved Android handheld. The current Echo example build also includes the Document Generation bridges to Printing and to Record Files, and the demo application adds Record Files.
  • A Windows Print Agent reporting a printer and its media, plus a published barcode document for that media.
  • Operators need Echo and ordinary scanning permissions. Do not grant Printing administration just to make Echo work.
  • The example does not declare a Scripting dependency. Scripting is needed only if the document recipe you choose uses it.

    Document Generation, Record Files and their bridges are not yet released as a public dependency set, so Echo is a reference to build from, not a production install.

    Limits

  • Online only. No offline queue.
  • Printing acceptance is not proof of physical output, so inspect the first label after any media change.
  • Raw AIM, GS1 and full EAN/UPC fidelity on the handheld are not supported. Echo accepts only the barcode profile listed above.
  • Support details

    Tested on Zebra TC22. Automated tests use simulated printing, and a separate synthetic scan produced a real job that reached the Windows spooler.

    Powered by qqq