Skip to content

This works insanely good #10

@loeffel-io

Description

@loeffel-io

Really good job! Works so much better then wkhtmltopdf

I would love to migrate to this with https://github.com/loeffel-io/mail-downloader.

  1. For integration it would be great to create the file myself, for instance:
	orcgen.Generate(
		htmlBody,
		orcgen.PDFConfig{
			Landscape:         false,
			PrintBackground:   true,
			PreferCSSPageSize: true,
		}
	)

should return the file bytes and the error to create the file myself with the permissions i want etc

  1. With wkhtmltopdf i was able to disable javascript - is this possible?

  2. I would love to do the download of the browser before i start converting pdfs, because this results in:

322 / 322 [----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->] 100.00% 47 p/sProcessing messages...
5 / 322 [--->______________________________________________________________________________________________________________________________________________________________________________________________________] 1.55% 78 p/s[launcher.Browser]2024/11/28 19:12:09 Download: https://storage.googleapis.com/chromium-browser-snapshots/Mac_Arm/1294824/chrome-mac.zip
5 / 322 [--->______________________________________________________________________________________________________________________________________________________________________________________________________] 1.55% 78 p/s[launcher.Browser]2024/11/28 19:12:09 Progress: 00%
5 / 322 [--->______________________________________________________________________________________________________________________________________________________________________________________________________] 1.55% 68 p/s[launcher.Browser]2024/11/28 19:12:10 Progress: 07%
  1. German umlauts prints as Sie möcht. Would be great to have UTF-8 (?)

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions