You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
typesetting/pitfall/pktest/testrkt0.rkt

21 lines
335 B
Racket

8 years ago
#lang br
(require pitfall/kit/document)
(define doc (new PDFDocument))
(send doc pipe (open-output-file "testrkt0.pdf" #:exists 'replace))
8 years ago
(send doc end)
#|
var PDFDocument, doc, fs;
PDFDocument = require('pdfkit');
fs = require('fs');
doc = new PDFDocument;
doc.pipe(fs.createWriteStream('out.pdf'));
doc.end();
|#