Replies: 7 comments
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
-
|
Hi, I got exactly the same behavior for %pagenumber%. Workaround for me : printing in pdf ! |
Beta Was this translation helpful? Give feedback.
-
|
Unfortunately for me, it doesn’t work: I get the same issue where the page count equals the active page at the moment of printing. I found another workaround: |
Beta Was this translation helpful? Give feedback.
-
|
Links and pagecount/-numbers for me. Tested in v29.2.9 with Chrome 143.0.7499.170 on macOS 26.1. Please include browser, operating system, versions and exact reproduction steps. BTW: You can now use %pagecount-1% etc, see https://www.drawio.com/doc/faq/predefined-placeholders |
Beta Was this translation helpful? Give feedback.
-
|
I also have this issue on the draw.io standalone app (v29.6.6). I can see the correct %pagenumber% placeholder when I have the page open in draw.io, but when I Export as PDF, all I see is the same page number (1) on every page. If I Print as PDF, it shows correctly on PDF. However it is printed rotated, so I'd prefer if Export as PDF worked correctly. |
Beta Was this translation helpful? Give feedback.
-
|
This will be fixed in the next release (9887818b6). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I use a background sheet with my drawings, which prints and fills a title block, global data, sheet frame, revision info, date, page number, etc on each sheet. That sheet is then locked as Background (which doesn't seem to make much difference, as it gets exported anyway), and assigned as the background sheet to every other sheet.
On the background sheet, there are two fields (in my title block section), with Placeholders enabled, and containing the text
The %date% works fine.
The %pagecount% is wrong, of course, because the locked Background page is unfortunately included in the page count
The %pagenumber% works fine in the app, but it DOESN'T WORK ON PDF EXPORT. Rather, on export, each sheet's title block gets the page number of the sheet that was currently in focus when the Export function was invoked.
Has anyone found a workaround for this?
Beta Was this translation helpful? Give feedback.
All reactions