04-04-2024
05:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
04-04-2024
05:41 PM
To change the part number width, you have to edit the JavaScript in the template file. Here are steps:
- install Notepad++ from https://notepad-plus-plus.org/
- in Adobe Acrobat, look at the All Tools list
- at the bottom of the list, click "View more"
- near the bottom, click on "Use JavaScript"
- click on "Document javascript strings"
- click on AnarkCoreScript and click Edit
- that should bring up Notepad++
- in the JavaScript, search for Part Number
- a few lines below the line with Part Number, you should see:
rowText = this.rpad(pn, 9) + " " + this.rpad(desc, 20) + " " + this.lpad(quantity, 4);
- Change the 9 to 12 or greater.
- save the file, and close Notepad++
- close the Document JavaScripts dialog in Acrobat
That will fix the column width in the data, but you have to edit the table header separately. It's not in the JavaScript.
Use the "Prepare a form" tool and edit the Properties of the Part Number text field in the header.
There's some more info and background in this thread.

Mike Deck
Software Developer
Autodesk, Inc.