Embed Barcode Fonts for Watermark

I hope someone could help me with this:
I need to add a barcode to a scanned image pdf file. This file will be viewed by a number of users on their workstations. Therefore the barcode font has to be embedded to the newly created pdf file.
I used the following VB.Net code to add the watermark:
Dim jsObj As Object
Dim SamplePDFFilePath As String = "c:\inputFile.pdf"
Dim OutputFilePath As String = "c:\outputFile.pdf"
' Create a PDDoc IAC object.
Dim pdDoc As Acrobat.CAcroPDDoc
pdDoc = CreateObject("AcroExch.PDDoc")
' Open the source PDF document
Dim rc As Integer
rc = pdDoc.Open(SamplePDFFilePath)
' Acquire the Acrobat JavaScript Object interface from the PDDoc object
jsObj = pdDoc.GetJSObject
' make a color object
Dim oColor As Object
oColor = jsObj.color.black()
' Add a text watermark.
' function prototype:
'   addWatermarkFromText(cText, nTextAlign, cFont, nFontSize, oColor, nStart, nEnd, bOnTop, bOnScreen, bOnPrint, nHorizAlign, nVertAlign, nHorizValue, nVertValue, bPercentage, nScale, bFixedPrint, nRotation, nOpacity)
jsObj.addWatermarkFromText("12345678", 1, "BarcodeFontName", 26, oColor, 0, 0, True, True, True, 0, 3, 100, -7, False, 1.0, False, 0, 1)
' save the PDF with watermarks to a new document.
rc = pdDoc.Save(1, OutputFilePath)  ' full save
This works. However the font is not embedded.
I am using Acrobat X.
My questions:
1. How to embed the barcode font to the newly created pdf file using VB code?
2. I have tried to add an additional watermark from a pdf file using this function: addWatermarkFromFile(cDIPath, nSourcePage, nStart, nEnd, bOnTop, bOnScreen, bOnPrint, nHorizAlign, nVertAlign, nHorizValue, nVertValue, bPercentage, nScale, bFixedPrint, nRotation, nOpacity). The file is a pdf containing a small graphic image. I notice after I added this image pdf as watermark, the barcode font is embedded in the new pdf file. Is this an Acrobat design? But the strange thing is that I removed the addWatermarkFromFile() function from my code and recompiled it. The graphic is not included in the new pdf file, but the font is still embedded. I wonder why Acrobat still embeds the barcode font. Is this a normal behaviour of Acrobat?
3. I have read a posting that addWatermarkAsText() function will always embed the font. But I am not able to find this function in the SDK 10. Is this function obsolete?
Any help is appreciated.

Thanks, Irosenth.
The barcode font I used is Installable. But it is not embedded.
In fact I tried adding two lines of watermarks, one using the barcode font and the other using Windows Courier font. I checked the created pdf file, both of them were not embedded.
Like I said, after I added a file using addWatermarkFromFile(), the fonts were embedded.
Also, I printed the document through the Adobe PDF printer driver, the fonts were embedded.
It looks to me that these fonts are embeddable. But they just are not embedded with the addWatermarkFromText() function.
Any further suggestions?

Similar Messages

  • HELP! Embed PDF Font for Qoop Document

    I am attempting to create a book for qoop.com; howevver every time I attempt to upload the pdf, created in Adobe Acrobat (version 6.x), I get an error message stating that "The file you uploaded contains non-embedded fonts that we cannot print. Please embed the fonts and re-upload." I have contacted the Qoop company; however they just said to google it to find the solution....AWESOME customer service! At any rate I cannot figure out what I'm doing wrong. My file is all Times New Roman, has columns, bullet points and bold fonts (if any of this matters).
    Thanks SO much for any help you can provide.

    Select the Print or Press job options settings. The Standard settings does not embed Times Roman and other default fonts. Check the font properties of the job settings files to be sure. You can do that in Distiller if you like by selecting the job settings and then selecting edit => check the fonts tab. For the Standard, Arial and Times-New-Roman are both listed as never embed. They are not listed in that set for the Press or Print settings.

  • How to add a barcode font for use in Web Intelligence (WebI) XIR2 and 3x?

    Anyone have the steps to add a barcode font to WebI XIR2 and 3x?  Not finding a good KBase on it and was also wondering if there any "gotchas" in terms of printing and exporting to .pdf.
    Thanks.

    Hi Kevin,
    Also, if the solution provided in the previous post doesn't helps you then try the following solution.
    Following are the steps to apply barcode font (IDAutomationHC39M):
    1) In Windows Explorer, browse to the following folder:
    -- C:\Windows\Fonts
    2) On the File menu click Install New Font then browse to the font you want to install.
    3) Edit the properties on the fonts you have just added:
    In the "Embedding" tab, you should get a property like "Preview & Print embedding allowed".
    But, nothing related to a license limitation regarding the embedding, else, you will not be allowed to use the added fonts in PDF or XLS generation.
    4) Once the above points have been done:
    -- Copy the .ttf fonts you want to use in the following XIR2 folder:
    <BO_INSTALL_DIR>\Business Objects\j2sdk1.4.2_08\jre\lib\fonts
    5) Add the following entries into the fontalias.xml file, which is in the following folder:
    <BO_INSTALL_DIR>\Business Objects\BusinessObjects Enterprise 11.5\win32_x86\fonts
    The template looks like the following one:
    <FONT NAME="IDAutomationHC39M">
    <FONTFAMILY PLATFORM="ttf" NAME="IDAutomationHC39M (IDAutomationHC39M)">
    <FONTATTRIBUTE BOLD="false" ITALIC="false" LOGICAL="IDAutomationHC39M" PHYSICAL="IDAutomationHC39M.ttf"/>
    </FONTFAMILY>
    <FONTFAMILY PLATFORM="win" NAME="IDAutomationHC39M"/>
    <FONTFAMILY PLATFORM="java" NAME="IDAutomationHC39M"/>
    <FONTFAMILY PLATFORM="html" NAME="IDAutomationHC39M"/>
    </FONT>
    6) Add the following entries into the u2018i18n.xmlu2019 file, which is in the following folder:
    <BO_INSTALL_DIR>\Business Objects\BusinessObjects Enterprise 11.5\win32_x86\scripts
    You have different sections in this i81n.xml file.
    -- Under the first section
    <I18N>
    <FontFinder>
    <font key=u201DIDAutomationHC39Mu201D value=u201DIDAutomationHC39Mu201D/>
    u2026u2026u2026u2026u2026u2026u2026u2026u2026..
    </ FontFinder>
    < FontFinder2>
    <font key=u201DIDAutomationHC39Mu201D value=u201DIDAutomationHC39Mu201D/>
    u2026u2026u2026u2026u2026u2026u2026u2026u2026..
    </ FontFinder2>
    -- Under the u2018font_aliasingu2019 section
    <font_aliasing>
    <T1>
    u2026u2026u2026u2026.
    </T1>
    <TTF>
    u2026..
    <font name=u201DIDAutomationHC39Mu201D>
    <os type=u201Dallu201D>
    <Attributs style=u201D0u201D filename=u201DIDAutomationHC39M.ttfu201D encoding=u201Du201D aliaspsname =u201CIDAutomationHC39Mu201D/>
    u2026
    </os>
    </TTF>
    7) Save the both files.
    8) Restart the Businessobjects servers or local computer.
    9) Login in to infoview and create a new web intelligence report by using the Java Report Panel or Html Report Panel;
    10) In the left pane, select the "Cell Format Properties": you will notice that an entry "IDAutomationHC39M" has been added into the font dropdown list.
    Just test the above u2018IDAutomationHC39Mu2019 barcode font, at your end and update me with the results.
    Regards,
    Sarbhjeet Kaur

  • How do I preview fonts for watermark

    Is there any way to do this all at once as opposed to searching name on internet?

    Edit->Edit Watermarks should let you see what each font looks like

  • Barcode Fonts in Microsoft Report Builder 3.0 or the Reporting Services:

    hello team;
    hope all is well on your end..
    I need a good link for downloading Barcode Fonts for Report Builder 3.0 or the Reporting Services
    thx a bunch
    JohnE

    This ink should answer you question
    http://social.msdn.microsoft.com/Forums/en/sqlreportingservices/thread/1aada9df-9c2c-44b6-bd00-b3c60b8d1931
    Cheers,
    Jason
    P.S. : Please click the 'Mark as Answer' button if a post solves your problem! :)

  • Barcode fonts 128 and 39 "shrink" when exported to PDF

    Hello,
    Crystal reports recommends using either IDAutomation or Azalea barcode fonts for reports.
    We are using IDAutomation. Both the 128 and the 39 encoded fonts work fine when
    printing. However when we export to a PDF file the fonts "shrink" down to a tiny box and
    are both un-scannable and nearly invisible.
    At this point in time, does anyone know of any fonts that can be used in v.XI which can
    be exported to PDF and be scannable? We are using the RDC and so are stuck with v.XI.
    Is the highest service pack for R1 (I believe it is SP4) of any help with this issue?
    If you know if answers to the above are negative please respond anyway.
    Also, I you know of any threads which deal with the "incredible shrinking font" issue,
    please mention them.
    Thank you,
    Joe

    HI, Joe;
    The previous post was for the incorrect verison of Crystal Reports from what you are using.
    Have a look at this Note referring to Crystal Reports XI R1:
    [ForceLargerFonts|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333733353333%7D.do|Note 1218753]
    Regards,
    Jonathan

  • Embed the specific barcode font directly into the PDF document

    Anybody has any info about it ?
    embed the specific barcode font directly into the PDF document
    Oracle9i Reports Technical FAQ JUL-02 indicated that:
    "Oracle9i Reports also provides the functionality of PDF font embedding to
    allow you to embed the specific barcode font directly into the PDF document so
    the client does not have to have the barcode-font installed in order to view
    the document correctly."

    See to following posting:
    Re: Passing complex XML to session EJB with automatic WSIF mapping
    Regards
    Sripathy

  • Flash Professional Help | Embed fonts for consistent text appearance

    This question was posted in response to the following article: http://helpx.adobe.com/flash/using/embed-fonts-consistent-text-appearance.html

    How can I embed one font and use it for several text objects in the FLA?

  • Export web fonts for copyright watermark

    I'm rebranding my photography website in Muse. I'm using a web font for the name of my business. I want to use the name as a watermark and have it match the website for consistent branding. What's the best way to do this? I used a screen capture but that's less than ideal. thank you.
    [Moved from the generic Cloud forum to the specific Program forum... Mod]

    You should be able to use that same font in any of the Adobe Creative Cloud programs. So you can add the watermark to your images with Photoshop or Lightroom.

  • Barcode Font not available in PDF after adding to Font Management

    Hello CF experts,
    I need to use a barcode font in a PDF document. I installed
    the font in Font Management, but nothing happens when I attempt to
    use it. I've tried to use it both in and out of PDF's, and it
    doesn't work either way. It does work in normal HTML code if the
    local machine has the font installed, but this isn't very helpful,
    as I need it to be served up from the Server with fontembed for PDF
    usage.
    Here is what the Font Manager shows:
    User Defined Fonts
    Actions Font Family Font Face Font Type Useable In Path
    IDAutomationHC39M IDAutomationHC39M TRUETYPE PDF/FlashPaper
    /var/www/html/MM/IDAutomationHC39M_Free.ttf
    I've tried using it in <font> tags, CSS Styles, etc,
    and nothing works.
    Any ideas?
    Thanks

    Hey SafariTECH,
    The Server is the source for any fonts used? This hasn't been
    my experience at all. Web pages don't embed fonts, but rely on the
    clients PC having the requested font face installed.
    My problem is that I have a unique need for a Barcode font to
    be available to clients without having to run around and install it
    locally. In concept I should be able to embed the font in
    Flashpaper or a PDF and bypass the need to make the font available
    on each client's PC.
    Is anyone successfully using the PDF "Font Embed" feature
    this way using fonts installed in the Font Manager?
    Is there any easy way to tell if the font's installed in Font
    Manager are actually working and/or available?
    Thanks-

  • Embed barcode in pdf file

    I'm not sure this is possible, but maybe someone has a smart idea.  I've got a pdf that users are printing off our website which is used as a registration card.  What I'd like to be able to do is insert a barcode onto that pdf when it's viewed/printed, plus add that barcode to their user record.
    I have a custom tag I downloaded somewhere which allows me to create barcodes in .gif or .jpg format, which has been very useful.  But...how to embed that into a pdf?  Anyone think it's possible?  I've played some with CFIMAGE for other things, but I can't see a way to use that tag to do this.
    Peter

    Why would you use an image? Why not just use straight text using a barcode font?

  • How do I embed multiple font outlines in dynamic text field

    Can anyone tell me how I can embed multiple font outlines in
    Flash MX so I can get smooth text in a dynamic
    text frame? I want to use Regular, bold and italic in various
    parts of the text.
    I was using the Character button in the properties manager
    and tried to include all Characters. That does not work.
    In the Properties manager I can choose Bold and/or Italic.
    But it becomes a universal setting that overrides my HTML tags in
    my external txt file that I am importing. I dont want all my text
    to be bold.
    If I dont select them in the properties, however, Flash will
    not embed the font that it needs.
    Is there a different way to embed fonts other than under the
    Character Tab?
    I tried to import fonts to the library, but can not select
    them.
    Your help would really be appreciated.
    Sincerely,
    ggaarde

    ggaarde wrote:
    > Thanks Urami
    > Tried your method and it does not work for me.
    > I put 3 dynamic text fields in the first frame of the
    movie. Set them up to
    > where one is regular, one is bold and one is italic
    Helvetica.
    Weird, it works for me on first go, always had in fact :)
    Show you an example, try to compare to your file see if you
    missed anything accidentally.
    http://flashfugitive.com/stuff/font/text.swf
    text file
    http://flashfugitive.com/stuff/font/text.txt
    fla
    http://flashfugitive.com/stuff/font/text.fla
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • InDesign doesn't let embed the font while exporting to PDF

    I used a font while working on a document in InDesign and later while exporting to PDF I got a warning that the software is unable to include that font.
    Is there a way to go around it? It was a free cyrillic font and it's not possible to buy it. I suppose creating outlines is not the right way to go
    Thanks in advance

    Eugene Tyson wrote:
    … Most free fonts that I know of don't allow embedding - for this reason it's not a good idea to use a free font. …
    I'm no particular fan of so-called “free fonts” — you most often get exactly what you pay for. However, that having been said, in my years of gathering such fonts for debugging and problem solving, in fact very few of them are actually set with the protection bits to prohibit embedding. For TrueType and OpenType fonts, you can readily check outside of InDesign as to whether a font is embeddable in a PDF file. For Windows, right-click on a font file and check the properties; embedding privileges are described in one of the tabs. For MacOS, the FontBook utility can provide the same information for a font.
    The problem is that when you attempt to use a font that is physically protected against embedding, you pretty much need to follow the advice given by Eugene. Personally, I would recommend the use a different font option, checking the font prior to using it for your rights to embed it in PDF.
    Note that font licensing is legal minefield. Many fonts that are posted on-line are not really free. Some are shareware with restrictions in their written licenses that require payment for commercial use (often in ReadMe files which may somehow be “lost” when such fonts are reposted over and over again) or even pirated fonts (i.e., commercial fonts simply illegally posted on-line).
    My personal recommendation is that for any commercial use, you explicitly license your fonts from a known, reliable source to avoid possible legal issues in the future.
              - Dov

  • Printing a barcode font no longer works properly

    I have been using a true type font "3 of 9 barcode" to print mailing labels on an internal website using the following css for some time:
    .barcode { font-family: "3 of 9 Barcode", Times, serif; font-size:36px; }
    After upgrading to Firefox 5 it stopped working. This currently renders the font correctly on the page but when I try to print the page it uses Wingdings. This is happening on multiple computers and multiple printers. The font is installed on all the computers and I've even tried using @font-face with no success.
    [http://www.thomaspainerants.com/firefox_barcode_works.png Screenshot of Firefox properly rendering the barcdoe font.]
    [http://www.thomaspainerants.com/firefox_barcode_broken.png What happens when I try to print]. In this case I printed to PDF but the same thing happens when printing to a normal printer. Printing in the latest versions of Chrome & IE9 works properly though not in Safari.
    [http://www.thomaspainerants.com/3_OF_9_BARCODE.TTF 3 of 9 Barcode font]

    Abandon all hope yee who enter this thread. Abandon hope for mozilla fixing the issue that is. I went with a jQuery based bmp generator. It's pretty easy to implement and has worked well for me.
    download: http://code.google.com/p/jquery-barcode/downloads/detail?name=jquery.barcode.0.3.js&can=2&q=
    demo : http://jquery-barcode.googlecode.com/svn/trunk/jquery-barcode/demo/demo.html
    Implementation:
    Put these includes in your header:
    &lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js&quot;&gt;&lt;/script&gt;
    &lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery.barcode.0.3.js&quot;&gt;&lt;/script&gt;
    Everything that needs to be a barcode should have the same class. I chose &quot;barcode39&quot;.
    &lt;span class=&quot;barcode39&quot;&gt;405479&lt;/span&gt;
    &lt;span class=&quot;barcode39&quot;&gt;405339&lt;/span&gt;
    &lt;span class=&quot;barcode39&quot;&gt;405341&lt;/span&gt;
    Then run this script at the bottom:
    &lt;script&gt;
    $(&#39;.barcode39&#39;) .barcode({code:&#39;code39&#39;});
    &lt;/script&gt;

  • When trying to upload a PDF to an interactive site I get the announcement:"The attached PDF file references a non-embedded font Tahoma. Please remove file, embed the font and reattach." How do I embed this, or in fact any other font ?

    When trying to upload a PDF to an interactive site I get the announcement: "The attached PDF file references a non-embedded font Tahoma. Please remove file, embed the font and reattach."
    I could not get rid of the Tahoma font in the WORD file.
    How do I embed this, or in fact any other font ?

    Thank you very much !
    Indeed, I was unaware of the enormous number of options that can be selected when converting a WORD file to PDF.
    I went thru the settings and found the right one for embedding the fonts.
    Thanks again !
    Oren

Maybe you are looking for

  • Problems with JTree

    Hi,      I have a few problems while working with JTree. Here is the detail: I get the name of the required file from JFileChooser and add it to the root node of JTree using root.add(new DefaultMutableTreeNode(fileName)); The following happens. 1) If

  • Can I run the admin and managed servers as different users?

    in unix, is it possible to run my admin and manged servers as different users with 7.1?

  • [OSB] - Calling REST Service - POST action

    Hi, I have a requirement to invoke a REST full service to pass on the processed XML message. I know OSB supports both calls via Proxy and Business services. I have tested it with HTTP and it works. However, my server side REST service is to be invoke

  • Airport not detecting wireless networks

    I have a MacBook that is about 5 years old. Latley, Airport has had trouble recognizing any wireless networks. Sometimes it works, and sometimes it doesn't. I know that there are networks available because other devices are connected. Recently it has

  • WAD Template - call BSP Page

    Hello Gurus, How I can call a BSP page as a link from a template. I want to implement log-off buton from BEX Web Analyzer in BW system.