NS2PDF: Branded Multi-Page PDF Generation
Convert any secure OfficePro-rendered URL into a PDF with consistent practice-level headers, footers, and pagination. Pass only a PracticePass; NS2PDF resolves branding from Admin data.
PracticePass lookup
Header + Footer on each page
Cloud storage output
How It Works
1. Send source URL + PracticePass
NS2PDF loads the source HTML page and renders it to PDF using Puppeteer.
2. Branding is automatic
Header, logo image, practice/company name, and muted confidentiality footer are applied for every page.
3. PDF is stored in GCS
The API returns a direct download URL and file name.
4. Integrate from legacy systems
Classic ASP, .NET, Node, and cron jobs can all call the same endpoint.
API Usage
Use POST /api/pdf with JSON body fields: url, PracticePass, and optional filename.
curl -X POST "http://ns2pdf.naturaesoft.com/api/pdf" \
-H "Content-Type: application/json" \
-d '{
"url": "https://your-app/ChartPro/Documents/_SOAP.asp?VisitID=1234",
"PracticePass": "YOUR_PRACTICEPASS",
"filename": "visit-1234-note.pdf"
}'
fetch("/api/pdf", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
url: "https://your-app/ChartPro/Documents/_SOAP.asp?VisitID=1234",
PracticePass: "YOUR_PRACTICEPASS",
filename: "visit-1234-note.pdf"
})
}).then(r => r.json()).then(console.log);