1. Tracy Lamb
  2. PowerBuilder
  3. Wednesday, 22 November 2023 17:41 PM UTC

Hi all,

I'm playing around with PB2022's new PDF tools.  I wrote a small window that just checks the PDF standard of a given file name. 

So far, all files are PDF_None! except one, that's unknown.  Here's the code I use to check the standard:

CHOOSE CASE lpdf_getstandard
	CASE PDF_None!
		st_pdf_std.text = "PDF_None!"
	CASE PDFA_1a!
		st_pdf_std.text = "PDFA_1A!"
	CASE 	PDFA_1b!
		st_pdf_std.text = "PDFA_1b!"
	CASE PDFA_3a!
		st_pdf_std.text = "PDFA_3a!"
	CASE PDFA_3b!
		st_pdf_std.text = "PDFA_3b!"
	CASE PDFA_3u!
		st_pdf_std.text = "PDF_3u!"
	CASE ELSE
		st_pdf_std.text = "PDF Standard Unknown"
END CHOOSE

The unknown standard is from the Welcome to Adobe Acrobat file for the version installed on my new computer, Adobe Acrobat Standard 2020.

I'm wondering if I can merge PDF files with different, or unknown standards? 

TIA,

~~~Tracy

Who is viewing this page
Tracy Lamb Accepted Answer Pending Moderation
  1. Friday, 24 November 2023 12:07 PM UTC
  2. PowerBuilder
  3. # 1

Thank you. I saw the chart, but the chart doesn’t say anything about PDFA_None! standard types.

Comment
There are no comments made yet.
Peter Pang @Appeon Accepted Answer Pending Moderation
  1. Friday, 24 November 2023 06:41 AM UTC
  2. PowerBuilder
  3. # 2

Hi Tracy,
 
I'm wondering if I can merge PDF files with different, or unknown standards?
A: You can merge PDF files with different stardards as long as the two standards are compatible.  In PB 2022 R2 2819 you can use the IsStandardCompatible to do the compatibility checking. And The following table shows the compatibilities between the supported PDF/A standards:

PDF/A standard compatibility

PDFA_1a!

PDFA_1b!

PDFA_3a!

PDFA_3b!

PDFA_3u!

PDFA_1a!

Yes

No

No

No

No

PDFA_1b!

Yes

Yes

No

No

No

PDFA_3a!

Yes

No

Yes

No

No

PDFA_3b!

Yes

Yes

Yes

Yes

Yes

PDFA_3u!

Yes

No

Yes

No

Yes

 

Best Regards,

Peter

Comment
  1. Tracy Lamb
  2. Friday, 24 November 2023 12:09 PM UTC
Thank you. I saw the chart, but the chart doesn’t say anything about PDFA_None! standard types. What PDFA standard does PB use when creating a new pdf file?
  1. Helpful
  1. Tracy Lamb
  2. Friday, 24 November 2023 22:23 PM UTC
I just did a little test, looks like if I save a PB DW as a PDF file, the pdf standard is PDFA_None! .
  1. Helpful
  1. Peter Pang @Appeon
  2. Monday, 27 November 2023 05:47 AM UTC
PDF_None is a normal PDF, not PDF/A standard, and has no compatibility issues.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.