• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

HTML to PDF conversion creates 2 pages from single page.

Community Beginner ,
Aug 23, 2022 Aug 23, 2022

Copy link to clipboard

Copied

HTML to PDF conversion creates 2 pages from single page and displays in landscape format;

top half of PDF and lower half of PDF. (2 PDF pages)

Acrobat displys 2 seperate pages.

 

I need PDF conversion to show single page PDF for single page and 2, 3, 4 page PDF's accordingly.

 

I tried changing the settings in Acrobat:  no

I tried adjusting the page size settings in HTMLtoPDFconvert SDK: no

 

Compression, Merge, and Combine will all uses extra tokens. There must be a better way.

 

TOPICS
Document Generation API , General , How to , Node.js SDK , PDF Services API

Views

59

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 24, 2022 Aug 24, 2022

Copy link to clipboard

Copied

Well keep in mind - what exactly is a 'single page' on an HTML page? If you mean what the viewport sees, then that's completely dependent on the browser currently viewing the page. If you Print via the browser - are you seeing multiple pages?

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 27, 2022 Sep 27, 2022

Copy link to clipboard

Copied

I've included the pdf output from converted html. (see below)

I cannot get a single page pdf. 

I've reviewed all the html form code (mine) and the Adobe SDK code.

The conversion from html to pdf should output a single page PDF

 

(file removed)

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 29, 2022 Sep 29, 2022

Copy link to clipboard

Copied

LATEST

Again - there is no concept of a page in HTML. 🙂

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 28, 2022 Sep 28, 2022

Copy link to clipboard

Copied

There is no such thing as a "single page HTML" because HTML isn't divided into pages, nor does it have a specific size. But PDF _does_ have a specific size, so one HTML file will normally be turned into multi-page PDF files. Nothing wrong. I'd expect that choosing the size of the output PDF might influence it somewhat, but possibly not as you want. This is just normal.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources