Format Conversion
Paquete XLSX de Configuracion de Impresion
Configura papel, margenes, escala, titulos repetidos y encabezado/pie
file· Resultado de archivoAbrir herramienta
Inicio rápido
Llama a esta herramienta desde tu código en tres lenguajes.
cURL
# 1) Request a presigned URL → returns { uploadUrl, storageKey }
curl -X POST 'https://api.elysiatools.com/api/upload/presign/xlsx-print-setup-pack' \
-H 'Content-Type: application/json' \
-d '{"filename":"workbookFile.ext","contentType":"application/octet-stream","size":12345}'
# 2) PUT the file bytes directly to the presigned uploadUrl
curl -X PUT '<presigned uploadUrl>' \
--data-binary @/path/to/file.ext
# 3) Call the tool, passing the returned storageKey for each file field
curl -X POST 'https://api.elysiatools.com/es/api/tools/xlsx-print-setup-pack' \
-F 'workbookFile=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'sheetNames=Sheet1,Sheet2 (blank = all sheets)' \
-F 'paperSize=a4' \
-F 'orientation=landscape' \
-F 'marginsJson={
"top": 0.5,
"bottom": 0.45,
"left": 0.3,
"right": 0.3,
"header": 0.2,
"footer": 0.2
}' \
-F 'scalePercent=100' \
-F 'fitToWidth=1' \
-F 'fitToHeight=0' \
-F 'repeatTitleRows=1:2' \
-F 'repeatTitleColumns=A:B' \
-F 'printArea=A1:H60' \
-F 'headerText=&LFinance Pack&CQ1 Summary&RPage &P of &N' \
-F 'footerText=&LInternal Use Only&R&D' \
-F 'horizontalCentered=false' \
-F 'verticalCentered=false' \
-F 'showGridLines=false'