Results 1 to 1 of 1

Thread: Printing barcodes with printer internal fonts

  1. #1
    Join Date
    Apr 2012
    Vienna, Austria
    Qt products
    Qt4 Qt5
    MacOS X Unix/X11 Windows Android

    Default Printing barcodes with printer internal fonts

    Hello everyone,

    i'm trying to print an barcode with an citizen label printer.
    Well, everything works so far.

    I'm using a TTF for the barcode generation (UPCEAN6) and use QPrinter and QPainter to make this happen.

    But the bc does not work with all barcode-scanners. That's why i'd prefer to use the label printer's internal barcode font - because in our legacy system, this has been proven to work with every barcode-scanner our customers are using.

    This is what brings me to my question:
    Is there any way to use a label printer's internal (barcode) font by using Qt's classes?
    (Or to tell the printer to use that font for some text?)

    As far as i researched, i would need all the label printer's native sdks to do so and use those sdks instead of the Qt-Printing module - or am i wrong here ?
    Besides that, when "painting" on a QPrinter object, i can only use the fonts, available on the local system - which excludes the printer's fontdatabase - am i still right here?

    kindly regards,
    Last edited by axed; 12th November 2013 at 14:25.

Similar Threads

  1. Replies: 6
    Last Post: 22nd November 2016, 13:57
  2. Replies: 0
    Last Post: 29th April 2013, 11:47
  3. RichText printing with HighResolution printer
    By ghorwin in forum Qt Programming
    Replies: 1
    Last Post: 31st July 2009, 10:04
  4. font Kerning while printing on printer in 4.4 beta1
    By vladeck in forum Qt Programming
    Replies: 1
    Last Post: 8th March 2008, 00:27
  5. Printing a PRN file on an NDPS printer
    By janca in forum General Discussion
    Replies: 4
    Last Post: 20th March 2006, 22:11

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.