How to print labels using Smart label printer

  1. 5 weeks ago

    I want to print labels (barcodes) using xojo windows application.

    i am using Smart label Printer 420.

    Please suggest me how can i do this. It will be very useful if i get sample code.

  2. Julian S

    Sep 13 Pre-Release Testers, Xojo Pro UK
    1. Download the SDK from https://www.smart-label-printer.com/en/software/
    2. Install SDK
    3. Extract SampleCode.zip from install directory
    4. View SlpSdk7x.h in VCSampleUnicode folder from 3) above
    5. Create declares for all calls
    6. Place SlpApi7x32.dll next to xojo test app
    7. Reference files in VCSampleUnicode for examples on how to use SDK
    8. Run and test
  3. 4 weeks ago

    Hello Julian,
    Thanks for reply. But still i am not able to do this.
    Is there any sample program you have?
    Can you please attach small sample program?

  4. @Julian S 1) Download the SDK from https://www.smart-label-printer.com/en/software/

    1. Install SDK
    2. Extract SampleCode.zip from install directory
    3. View SlpSdk7x.h in VCSampleUnicode folder from 3) above
    4. Create declares for all calls
    5. Place SlpApi7x32.dll next to xojo test app
    6. Reference files in VCSampleUnicode for examples on how to use SDK
    7. Run and test

    I have installed SDK then placed SlpApi7x32.dll at exe location system32 and syswow64 directory but i am getting exception as method not found.
    i have checked methods by System.IsFunctionAvailable but it returns false.
    so what i missed ?

  5. Julian S

    Sep 17 Pre-Release Testers, Xojo Pro UK
    Edited 4 weeks ago

    You'd need a Build Step that copies the dll into the Libs folder of your app so when you click Run and it creates your exe in its temp folder, the dll is in the correct place.

    I can't really help any further as I can't test the dll as I don't have one of those label printers, sorry.

  6. @Julian S You'd need a Build Step that copies the dll into the Libs folder of your app so when you click Run and it creates your exe in its temp folder, the dll is in the correct place.

    I can't really help any further as I can't test the dll as I don't have one of those label printers, sorry.

    ok, no problem Julian.

or Sign Up to reply!