Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

TPS Node TSPL

This project is designed to provide a comprehensive solution for managing and executing tasks using both C++ and Node.js. It includes a variety of services and utilities to streamline development and deployment processes.

Compiling C++ Code

To compile the C++ code, use the following command:

g++ -o output_executable source_file.cpp

Replace output_executable with the desired name of your compiled program and source_file.cpp with the name of your C++ source file.

Running Node.js Code

To execute the Node.js code, use the following command:

node your_script.js

Replace your_script.js with the name of your Node.js script file.

Example: PrinterService.ts

Below is an example of how the PrinterService.ts might look in a project:

// filepath: /path/to/your/project/PrinterService.ts
export class PrinterService {
    print(message: string): void {
        console.log(message);
    }
}

// Usage example
const printer = new PrinterService();
printer.print("Hello, world!");

g++ -o ../PrinterProxy.bin PrinterProxy.cpp TestConnect.cpp ../lib/printer.sdk.tspl.cpp -I../lib -L../lib -lPrinterSDK

g++ -o ../PrinterProxy_esc.bin PrinterProxy_esc.cpp TestConnect.cpp ../lib/printer.sdk.esc.cpp -I../lib -L../lib -lPrinterSDK

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages