Uniface User Forum

 View Only
  • 1.  Printing to a Zebra Printer

    PARTNER
    Posted 07-07-2020 15:32

    I want to send a ZPL string to a zebra printer from Uniface.  Is this possible?

    We used to do this through 3GL, but the customer has complicated the issue and now they want to be able to select a Zebra printer from the network OR have one attached directly to the machine.

    We are using 9.7.05 with Oracle 12c / SQL Server 2017





  • 2.  RE: Printing to a Zebra Printer
    Best Answer

    ROCKETEER
    Posted 07-08-2020 13:57

    I guess there is a normal Windows printer driver for this Zebra printer? Would it not be possible to just print a ZPL string that you assign to an Edit Box on a Form or Report? It seems that you can do something similar when printing from Word to a Zebra printer.

    And I seem to remember that one customer asked if it's possible to copy a ZPL file to a printer from Uniface. I've told him, if the printer in question is available through a network share then it probably is possible to use filecopy to send the ZPL file to the printer. I've never received any feedback after that and I therefore don't know if it worked or not.

    I hope this helps.

    Kind regards,
    Daniel



  • 3.  RE: Printing to a Zebra Printer

    Posted 07-21-2020 11:40

    Hi Joanne

    Is the problem now to send ZPL-instructions to a printer (knwo by UnifAce) or select a printer to which the data should be sent?
    Independend of this: ZPL is a sequence of statments coded in ASCII. so there should now problem to send this via UnifAce to a printer.
    One of our customers uses SLP-printers (Seiko instruments) and with them there is (workplace-side) driver.
    By this driver, you can list all avaible (SLP-) printers, select them and print to it.
    All done by simple 3GL calls in UnifAce

    Ingo



  • 4.  RE: Printing to a Zebra Printer

    Posted 11-15-2022 07:59
    By using Zebra Setup Utilities: This tool has an open communication option to send raw ZPL code directly to the printer.
    ...
    Click Driver Settings.
    1. Click Settings on the left bar.
    2. Select Send file.
    3. Click the three dots to find a saved file on your PC.
    4. Select your file and click Send.


    ------------------------------
    kathin roye
    kathin
    Rocket Forum Shared Account
    ------------------------------



  • 5.  RE: Printing to a Zebra Printer

    Posted 11-15-2022 08:04
    Edited by kathin roye 11-16-2022 07:07
    By using Zebra Setup Utilities: This tool has an open communication option to send raw ZPL code directly to the printer.
    click following settings in order. first of all Click Settings on the left bar then Select Send file after selecting the three dots to find a saved file on your PC and at the last Select your file and click Send.


    ------------------------------
    kathin roye
    kathin
    Rocket Forum Shared Account
    ------------------------------



  • 6.  RE: Printing to a Zebra Printer

    Posted 11-17-2022 09:26
    Edited by Stéphane PFEFER 11-17-2022 09:29

    We send direct ZPL string to printers from our Unix Uniface servers.

    The printers are defined with textonly driver  (so no specific Zebra printer driver). We prepare the file in Uniface, save it on the server and then we lauch a OS shell that print the file through the standard Linux print facility.

    I suppose that something similar can be done on Windows if this is what you are using.


    Update: I realise that this is an old post that got back in front of the queue. I hope it had been solved since :)

    ------------------------------
    Stephane Pfefer
    Application Specialist
    Darling
    ------------------------------