Replies: 5 comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
-
|
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.
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