Cross-platform engine for printed receipts generation