Give us feedback
stimulsoftex
Reactive icon

StimulsoftEX

Stable version 2024.1.1 (Compatible with OutSystems 11)
Uploaded on 2 Apr by 
REQWARE
5.0
 (1 rating)
stimulsoftex

StimulsoftEX

Documentation
2.3.0
What is the remote print?
Some report printing systems are required to process a large number of printed reports and to print them efficiently without previewing them. There are also requirements to manage printer devices at each location, for example, if there are many locations.
In such cases, the OutSystems server transfers data to a remote print server installed at each site and directly sends print instructions, enabling more efficient processing of a larger number of print jobs.


StimulsoftEX remote print
A RemotePrint action is prepared for remote printing.
By setting IP address, port, and other parameters, it is possible to send print instructions directly to the target printer's server via a lightweight and efficient protocol buffer.

In the printing process, a print object is generated by rendering from the print data, which is the record information required for printing and definition information such as border thickness and color. Generally, print object data is transferred to the printer as spool data with a large amount of information, so the data size becomes large.

In contrast, StimulsoftEX remote printing converts a small amount of structured data with text into binary and transfers it directly to the remote location, which is more efficient than spool data transfer.
 



Protocol Buffers
Protocol Buffers is a technology for serializing structured data into highly efficient binaries and is being developed by Google.
It’s like JSON, but smaller and faster, it is gaining attention as a core technology for microservices.

StimulsoftEX has a compression option, but since the protocol buffer itself is highly efficient, sending uncompressed data may provide better response when the server and the base are in close proximity and network speed is ensured, since there is no overhead in the compression process.

Development Procedure
RemotePrint's parameters are as follows
IP :IP address
Port :Value of the port set for the target printer.
Template :Template data of ledger sheet
SourceData :Print data
IsCompress : Compressed/Uncompressed
You can choose to compress printed data when the line speed to the base is slow, for example.
IsPrintout :With/without printing
Sends print data only to the remote print server without printing.
Use this function when you want to test data transmission, etc. to a remote site.
PrinterOptions :


Copies : Number of sheets
Color : -1[Default] 0[B/W] 1[Color]
Landscape : -1[Default] 0[Vertical] 1[Horizontal]
Duplex : -1[Default] 0[One side] 1[Both sides of long side] 2[Both sides of short side]
Kind : 8[A3] 9[A4] 11[A5] 12[B4] 13[B5] Japan Postcard [43] 0[Custom]
*Scaling to a specified size regardless of the size of the original report
Widht : Paper width (custom)
Height : Paper height (custom)

Define the following flows for actions such as button clicks


Remote Print Server Settings
A list of printers connected to the remote print server will be displayed. Specify the port number and press the Update button, and each printer will wait for print instructions.A list of printers connected to the remote print server will be displayed, simply specify the port number.