Further Market
  • Essentials

    • Foreword
    • What is FM Script ?
    • The philosophy and benefits of FmScript
    • What you will learn
  • Recall

    • Internet: who? what? What is that?
    • Further market and FMScript
    • The compiler
  • Download
  • Getting started

    • Installation
    • Create a business account
    • Connect to the PC application
    • Create your first applet
    • Create your first web applet
    • Compiler view
  • Basics

    • basic rules
    • Reserved keywords
    • The Syntax
    • Coding Style
    • comments
    • Variables, constants, and data types
    • Convertion of types
    • Conditions and loops
  • Functions

    • Create a Menu
    • Create input field (Input2)
    • Create a QR Code
    • Scan a QR Code
    • Strings functions
    • Array functions
    • Date Time functions
    • Mathematics functions
    • JSON functions
    • XML functions
    • Call Http request
    • Manipulate Sessions
    • Financial functions
    • Notifications
    • Bleutooth Printer
  • Demos

    • Advanced Inputs
    • Call http Request
    • loops and conditions
    • Menu inputs
    • Array items count
    • Simpe for
    • simple select count Sql Query
    • Date and Time picker form
    • Get credit balance
    • is valid city
    • user info from phone number
    • get country and city from form
    • simple ussd link switch
    • charge user credit
    • simple message box
    • user entry code
    • get users relations
    • my external payements collected
    • call google Map
    • in App direct publish
    • Geo location
    • Charts
    • menu with hints
    • call system Messenger
    • user start code
    • In call Gallery
    • credit card payment Request
    • MTN CMR Airtime Product Subscription
    • MenuItemAddContacts
    • AJax and FM Input
    • Input2
    • MenuItemAddRichMedias
    • MenuItemAddTagsItems2
    • BlinBlin Menu + javascript
    • GENERAL ALERT MESSAGE WITH JSON OPTIONS
    • Barcode
  • databases

    • CRM
    • External Payments
    • Bills
    • Sales
    • Games
    • Applets
    • Payments Gateway
    • Manipulate Select Queries
  • APIs

    • Further Markey Pay button integration
    • Mobile Money cash collector
    • Bill Api
    • API PUBLISH PRODUCT
    • Sale Api
    • SMS Api
  • Advanced

    • Actions scheduler
    • Events settings
  • USSD CAMEROON

Connect your Service with a Bleutooth Printer

  • BluetoothPrintItemAddText
  • BluetoothPrintItemAddImage
  • BluetoothPrintItemAddBarCode
  • BluetoothPrint

on the FMScript you have the possibility to follow a user payment from the presentation of the service, through the payment until receipt. We will present in this section some functions that will allow you to communicate with bleutooth printer..

BluetoothPrintItemAddText

Add Text to Bluetooth Printer print session PrintSessionName

Signature

            
BluetoothPrintItemAddText(PrintSessionName : String; Text : String; PrinterMaxLineLength : Integer); 
            
        

BluetoothPrintItemAddImage

Add Image to Bluetooth Printer print session PrintSessionName

Signature

            
BluetoothPrintItemAddImage(PrintSessionName : String; AccountID : String; ImageID : String; ImageType(1,2,3) : String; ThumbSize(1,2,4) : String; Width : String; Height : String);
            
        

BluetoothPrintItemAddBarCode

Add Barcode to Bluetooth Printer print session PrintSessionName

Signature

            
BluetoothPrintItemAddBarCode(PrintSessionName : String; BarCodeType : String; BarCodeHeigth : String; BarCodeWidth : String; BarCodeValue : String);
            
        

BluetoothPrint

Send to Bluetooth Printer print session PrintSessionName

Signature

            
BluetoothPrint(PrintSessionName : String; PrinterWindowHeader : String); 
            
        

Full Demo
            
var result : string;
var Seperator : string;

result := 'Recu Minesec 1234567890'; 
result := result +LINEBREAK+LINEBREAK+'Bill Number: 74871. Reference: 7526232-2018. For kamdze silatsa Alex christ. Paid from (237683145360). Detail: LYCEE TECHNIQUE DE TAYIM - 2nd cycle'; 
result := StringReplace(result,':',' ');

Seperator := '+-+';

Result := Input('Bluetooth Printing', 'Line1, Line2,Line3,Line4,Line5,Line6', 60000,
                         '1::Recu Minesec 1234567890::left::Print:::0:0:0' +Seperator+ 
                         '1::Bill Number 74871::left::Print:::0:0:0' +Seperator+ 
                         '1::Reference 7526232-2018::left::Print:::0:0:0' +Seperator+ 
                         '1::For kamdze silatsa Alex christ. Paid from (237683145360)::left::Print:::0:0:0' +Seperator+     
                         '1::LYCEE TECHNIQUE DE TAYIM - 2nd cycle::left::Print:::0:0:0' +Seperator+     
                         '1::'+NowDate+'::left::Print:::0:0:0', 
                         '', 
                         Seperator,
                         '*'); //---Header, FieldNames, FieldValues, ImageID, Seperator, ReturnValuesSeperator : String
                                                                                                      
IF Result = '00' THEN
(
   Exit;              
);

ArrayStrToArray('Array', result, '*');

Showmessage(Result);

BluetoothPrintItemAddText('PrintSessionName', ArrayGetValue('Array', 0));
//BluetoothPrintItemAddText('PrintSessionName', ArrayGetValue('Array', 1));
BluetoothPrintItemAddText('PrintSessionName', ' ');
BluetoothPrintItemAddText('PrintSessionName', ArrayGetValue('Array', 2));

Result := BluetoothPrint('PrintSessionName', 'Print demo');

Showmessage('Result = ' + Result);

Exit;                      
            
        

Notifications
Demos


Our Partners

Support
      Telephone : (+237) 675979899 / 676009100
      Email : fm_support@f-m.fm
      P.O Box : 774 BAFOUSSAM
Available On

no
no

Further Market Inc
Copyright © 2012-2021.