How to allign text under the barcode with same width?

Hi,
I need to put a barcode in my form with the human readable text right under it and more importantly,irrespective of the number of digits of the text number, it needs to be space out exactly equal to the barcode length.can anyone please help with text formatting here? And what if the barcode might change in future? Something like below:
IIIIIIIIIIIIIIIIIIIIIIIII
1 2 3 4 5 6 7
IIIIIIIIIIIIIIIII        
1234567
Edited by: Aditi Bhandari on Nov 22, 2009 3:38 PM

For sapscripts and smart forms (what is your techno?), SAP allows you only to print barcodes (bars), not the texts corresponding to these barcodes, so you will have to implement a custom solution.
As SAP doesn't provide you the actual width of the generated barcode, you will have to determine empirically the formula.
I think it will be rather tough to use "space" characters or font size to manage the spacing between characters.
Instead, I see 2 solutions:
- send directly the text to the printer with the right Character Per Inch value : First calculate how many characters per inch you need (barcode estimated width divided by number of characters), then use print controls HEX - ENDHEX to define the instructions in printer language (for each device type you will print to). For better rendering use fixed font (COURIER, etc.) Note that it will work for printout, but not for print preview (text won't appear at all).
- second solution would be to generate text as an image if you have such a software, and print the image. It will work well in all situations.

Similar Messages

  • How to paste text in Adobe Muse with same color where i copied this text?

    How to paste text in Adobe Muse with same color where i copied this text?

    Copy&paste is a function of your browser, not the forum software. Ctrl+V will work just fine.
    Mylenium

  • How to align text below the menu with text in the menu?

    I'm trying to design a law firm site with a menu with text below it that is centered with the text in the menu.  So, under "ABOUT" in the menu, there is "Meet our Attorneys".  I can't get the 2 text boxes to center.  When it looks centered, it moves when its FTP uploaded.  Here's the site:
    http://mckenzielaird.com

    Hi
    I checked the site and can see that under About , Meet our attorneys both are aligned centrally.
    Can you please confirm me if I am missing anything here ?
    Thanks,
    Sanjit

  • How to display HTML formatted text in the field with Item Style: Raw Text

    How can I display HTML formatted text in the field with Item Style: Raw Text.
    Currently the Item Style is Raw Text, but the text is being displayed along with HTML tags without formatting.
    Regards

    Hi,
    Use Item Style formattedText.
    Regards,
    Gyan

  • I have bought a Macbook Pro Retina, and the iPhoto which comes with it, has a different iPhoto Book menu.  I cannot see how to put text at the bottom of the pages of photographs, instead of the default place in the middle.  Is there a way to do this?

    I have bought a Macbook Pro Retina, and the iPhoto which comes with it, has a different iPhoto Book menu.  I cannot see how to put text at the bottom of the pages of photographs, instead of the default place in the middle.  Is there a way to do this?

    There are different templates for iPhoto books and they differ from version of iPhoto to iPhoto, so explore the other options.

  • Experiencing the problems while encoding the barcode with Code 128 font

    Hi Tim,
    Hope you are doing good.
    We are experiencing the problems while encoding the barcode with Code 128 font.we have followed the Oracle BI Publisher Blog i.e Barcoding 102 http://blogs.oracle.com/xmlpublisher/discuss/msgReader$281.
    Before applying the encoding Java class we were able to display the barcode but after applying this encoding Java class we are not able to display the barcode.
    We are requesting you to help us for encoding the barcode with Code 128 font and read barcode by scanner.
    We will appreciate and thankful if anybody help us in this regard
    Thanks,
    SubbaRao.

    Hi Tim,
    I am trying to create 128 Barcode, output shows little junk characters. I followed the your "Barcoding 102 instrucitons but no luck. I apprciate your help if you provide some help on this.
    http://blogs.oracle.com/xmlpublisher/2006/06/06
    1. Created Java class under $JAVA_TOP/oracle/apps/oracle/xdo/template/util/barcoder
    2. Registeted and applied the format the barcode to the form field. I will sedn my XML, RTF and Java class, Would you pleae advice me on this
    Thanks
    Venu

  • I have a iPad mini, I recently acquired a $15 iTunes card to get apps and music. I have forgotten my security questions and I cannot buy anything HELP (I tried to reset them in the Password and Security tab but the text under the questions does not show)

    I recently acquired a $15 iTunes card to get apps and music. I have forgotten my security questions and I cannot buy anything HELP (I tried to reset them in the Password and Security tab but the text under the questions does not show)

    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699?viewlocale=en_US&locale=en_US
    Try the link above. Try to find a phone number for your country, call and ask for account security.

  • Why does a box appear under the pointer with words for the last tab clicked on?

    When I am searching for something I get to a site and the pointer can be anywhere and then a small box appears under the pointer with words for the last tab clicked on. If I move the pointer the box disappears and then reappears at the new location. How can I stop that from happening??

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • How far can text messages be tracked with a court order?

    how far can text messages be tracked with a court order?

        Hi sherry1234,
    Thanks for the excellent question. We are able to provide an average of 3-5 days of text messaging content with a court order.
    Thanks,
    NidiaA_VZW
    Please follow us on Twitter @VZWSUPPORT

  • How do I connect to the internet with my new IPAD ?

    How do I connect to the internet with myt new Ipad

    See here for connecting to the Internet:
    http://support.apple.com/kb/HT1695
    If you have any problems there is troubleshooting advice here: http://www.apple.com/support/ipad/wifi/

  • How do i connect to the internet with my ipad?

    how do i connect to the internet with my ipad?

    Did you turn WiFi on in the Settings App? If WiFi is turned on, your iPad should be able to see any WiFi networks that you can connect to and you should be able to tap on one of those, enter a password if needed and then tap the join button.
    I get the feeling that you know this and the problem needs further explanation so ... Can you explain in more detail?

  • How do i connect to the internet with apple tv

    how do i connect to the internet with apple tv

    Ethernet cable from your router, or configure wifi in Settings.

  • How to highlight text in the iCloud web app

    Hi,
    My computer recently broke so I had to use my mom's windows computer to do my homework. I had to use the iCloud web app Pages to do my homework. My assignment requires to be able to highlight stuff so does anyone know how to highlight text in the iCloud web apps?

    You can do this easily by using a "modify class" parameter in your web template.
    Following methods are of your interest to change char/KF headers.
    CAPTION_CELL          changes formats/values of characteristic headers
    STRUCTURE_CELL          changes formats/values of key figure headers
    Hope it helps.
    Hari Immadi
    http://immadi.com
    SEM BW Analyst

  • How to insert text in the middle of an existing textfile using java

    Hi,
    How to insert text in the middle of an existing textfile using java i/o streams??

    Mickie wrote:
    I shudn't delete the file...Then you will have the old file and the new file - do you want that?
    and I have to insert text not only at a single place ....got to do at many places in the text file!!then extrapolate on the procedure outlined in reply #1 .

  • How to Align Text in the TextArea

    How to Align text in the TextArea. My purpose is that I want to post the records after retrieving from database. All the records in each fields should keep aligned like Oracle WorkSheet.
    I want this way
    Code Name Place City
    a01 nilopher swiss street japan
    a02 rozina lovely street aus
    a03 benazir king's camp pitsburg
    and the out put should not look like this :-
    Code Name Place City
    a01 nilopher swiss street japan
    a02 rozina lovely street aus
    a03 benazir king's camp pitsburg
    here place and city records are getting disturbed accordingly the length of name.

    Well, first off (if it's not default, that is) you must set a monospaced font on the TextArea, unless you want to count pixelwidth of each and every string and then do an estimate on how many fill blanks you want...
    If you have the each string as a line, you use a StringTokenizer on it, extract each token, put all the tokens for that line into an array of strings.
    When every line is done, you compare the length of the nth String of each array and save the highest numbers.
    Then you reassemble each line from the arrays and pad in spaces where the tokens are too short.
    HTH,
    Fredrik

Maybe you are looking for

  • Convert Flash file to .mpg or .mov?

    Hi, I'm just learning Flash on my Macbook and have been having a great time making my first 3-minute animation (using mostly frame-by-frame redraws with a few motion tweens and alpha-fade symbols in background layers). The sound layer is a .wav file

  • ACS database reporting permissions issue

    Hi, I have an issue with my testing of the ACS reporting in two test environments (SCOM 2012 SP1). One has SQL installed on the same server as the MS and the other is a separate SQL install on its own server with multiple MS's. On both SQL servers th

  • How to move phones from one CUCM server to another?

    How easy is it to migrate IP phones from one CUCM server to another? The situation is this: A vessel currently sitting in dry dock has 14 IP phones onboard which currently register with a CUCM server half way round the world (literally). As you can i

  • Do I have to buy something else to get Flash Player?

    I go through step 1 and 2 of the Flash Player Installer Process and after I complete the 3rd and hit "Finish", it goes to a screen that says "other products you might be interested in".  It offers the opportunity to buy Photo Shop and Light something

  • I moved to italy. can my at&t american iphone be used here?

    i moved to italy. can my at&t american iphone be used here?