Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SaveAsPDF corrupted font or layout ?

Featured Replies

LS,

We recently migrated from FM14 to FM15 and suddenly some invoices come out strange after the saveAsPdf script step . ( see pic ). When in preview mode everything  seems to be ok and is printed to a printer ok.

Theme : Classic, Font used : Calibri size 11 and 12.

Problem occurs on Mac 10.11 and Win10 with FM15.

When I do a print ( to preview ( mac )) and then save as pdf everything is also ok, so it seems to be related to the FM pdf renderer.

However, not every invoice has this issue, but I wonder how data could cause this behaviour.

Best regards !

factuur_saveAs.png

  • Author

FMPadv 15v1 and 15v2

15.0.2? I'd explore the possibility of a corrupted font.

  • 4 weeks later...
  • Author

Like I said, it happens in 15v1 as in 15v2 on Mac and Win.

Printing to pdf with a different tool, eg. Microsoft PDF writer ( win10 ) or Print to Preview and then Export as Pdf works fine.

Current font : Calibri. 

When I change te font to Arial, the problem seems to disappear.

  • Author

Solution : this was caused by an 0x0 character pasted into a field by a user

Hi Joost, 

How can a user paste a 0x0 character in a field, and is that somehow visible in a regular layout, or did you have to find out by using the 'Code ( text )' function?

Ernst

 

  • 1 month later...
  • Author

Hi Ernst,

this usually is done by copy/pasting data from an email. A reference number for example. It is not directly visible in FM. If you move from character position to character position in the FM field you'll notice that you have to press the arrow key twice.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.