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

Error when saving Framemaker books as PDF

Explorer ,
Apr 18, 2024 Apr 18, 2024

Copy link to clipboard

Copied

For about 2 weeks now, we have been experiencing an error when writing books to PDF (Save as PDF). Previously it worked without any problems for months. The process now suddenly hangs at different times.

Udo29519402o23a_0-1713427414046.png

 

The CPU load increases sharply at this point. Even after hours, the situation does not change.
Unfortunately, there is no indication as to why the process is not continuing. The log file for the PDF writing suddenly ends without any indication of the problem.
The problem seems to be related to the referenced images in a cloud.
After several attempts, the process always stops at a different point. In rare cases (1 in 10) it also runs through to the end.
The error occurs in Framemaker 2019 (client and server) and also in Framemaker 2022 on several computers.
Is there any additional LOG information to narrow down the error or does anyone have an idea what the problem could be?

TOPICS
Error , PDF output

Views

271

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

correct answers 2 Correct answers

Community Expert , Apr 19, 2024 Apr 19, 2024

This sounds like an issue for your DAM

Votes

Translate

Translate
Explorer , Apr 24, 2024 Apr 24, 2024

Our IT department has now found a way for Framemaker to access the original image URLs of our DAM system directly without using the proxy server. This means that the problem no longer occurs when writing PDFs.
Thank you very much for your suggestions and help.

Votes

Translate

Translate
Community Expert ,
Apr 18, 2024 Apr 18, 2024

Copy link to clipboard

Copied

Is your FM2022 up to date? Have you tried creating a PDF via the Print to Adobe PDF printer instance? The Save As and Publish routes both use the same new PDF engine in FM2022.

Votes

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
Explorer ,
Apr 19, 2024 Apr 19, 2024

Copy link to clipboard

Copied

Yes I am using the latest Framemaker 2022 version.
I have just tried the printer instance and it worked.
Apparently the Distiller is used there, which unfortunately does not support transparencies in images.
This way is therefore not possible.

Votes

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 Expert ,
Apr 18, 2024 Apr 18, 2024

Copy link to clipboard

Copied

It could be the location, but could also be the image. Try isolating the offending image by excluding half the book and producing the pdf. Once you have the file containing the issue, produce the pdf of that chapter. Then do something similar to identify the specific image in question. Replace that image or make it local on your computer to smooth out that issue.

Votes

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
Explorer ,
Apr 19, 2024 Apr 19, 2024

Copy link to clipboard

Copied

I don't think it's due to a single image, because the process always stops at a different point.
In a few cases it also runs through. It is always the same book.

Votes

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 Expert ,
Apr 18, 2024 Apr 18, 2024

Copy link to clipboard

Copied

Can you elaborate on "referenced images in a cloud"? A cloud server like Dropbox?

 

~Barb

Votes

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
Explorer ,
Apr 19, 2024 Apr 19, 2024

Copy link to clipboard

Copied

We work with a cloud-based digital asset management system. The images are delivered there via URLs and a content delivery network.
Unfortunately, it's still a bit more complicated.
In the company, we use a proxy server for Internet communication. I can't configure a proxy server for external image links in Framemaker.
We therefore use internal API management. The links are redirected in a slightly customized way via the API management and can thus be resolved. The problem occurs with these links.
I don't have a proxy server in the home office and can work with the original links. I have found that it works there.
If I could use Framemaker with the proxy, it would probably also work.

Votes

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 Expert ,
Apr 19, 2024 Apr 19, 2024

Copy link to clipboard

Copied

This sounds like an issue for your DAM

Votes

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 Expert ,
Apr 18, 2024 Apr 18, 2024

Copy link to clipboard

Copied

Slow networks and all manner of checkin/checkout software can prevent you from processing files on shared locations and networks.

You can see if the network location is causing the issue is to use File > Package to create a ZIP of your project, then unzip and see if the PDF process is working.

Votes

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 Expert ,
Apr 18, 2024 Apr 18, 2024

Copy link to clipboard

Copied

If the files are linked into the document from different drives/folders outside of the FrameMaker folder, the package option will treat them as missing. Rick Quatros Archive script will work for this suggestion, though. Also a suggestion I would recommend actually 🙂


Bjørn Smalbro - FrameMaker.dk

Votes

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
Explorer ,
Apr 19, 2024 Apr 19, 2024

Copy link to clipboard

Copied

We use this process automatically via scripting on the Framemaker server, so this solution is probably out of the question.
Thanks for the suggestion though.

Votes

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 Expert ,
Apr 19, 2024 Apr 19, 2024

Copy link to clipboard

Copied

Unless you're running a copy of FM Server, you're probably violating your license terms by running it that way.

Votes

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 Expert ,
Apr 18, 2024 Apr 18, 2024

Copy link to clipboard

Copied

The alternatives of Publish, Print-to-PDF and Print-to-Ps&Distill might be worth a try.

To rule out the .book and .fm files themselves, try doing the Save-as with graphics turned off.
View🞃 View Options… ☐ Graphics

Copying everything to a local machine, with a mimic file system for the imports, might also single out problems.

Votes

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
Explorer ,
Apr 19, 2024 Apr 19, 2024

Copy link to clipboard

Copied

Yes, that worked (see above). The problem with the transparencies and the automation prevents this approach.
I probably should have described the use case more precisely from the outset. I didn't want to make it too complicated. Sorry.

Votes

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 Expert ,
Apr 19, 2024 Apr 19, 2024

Copy link to clipboard

Copied

Why is it you are using Distiller? I suppose the images with transparacies are png files and FrameMaker can handle transparancy if you are not using Distiller. The Acrobat PDF printer driver is also just one of many PDF printerdrivers. It might be worth your while doing some experimentation with drivers from other companies. Microsofts PDF is actually quite good. It is simple and can not do complicated stuff, but it will work in most instances.

Regarding the pausing of the print jobs, my  money is absolutely on the "special setup" you have. An issue which has not been named here, is the restrain on url character numbers. Windows can not handle really long urls to images. I can't remember the actual number, but I have many times recieved jobs from customers where "something" was wrong, only to discover very deep folder hierarchies and folders with very long names. This will result in long - sometimes too long - urls.


Bjørn Smalbro - FrameMaker.dk

Votes

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
Explorer ,
Apr 19, 2024 Apr 19, 2024

Copy link to clipboard

Copied

These are interesting approaches. I'll check that out.

Votes

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 Expert ,
Apr 19, 2024 Apr 19, 2024

Copy link to clipboard

Copied

Since you are using scripting and automation, perhaps you can download the required images ahead of time to a local or server volume and programmatically update FrameMaker's links temporarily. Then you can produce your PDF and afterwards restore the original links.

Votes

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
Explorer ,
Apr 24, 2024 Apr 24, 2024

Copy link to clipboard

Copied

LATEST

Our IT department has now found a way for Framemaker to access the original image URLs of our DAM system directly without using the proxy server. This means that the problem no longer occurs when writing PDFs.
Thank you very much for your suggestions and help.

Votes

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