Registry / utility / printpdf

printpdf

JSON →
library0.9.1rscratesunverified

Rust library for reading and writing PDF files.

# Cargo.toml [dependencies] printpdf = "0.9.1"
INSTALL
IMPORT
SIG · PRINTPDF
P
printpdf
utilityrustv0.9.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PdfDocument
use printpdf::*;

Creates a new PDF document with a single page.

use printpdf::*; fn main() { let (doc, page1, layer1) = PdfDocument::new("My PDF", Mm(210.0), Mm(297.0), "Layer 1"); println!("PDF created"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.9.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
printpdf — cargo add printpdf · libregistry