VOOZH about

URL: https://apify.com/marco.gullo/page-printer

⇱ Page Printer Β· Apify


Pricing

Pay per usage

Go to Apify Store

Performs screenshots or print web pages in PDF format.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

πŸ‘ Marco Gullo

Marco Gullo

Maintained by Community

Actor stats

3

Bookmarked

76

Total users

4

Monthly active users

a year ago

Last modified

Share

Tips and tricks

Pre-function

You can execute arbitrary code before performing a screenshot, passing a function which takes as input the Playwright Crawling Context.

You can also register information which will be written to the output Dataset, writing into the record with the key notes in the userData.

Example:

constpreFunction=async(context)=>{
const{ request, page }= context;
const{ userData }= request;
const{ notes }= userData;
// Perform some operation in the page
await page.selector('...').click();
if(page.selector('...').isVisible){
notes.isElementVisible =true;
}else{
notes.isElementVisible =false;
}
}

Output data:

[
{
"url":"https://...",
"fileUrl":"...",
"fileKey":"...",
"notes":{
"isElementVisible":true
}
},
{
"url":"https://...",
"fileUrl":"...",
"fileKey":"...",
"notes":{
"isElementVisible":false
}
}
]

Contributing

Input schema

Edit input schema in src-schemas. You can use any JSON schema option, not just the ones from Apify specifications.

Install apify-schema-tools globally and run:

npx generate-apify-type --input&& npx generate-apify-schema --input

You might also like

URL to PDF Converter

rainminer/url-to-pdf-converter

Converts any web page into a high-quality PDF document ready to download file hosted on Apify. Print any web page to PDF with this actor.

Universal Web Printer

autofacts/universal-web-printer

A powerful web rendering Actor that converts URLs and HTML to PDF, PNG, JPEG, or WebP. Features smart scroll-stitch for full-page captures, element-level extraction, reading mode, watermark and PDF merging.

31

MakerWorld.com Models Details Scraper

buraksahin/makerworld-models-details-scraper

Scrapes comprehensive data from MakerWorld.com 3D model pages: title, description, designer info, stats (downloads, likes, prints), print profiles with per-plate print time and filament usage, printer compatibility, tags, categories, and more.

πŸ‘ User avatar

Burak Şahin

4

PDF Scraper

onidivo/pdf-scraper

Scrape and extract text from PDF links.

πŸ‘ User avatar

Onidivo Technologies

512

Fast Pdf Processor

contemporary_fruit/pdf-processor-actor

This API is a PDF Processing Service allowing users to upload a PDF to: Extract Text: Reads all text from the PDF and returns it as structured JSON data per page. Merge Pages: Creates a new PDF containing only the specific pages selected by the user. (260 characters)

Html To Pdf Api

simplifysme/html-to-pdf-api

πŸ“„ Convert any HTML page or URL to high-quality PDF documents via API. Perfect for reports, invoices, documentation, web page archiving, and automated document generation.

πŸ‘ User avatar

SimplifySME Toolbox

1

HTML to PDF Converter

jancurn/url-to-pdf

Loads a web page in headless Chrome using Puppeteer and prints it to PDF. The input is a JSON object and output is a PDF file.

459

Full page screenshot

practicaltools/apify-screenshot

This Apify actor takes full-page screenshots of web pages with support for lazy loading content and provides temporary download URLs.

πŸ‘ User avatar

Practical Tools

53

1.0

Related articles

How to take screenshots and generate PDFs with Puppeteer
Read more