Scenario
Using Advanced PDF/HTML Templates to print Item Labels, the barcode size is too small.
Solution
1. Navigate to Customization > Forms > Advanced PDF/HTML Template.
2. Click Edit/Customize next to the Item Label template.
3. Switch to Source Code.
4. Locate the code below:
<td><barcode codetype="code128" style="width: 100pt; height: 50pt;" showtext="true" value="${record.tranid}"/></td>
5. Define the style width and height to adjust the size of the barcode.
Example:
From:
style="width: 100pt; height: 50pt;"
To:
style="width: 150pt; height: 100pt;"
6. Click Save when done then to test, print an Item Label.
Note: The Preview function in Advanced PDF/HTML Template does not show the barcode.
Disclaimer
The sample code described herein is provided on an "as is" basis, without warranty of any kind, to the fullest extent permitted by law. Oracle + Netsuite Inc. does not warrant or guarantee the individual success developers may have in implementing the sample code on their development platforms or in using their own Web server configurations.
Oracle + Netsuite Inc. does not warrant, guarantee or make any representations regarding the use, results of use, accuracy, timeliness or completeness of any data or information relating to the sample code. Oracle + Netsuite Inc. disclaims all warranties, express or implied, and in particular, disclaims all warranties of merchantability, fitness for a particular purpose, and warranties related to the code, or any service or software related thereto.
Oracle + Netsuite Inc. shall not be liable for any direct, indirect or consequential damages or costs of any type arising out of any action taken by you or others related to the sample code.
JCurve Solutions Support Hub
Looking for something else? Search here...