How to add a page to PDF without using insertPage(:) ?

I can't use PDFDocument because the dataRepresentation function takes way to long (10 seconds for my 1300 page document). Is there another way to add a page to my PDF data ?


How to add a page to PDF without using insertPage(:) ?
 
 
Q