Skip to content
#

pdf-generation

Here are 803 public repositories matching this topic...

arimourao
arimourao commented May 28, 2019

Dompdf is a nice library but for the newcomer, he can come across the dreaded "headers already sent". This can be solved using ob_start() and ob_clean() to keep the output buffer clean while rendering and streaming the pdf to the user. This can save devs from several hours of headache with a simple instruction in the docs. It should be like that:

require_once 'dompdf/autoload.inc.php'
Simpey
Simpey commented Nov 18, 2019
var pgsql = require('pdf-bot/src/db/pgsql')

module.exports = {
  api: {
    token: 'api-token'
  },
  db: pgsql({
    database: 'pdfbot',
    username: 'pdfbot',
    password: 'pdfbot',
    port: 5432
  }),
  webhook: {
    secret: '1234',
    url: 'http://localhost:3000/webhooks/pdf'
  }
}

Can you change pls "username" to "user" cause it's the the correct option ther

gunnsth
gunnsth commented Apr 19, 2019

Currently the colorspace handling only supports DeviceGray and DeviceRGB and the handling is simplistic only looping through the images in XObject and compressing all of those. If any image was never used in the contentstream it would still not be removed for example.
Also this means that inline images are not handled.

The handling should be made more generic and use the ContentStreamProc

valeriegrace
valeriegrace commented Apr 25, 2018

Hi,
Is there a tutorial or Java doc I can use to see how to convert HTML to PDF using openpdftohtml.
I have a simple html -

Hello World

Below is the error I got. I used PdfRenderBuilder as shown in the example -

com.openhtmltopdf.load INFO:: SAX XMLReader in use (parser): com.sun.org.apache.xerces.internal.parsers.SAXParser
com.openhtmlto

matsud224
matsud224 commented Oct 6, 2019

Currently, there are 2 VM instruction definition files in this repository:

  • src/frontend/bytecomp/vminstdef.yaml
  • tools/gencode/vminst.ml

This may confuse contributors who wants to add new primitives. According to the Makefile, the latter is generated by the former. So, I think it should be removed from this repository. I also think the name "vminstdef" should be like "primitivedef" because

iText 7 for Java represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText 7 can be a boon to nearly every workflow.

  • Updated Jul 1, 2020
  • Java

iText 7 for .NET is the .NET version of the iText 7 library, formerly known as iTextSharp, which it replaces. iText 7 represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText 7 can be a boon to nearly every workflow.

  • Updated Jul 1, 2020
  • C#
elsurudo
elsurudo commented Feb 4, 2016

Hi,

I'm considering using this gem and will give it a shot when I have some time, but I am not sure whether it suits my needs, as the documentation is overly simplistic.

I need to overlay a smaller PDF over a larger PDF, in a specific location. Is this possible? The samples simply "overlay" a PDF on top of another and that's it.

I suppose a workaround that might work is to ensure the "overlay"

williehallock802
williehallock802 commented Sep 26, 2019

I have the following rst files:

index.rst

Test Documentation!
===================

This is some test documentation

.. toctree::
   :maxdepth: 2

   another_page
   one_more

another_page.rst

Another Page for Test Doc
==========================

This is another page for the test documentation.

Reference to :doc:`one_more`

Section A
---------

Some section

Improve this page

Add a description, image, and links to the pdf-generation topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the pdf-generation topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.