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

pdf from Indesign 1 per page

Contributor ,
Jun 06, 2012 Jun 06, 2012

HI All,

If I tried to use codesnippet given in function SnpExportDocAsPDF::ExportDocAsPDF() of snippet runner cs5 sample plugin then it will export complete indesign document as a single pdf.

Now I need to create a plugin thorugh which I am able to generate a separate pdf for each page

e.g if my document have 4 pages then it should generate a pdf for each page as follows

MyDoc_Page1.pdf

MyDoc_Page2.pdf

MyDoc_Page3.pdf

MyDoc_Page4.pdf

What are the steps that I need to perform to achieve this.

Regards,

Alam

TOPICS
SDK
1.5K
Translate
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 Expert ,
Jun 06, 2012 Jun 06, 2012

Use the IOutputPages interface present in the kPDFExportCmdBoss. In this interface you can set the UIDList of the pages for which you need the pdf to be exported.

Manan Joshi

  - Efficient InDesign Solutions -

MetaDesign Solutions

http://metadesignsolutions.com/services/indesign-development.php

Translate
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
Contributor ,
Jun 20, 2012 Jun 20, 2012
LATEST

HI Manan,

In order to generate one pdf per page I used kPDFExportCmdBoss, and set pages in IOutputPages and path in ISysFileData then after process the command.

Now my second requirement is that I need to generate these pdfs on background thread.

On looking into CHM I found that

IExportProvider::AsynchronousExportToFile() export the pdf on background thread.

What I need to do so that my pdf export goes on background thread

Thanks,

Alam

Translate
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
Contributor ,
Jun 07, 2012 Jun 07, 2012

Thanks Manan it hels me to find the solution of generating a separate pdf for each page.

Translate
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