I'm trying to create a pdf with a barcode using CFDocument. (Barcode font is loaded. Can see it in the CF admin.) Found a boat load of folks complaining about the font not being recognized, but no solutions anywhere.
CFDocument (CF9) Anyone successfully using "FREE3OF9.TTF " (Barcode font)?
2k views Asked by Kerrie At
2
There are 2 answers
1
Vlad
On
Add the font in your server control panel (windows). Add the font in CF admin Font management (Under server settings). Restart server (Note: don't skip the restarting of server or it will not work). Below is a working sample code of 'Free 3 of 9 extended'
<cfdocument format="pdf" filename="#expandpath('.')#\barcode.pdf" pagetype="letter" overwrite="yes"
backgroundvisible="yes" margintop=".33" marginright=".33" marginbottom=".33"
marginleft=".33" fontembed="yes">
<p style="font-family:Free 3 of 9 extended;font-size:75px;">
content here
</p></cfdocument>
Related Questions in FONTS
- How to change the Font Weight of a SelectValue component in React when a SelectItem is selected?
- In my Flutter Project, I want to customize the font of a text, but it doesn't work
- Ubuntu wsl2 in windows, my /etc/fonts/fonts.conf keeps reloading
- Problem with sample code to set font properties for a whole XWPF Paragraph that includes Word fields
- I need to display alt characters
- Change back to default font size in Android Studio
- Custom Fonts used in react.js application are not visible after deployment on vercel
- Changing font colour on locked text box
- how to implement ZWJ and NZWJ in fontlab
- The p5js library's loadFont function does not seem to work for me?
- Use Google Font Without Network Connection
- How Can I Use the Poppins Font on My Website (coded with HTML, CSS, and JavaScript)?
- PDField set default appearances multiple fonts - pdfbox 2.0
- Why is my font-weight only switching from normal and bold instead of following the number?
- How to extract font names using PyMuPDF without subsets?
Related Questions in COLDFUSION
- Is there a way to get a dynamically generated QR to print on a badge card?
- "Apache2 Syntax Error: Cannot load mod_jrun22.so - undefined symbol: ap_log_error"
- Getting Java Error - java.lang.reflect.InaccessibleObjectException: Unable to make public sun.util.calendar.ZoneInfo(java.lang.String,int) accessible
- Unreadable text - dialog with goofy robot icon in VS Code
- Cold Fusion Custom Tags How To Block generatedContent if executionMode eq start
- Coldfusion SOAP API, name of parameters on wsdl changes to generic one
- passing multiple values with comma seperation in cfqueryparam causing issue. it is paasing as index scan instead of index seek
- ColdFusion app " Error Executing Database Query. Access denied for user" for RDS mySQL
- Why is CFTHREAD resuing local variable values in a loop?
- jquery validation code working but ending up uploaading same files in both different folders
- Encountering 'Error invoking CFC for gateway file: null
- cfspreadhseet - how to delete/update a comment in the cell?
- ColdFusion - page with CFCHART inserts JS into HTML <head> - Test and Prod servers it is at top of <head> my local is at bottom and causes JS conflict
- How do I decrypt an encrypted private key in ColdFusion?
- Does Coldfusion 2021 support connections to MySQL 8.0? (AWS RDS MySQL Community Server)
Related Questions in BARCODE
- How do I generate a Codabar barcode in Swift?
- Zxing lib refuses to recognize QR code at all
- Trying to convert an image to a Stream for use with Spire.Barcode ScanStream functionality
- Flutter - get data from embedded barcode scanner
- Using flutter how to get scan code from hand held device
- Printing BarCode Fail c# winform and zen.barcode framework
- Barcode detection from an image on server side (particularly on node.js)
- Flutter RawKeybardListener returns only space before Android 11 devices
- Blazor Hybrid App: Error "object DOMException" with Barcode Reader
- Reading barcode in an ios application in .net8 without maui
- Print Code 128 (GS1) with Zebra/Bixolon printer
- Barcode to webform, webform prefilled depending on barcode
- Xamarin Forms : byte[] to image , save the iamge in device and open it again
- ZXing.NET UPC_A Extensions
- how to limit the barcode scanning area
Related Questions in CFDOCUMENT
- CFDOCUMENT in Lucee page too big
- cfdocument: open download prompt to ask user where to save pdf
- PDF generated using CFDocument with CFPDF Action="Header" does not print on Paper or preview
- Creating PDF using CFDocument with header / footer taking very long time to generate
- How do I prevent the table from splitting by 2 in cfdocument?
- Remove bottom padding in table in cfdocument
- Cold Fusion, <cfdocument How do you set up permissions
- CFDOCUMENT is not putting page number on first page
- How to add approved stamp in Cover Page in ColdFusion
- cfdocument PDF showing empty for Hindi language string
- Image display within cfdocument
- CFDocument isn't showing styles and images. Is HTTPS the problem?
- How to return cfdocument pdf file and server to the user in the browser?
- How to read data from pdf document and insert into database?
- how to get your hands on output of cfdocument
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
OK, for anyone else having this issue, here is what I did:
( from http://www.mail-archive.com/[email protected]/msg290047.html )
CF has the font listed as "free 3 of 9" (with spaces). Make sure to embed the font in cfdocument!