Little about Barcode

I am at the design stage of my POS system. it's my first attempt.
i have d/l a free 3of9 bar code font available from the net.
my queries are;
1) at the time of creating product code master, do i need to assign the barcode
font to my item_code field ? i am thinking of leaving an option on user to either
scan the barcode, printed on the Item box, or enter manually his own or the 1 associated
with the item barcode.
2) i have read about barcodes that there are number of fonts used for barcoding. so in that case, if my clients deals in variety of products, so he will receive Items with
different barcode fonts, right?. but i can assign just one font to my item_code field at design time. so how to tackle a situation like this ?
which barcode scanner reads most of the barcodes font ?
3) theres one more issue i came across, that for creating a barcode one need to enclose the item_code
value between a ' * ' .
my client, during SALE period want to merge 3-in-1, buy1-get-1-free offer and wants to create his
own barcode number & a label of it.
so if he is entering his own item_code that will be recognize by barcode
scanner, does he has to brace it within ' * ' ?
4) how can i do this all using just one barcode (3of9) font?

Little About Barcode.
PACKAGE BODY PDF_DPdf IS
-- The Get and Set accessors for properties:
FUNCTION src(interface OleObj) RETURN VARCHAR2 IS
BEGIN
  return Get_Ole_Char(interface, 1);
END;
PROCEDURE src(interface OleObj, newvalue VARCHAR2) IS
BEGIN
  Set_Ole(interface, 1, newvalue);
END;
-- The Functions:
FUNCTION LoadFile(interface OleObj, fileName VARCHAR2) RETURN NUMBER IS
  my_new_value NUMBER;
BEGIN
  Init_OleArgs(1);
  Add_OleArg(fileName);
  my_new_value := Call_Ole_Num(interface, 2);
  return my_new_value;
End;
PROCEDURE setShowToolbar(interface OleObj, zOn NUMBER) IS
BEGIN
  Init_OleArgs(1);
  Add_OleArg(zOn, VT_BOOL);
  Call_Ole(interface, 3);
End;
PROCEDURE gotoFirstPage(interface OleObj) IS
BEGIN
  Init_OleArgs(0);
  Call_Ole(interface, 4);
End;
PROCEDURE gotoLastPage(interface OleObj) IS
BEGIN
  Init_OleArgs(0);
  Call_Ole(interface, 5);
End;
PROCEDURE gotoNextPage(interface OleObj) IS
BEGIN
  Init_OleArgs(0);
  Call_Ole(interface, 6);
End;
PROCEDURE gotoPreviousPage(interface OleObj) IS
BEGIN
  Init_OleArgs(0);
  Call_Ole(interface, 7);
End;
PROCEDURE setCurrentPage(interface OleObj, n NUMBER) IS
BEGIN
  Init_OleArgs(1);
  Add_OleArg(n, VT_I4);
  Call_Ole(interface, 8);
End;
PROCEDURE goForwardStack(interface OleObj) IS
BEGIN
  Init_OleArgs(0);
  Call_Ole(interface, 9);
End;
PROCEDURE goBackwardStack(interface OleObj) IS
BEGIN
  Init_OleArgs(0);
  Call_Ole(interface, 10);
End;
PROCEDURE setPageMode(interface OleObj, pageMode VARCHAR2) IS
BEGIN
  Init_OleArgs(1);
  Add_OleArg(pageMode);
  Call_Ole(interface, 11);
End;
PROCEDURE setLayoutMode(interface OleObj, layoutMode VARCHAR2) IS
BEGIN
  Init_OleArgs(1);
  Add_OleArg(layoutMode);
  Call_Ole(interface, 12);
End;
PROCEDURE setNamedDest(interface OleObj, namedDest VARCHAR2) IS
BEGIN
  Init_OleArgs(1);
  Add_OleArg(namedDest);
  Call_Ole(interface, 13);
End;
PROCEDURE Print(interface OleObj) IS
BEGIN
  Init_OleArgs(0);
  Call_Ole(interface, 14);
End;
PROCEDURE printWithDialog(interface OleObj) IS
BEGIN
  Init_OleArgs(0);
  Call_Ole(interface, 15);
End;
PROCEDURE setZoom(interface OleObj, percent NUMBER) IS
BEGIN
  Init_OleArgs(1);
  Add_OleArg(percent, VT_R4);
  Call_Ole(interface, 16);
End;
PROCEDURE setZoomScroll(interface OleObj, percent NUMBER, left NUMBER,
     top NUMBER) IS
BEGIN
  Init_OleArgs(3);
  Add_OleArg(percent, VT_R4);
  Add_OleArg(left, VT_R4);
  Add_OleArg(top, VT_R4);
  Call_Ole(interface, 17);
End;
PROCEDURE setView(interface OleObj, viewMode VARCHAR2) IS
BEGIN
  Init_OleArgs(1);
  Add_OleArg(viewMode);
  Call_Ole(interface, 18);
End;
PROCEDURE setViewScroll(interface OleObj, viewMode VARCHAR2, offset NUMBER) IS
BEGIN
  Init_OleArgs(2);
  Add_OleArg(viewMode);
  Add_OleArg(offset, VT_R4);
  Call_Ole(interface, 19);
End;
PROCEDURE setViewRect(interface OleObj, left NUMBER, top NUMBER,
     width NUMBER, height NUMBER) IS
BEGIN
  Init_OleArgs(4);
  Add_OleArg(left, VT_R4);
  Add_OleArg(top, VT_R4);
  Add_OleArg(width, VT_R4);
  Add_OleArg(height, VT_R4);
  Call_Ole(interface, 20);
End;
PROCEDURE printPages(interface OleObj, zfrom NUMBER, zto NUMBER) IS
BEGIN
  Init_OleArgs(2);
  Add_OleArg(zfrom, VT_I4);
  Add_OleArg(zto, VT_I4);
  Call_Ole(interface, 21);
End;
PROCEDURE printPagesFit(interface OleObj, zfrom NUMBER, zto NUMBER,
     shrinkToFit NUMBER) IS
BEGIN
  Init_OleArgs(3);
  Add_OleArg(zfrom, VT_I4);
  Add_OleArg(zto, VT_I4);
  Add_OleArg(shrinkToFit, VT_BOOL);
  Call_Ole(interface, 22);
End;
PROCEDURE printAll(interface OleObj) IS
BEGIN
  Init_OleArgs(0);
  Call_Ole(interface, 23);
End;
PROCEDURE printAllFit(interface OleObj, shrinkToFit NUMBER) IS
BEGIN
  Init_OleArgs(1);
  Add_OleArg(shrinkToFit, VT_BOOL);
  Call_Ole(interface, 24);
End;
PROCEDURE setShowScrollbars(interface OleObj, zOn NUMBER) IS
BEGIN
  Init_OleArgs(1);
  Add_OleArg(zOn, VT_BOOL);
  Call_Ole(interface, 25);
End;
PROCEDURE AboutBox(interface OleObj) IS
BEGIN
  Init_OleArgs(0);
  Call_Ole(interface, -552);
End;
END;sasrah

Similar Messages

  • I need to do a clean restart from my external hard drive backup.  I know very little about computers

    i have a 2010 MBP I installed a program that put files in wrong place I want to do a clean install fro my external hard drive back up and dont know how.  I know very little about computers

    Hey champrider,
    Thanks for the question. It sounds like you wish to revert to an earlier Time Machine backup. The following resource may assist you in doing so:
    OS X Mavericks: Recover your entire system
    http://support.apple.com/kb/PH14185
    Thanks,
    Matt M.

  • What are some things i need to know before buying Aperture 3? because i know a little about digital photography

    Help please

    Your Mac seems to be compatible with Aperture (http://support.apple.com/kb/DL1657), but is your camera? Here is a list of cameras, that are supported by Aperture, see: Apple - Aperture - Technical Specifications - RAW Support
    If your camera is not on the list, you can work in Aperture with jpegs, tiffs, psd images, but not with raw images.
    because i know a little about digital photography
    That is a bit ambigious - do you want to say that you have some experience with digital photography, or nearly none at all?  Have you tried iPhoto and do you like it? iPhoto comes on every newer mac included for free, so you could give it a try. Aperture and iPhoto are related, they are both supporting a lossless workflow - you can always undo all edits and your original images are preserved, and both are compatible. Each application can open the photl library of the other app.
    Only Aperture has advanced editing tools and more possibilites to organize and search your images.
    To elaborate on Kirby's question: To help you decide, it would help to know, if you have used any software for organizing a photo library previously, and and what you are looking for. If not, give iPhoto a trial run - it should be on your Mac. If you see, that you need more advanced features than the basic set in iPhoto, check, if Aperture will give you those and then buy Aperture. You can continue right where you left off in iPhoto.
    -- Léonie

  • TS1813 How about assuming the customer knows very little about computers? For instance I don't know how tolocate the ipodsoftware updates folder so i'm lost right from the start.

    I have no idea how to even answer the questions below such as operating system, selecting a community or categories. Is there anyone out there who can assume that there are people like me, age 68, who know little about computers and need very simple child like instructions. as to how to find various computet files all by myself, well that's a joke!

    Call Apple Customer Relations - 1-800-275-2273.  Ask politely & firmly that you want to be transferred to Customer Relations.  Tell them exactly what you stated in your post.
    GOOD LUCK!
    These are user-to-user forums where everyday folk (volunteers) post questions and offer answers (technical support) to each other.  

  • About barcode in report 6i

    Hi
    i read document of java bean barcode.
    but i work with report6i and in this
    document i read i must i had to use
    barcode font .
    i dont have this font i couldn't find any information
    about it.
    i appreciate you if u can help me.
    by regard
    Nahid Bastani

    Hi Nahid
    Search the internet for free/sample Barcode fonts. If you can't find any, you need to purchase the fonts.
    Try the following links:
    http://www.monotype.com
    http://www.bizfonts.com
    Regards
    Sripathy

  • Found out a little about slow performance

    I know you don't have to "convert" footage anymore but...if you'll notice the footage is converting in the back-ground. Look at the ring in the middle of the screen which is indicating back-ground tasks. I found the performance was slow WHILE the footage conversion was taking place but greatly improved when completed.
    I only have 4 gig of ram which may have some bearing. It was so bad in the begining that I went back to fcp 7 to get some work done. To use fcp x I just import the footage and for the most part allow it to finish converting before I begin editing.
    Do you think more ram will help?
    ps I still find adding titles bogs the computer down.
    Monty

    typing in dark with one hand please forgive the lack of formatting. i have heard of other people with much greater horse power in their computers than me having problems and there is little consistency with ram rec's etc.
    bottom line fcp 10 can't do it and fcp 7 is dead and forgotten. unless apple releases a huge fix or brings 7 back from the dead i am going to avid or vegas or premier. i will be downloading trials to see.
    frankly i was bonding well with fcp10 but its so weak right now. thinking of this large project is driving me to find something else. i cant deal with drama of computer editing and produce a feature at the same time.
    i really think i am jumping ship. what else burns me is, i never really liked apple they seem to be different not to be better but to be different. that stuff cuts into my being creative because i dont know some apple stuff and a perfect example is slo-mo is now called retime....why? i lost 15 minutes figuring that out and how many other 15/30 and 60 minutes have i lost thru the years because apple does it different.
    what hurts is i really like how fcp 10 does RETIME the jerks.
    i dont care about computers or programs...i care about the end product on the screen and apple is hurting me in that department in a big way.
    sorry for the rant but this is a serious problem for me.

  • I have a macbook pro running 10.8.5. I know little about computers but have started my computer in safe boot as this is the only way I can connect to Safari.

    I am currently in safeboot as Safari will not open otherwise.  my emails are working fine.  I do not know much about computers but looked at a couple of previous discussions and have pasted the results of an Etrecheck - please can you tell me why Safari isnt running like usual!  my daughter likes using my computer for games but she has another user id.  I would be grateful for help.  Also is Safeboot ok to use?
    Hardware Information:
              MacBook Pro (13-inch, Mid 2012)
              MacBook Pro - model: MacBookPro9,2
              1 2.5 GHz Intel Core i5 CPU: 2 cores
              4 GB RAM
    Video Information:
              Intel HD Graphics 4000 - VRAM: 512 MB
    System Software:
              OS X 10.8.5 (12F45) - Uptime: 0 days 0:35:53
    Disk Information:
              MATSHITADVD-R   UJ-8A8 
              APPLE HDD HTS547550A9E384 disk0 : (500.11 GB)
                        disk0s1 (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 499.25 GB (408.33 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
    USB Information:
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Computer, Inc. IR Receiver
              Apple Inc. BRCM20702 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Inc. Apple Internal Keyboard / Trackpad
    FireWire Information:
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Kernel Extensions:
              com.rim.driver.BlackBerryUSBDriverInt          (0.0.74)
    Launch Daemons:
              [System] com.adobe.fpsaud.plist 3rd-Party support link
              [System] com.genieoinnovation.macextension.client.plist 3rd-Party support link
              [System] com.google.keystone.daemon.plist 3rd-Party support link
              [System] com.oracle.java.Helper-Tool.plist 3rd-Party support link
              [System] com.rim.BBDaemon.plist 3rd-Party support link
              [System] com.trusteer.rooks.rooksd.plist 3rd-Party support link
              [System] org.macosforge.xquartz.privileged_startx.plist 3rd-Party support link
    Launch Agents:
              [System] com.genieoinnovation.macextension.plist 3rd-Party support link
              [System] com.google.keystone.agent.plist 3rd-Party support link
              [System] com.oracle.java.Java-Updater.plist 3rd-Party support link
              [System] com.rim.BBAlbumArtCacher.plist 3rd-Party support link
              [System] com.rim.BBLaunchAgent.plist 3rd-Party support link
              [System] com.trusteer.rapport.rapportd.plist 3rd-Party support link
              [System] org.macosforge.xquartz.startx.plist 3rd-Party support link
    User Launch Agents:
              [not loaded] com.adobe.ARM.[...].plist 3rd-Party support link
              [not loaded] com.adobe.ARM.[...].plist 3rd-Party support link
              [not loaded] com.facebook.videochat.[redacted].plist 3rd-Party support link
              [not loaded] jp.co.canon.Inkjet_Extended_Survey_Agent.plist 3rd-Party support link
    User Login Items:
              iTunesHelper
              AdobeResourceSynchronizer
              Mail
              Canon IJ Network Scanner Selector2
              Safari
    Internet Plug-ins:
              DirectorShockwave: Version: 11.6.5r635 3rd-Party support link
              Google Earth Web Plug-in: Version: 6.1 3rd-Party support link
              Unity Web Player: Version: UnityPlayer version 4.3.1f1 - SDK 10.6 3rd-Party support link
              CouponPrinter-FireFox: Version: Version 1.0.11X
              AdobePDFViewerNPAPI: Version: 10.1.8 3rd-Party support link
              FlashPlayer-10.6: Version: 12.0.0.77 - SDK 10.6 3rd-Party support link
              Silverlight: Version: 4.0.60531.0 3rd-Party support link
              Flash Player: Version: 12.0.0.77 - SDK 10.6 Outdated! Update
              QuickTime Plugin: Version: 7.7.1
              iPhotoPhotocast: Version: 7.0
              AdobePDFViewer: Version: 10.1.8 3rd-Party support link
              EPPEX Plugin: Version: 3.0.5.0 3rd-Party support link
              JavaAppletPlugin: Version: Java 7 Update 51 3rd-Party support link
    Safari Extensions:
              Twitter for Safari: Version: 1.02
              Bing Highlights: Version: 1.0.24
    Audio Plug-ins:
              AirPlay: Version: 1.7 - SDK 10.8
              iSightAudio: Version: 7.7.1 - SDK 10.8
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.8
    3rd Party Preference Panes:
              Flash Player  3rd-Party support link
              Java  3rd-Party support link
              Trusteer Endpoint Protection  3rd-Party support link
    Old Applications:
              None
    Time Machine:
              Skip System Files: NO
              Mobile backups: ON
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 464.96 GB Disk used: 84.67 GB
              Destinations:
                        Time Machine Backups [Local] (Last used)
                        Total size: 465.44 GB
                        Total number of backups: 5
                        Oldest backup: 2012-08-03 18:22:53 +0000
                        Last backup: 2013-03-22 21:18:30 +0000
                        Size of backup disk: Adequate
                                  Backup size 465.44 GB > (Disk used 84.67 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                   3%          WindowServer
                   1%          ps
                   0%          SystemUIServer
                   0%          configd
                   0%          tccd
    Top Processes by Memory:
              197 MB          Safari
              123 MB          WebProcess
              57 MB          EtreCheck
              53 MB          WindowServer
              53 MB          Dock
    Virtual Memory Information:
              493 MB          Free RAM
              1.04 GB          Active RAM
              307 MB          Inactive RAM
              2.17 GB          Wired RAM
              228 MB          Page-ins
              0 B          Page-outs

    Uninstall Genieo:
    http://www.thesafemac.com/arg-genieo/
    See if that makes a difference.
    Ciao.
    DawnHerbie wrote:
    Also is Safeboot ok to use?
    Yes, it will do no harm, but it is meant for trouble shooting and you should not have to use it all the time.
    Message was edited by: OGELTHORPE

  • When i try to send  a message in mail it says it cannot use the server. I know very little about macs and need help

    i need help with the email on my mac. it says i cannot use the sever. any help would be awesome thank you

    If you are trying to connect to your ISP e-mail account. The ISP will help you setup and connect to your e-mail account. So, you might want to give them a call.
    Usually, when you are told that you can't use the server it means that there might be an error (either a wrong name/ address / password/ connection type/ etc.) so check your settings again...
    Else you could try the following:
    http://support.apple.com/kb/HT1277
    http://www.switchingtomac.com/tutorials/how-to-check-your-hotmail-using-mailapp/

  • I know very little about Imac, but I am becoming increasingly concerned that something is not right with mine

    Dear All,
    I'm rather new to all this so please excuse any bad forum etiquette. I have been noticing recently that I seem to be having less control over my Imac (purchased 2012). I'm assuming I have a virus and as much as it pains me to say it I think its been done by someone I know.
    Please could someone have a look at these screen shots and give me your thoughts, It would be a great help as I dont really know where to start with all of this.
    Many Thanks
    B

    That window is your backup scripts - there is no reason for you to open or amend them, and doing so might screw things up. It looks like the app is AppleScript Editor - quit that app from the dock (force quit if necessary by holding down the option key while you click the dock icon and click Quit)
    That entry in Console looks like either you tried to FaceTime or call your friend, or they tried to call you. Yosemite (if that's what you have installed) conflates FaceTime with audio calls, so it could be either.
    Matt

  • Newly loaded Firefox but cannot open it from desk top, has warning, about restrictions in effect on this computer. Know little about computer

    Question as above. I have recently loaded firefox, because my computer connection to the web was so slow, this action was recommened by the service provider. It loaded perfectly well, but when I went out and then click on the desktop icon for Firefox it came up with this warning. Wherever else I try to get on to Firefox it comes up with the same warning.Warning is: "This operation is cancelled due to restrictions in effect on this computer. Please contact your systems administrator." I have no idea what this means or how to sort it.

    Try:
    *http://www.slipstick.com/problems/link_restrict.htm
    Do a malware check with some malware scanning programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    * "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • How do I read barcodes.

    So, everyone else knows about these little square barcodes that smartphones can read, but I'm behind the curve on this one. I guess they are dot codes, not bar codes, but still the same thing. How do I read them with my iPhone 3S? is this something I need a 4S for?

    Look in the app store for RedLaser.  You snap a pic of the barcode and it reads it and searches the web for the item.  If you enable location services for it, it will even tell where you can get it nearby.
    Oh, and it is free, only requirement is iOS 4 or higher.

  • Barcode scanner help

    Hello friends
    I have a big problem using my old metrologic ms9520 barcode scanner.My graduation project depends on barcode scanner and I use that scanner.I read in one forum that it works like a keyboard to get barcode data from it,but I tried that,no results.Also I read that I can do tat by downloading javacomm 2.0 which contains a dll file and properties file but when I downloaded javacomm 3.0 but I didnt found that files just a jar file javacomm.jar.
    I dont know how to retrieve barcode information using that scanner.
    I cant download its configuration files on the site " http://www.honeywellaidc.com/Site.aspx/eu/fr/resources/product_downloads/software/?product=297 ".
    Please friends help me because time is against me
    Thank you very much

    Amirali10 wrote:
    Thanks friend,I tried many things but...nothingLike kaj, I know very little about them, but have you tried testing it through Notepad (Gates) or vi, to see if it's working?
    Winston

  • Help, Java newbie a little over my head with LDAP

    I'm actually a network admin but I've been dabling in Java for a little while now.
    I am trying to write an app that will allow me to insert and remove attributes to entries in Active Directory.
    I have found some sample code which I have altered to make a "proof of concept" before I start on the actuall app I want.
    The problem I am having is writing into the AD. I can query entries with no error but when I try a modification I get an "DSA is unwilling to perform" LDAPException. I am pretty sure it's not a permissions issue but from reading stuff on here I am begnining to think that it may have something to do with SSL connections. There is commented out code below where I experimented with this but I was unable to connect the the AD when this was in. "unable to connect to the directory server error".
    If anyone can offer me any advice I would be most grateful.
    package LDAPTest;
    import netscape.ldap.*;
    import java.util.*;
    import com.novell.service.ndssdk.jndi.ldap.ssl.*;
    // Simple program to experiment with searching LDAP
    public class FilterSearch
    public static void main(String[] args)
    if(args.length != 6)
    System.out.println("Usage: java FilterSearch " +
    "<host> <port> "+
    "<authdn> <password> "+
    "<basedn> <filter> ");
    System.exit(1);
    String host = args[0];
    int port = Integer.parseInt(args[1]);
    String authid = args[2];
    String authpw = args[3];
    String base = args[4];
    String filter = args[5];
    String[] ATTRS = {"memberOf"};
    int status = -1;
    //SSL experiment that would not connect to the AD server.
    //LDAPConnection ld = new LDAPConnection(new LDAPSSLSocketFactory("com.novell.service.ndssdk.jndi.ldap.ssl.LdapSecureSocketFactory"));
    LDAPConnection ld = new LDAPConnection();
    System.out.println("done connection");
    try
    //Connect to server and authenticate
    ld.connect(host, port,authid,authpw);
    System.out.println("Search filter = " +filter);
    LDAPSearchResults res = ld.search(base, ld.SCOPE_SUB, filter, null, false);
    //Loop on results until complete
    while(res.hasMoreElements())
    try
    //Next Directory entry
    LDAPEntry entry = res.next();
    prettyPrint(entry, ATTRS, ld);
    status=0;
    catch(LDAPReferralException e)
    System.out.println(e);
    continue;
    catch(LDAPException e)
    System.out.println(e.toString() );
    continue;
    LDAPAttribute atrib = new LDAPAttribute("memberOf", "CN=Tight VNC,OU=Staging Transmitter Channels,DC=marimba,DC=local");
    LDAPModification mod = new LDAPModification(LDAPModification.ADD, atrib);
    System.out.println(ld.isAuthenticated());
    try{
    // This is the code the throws the Exception DSA is unwilling to perform.
    ld.modify("CN=smstest0005,CN=MarimbaComputers,CN=Computers,DC=marimba,DC=local", mod);}
    catch(LDAPException e){
    System.out.println(e);}
    catch(LDAPException e)
    System.out.println(e.toString() );
    //Done, so disconnect
    if((ld!=null) && (ld.isConnected()))
    try
    ld.disconnect();
    catch(LDAPException e)
    System.out.println(e.toString());
    System.exit(status);
    public static void prettyPrint(LDAPEntry entry, String[] attrs, LDAPConnection ld)
    System.out.println("DN: " + entry.getDN());
    //Use array to pick attributes. We could have
    //enumerated them all user LDAPEntry.getAttributes
    //but this gives us control of the display order
    for(int i = 0; i < attrs.length; i++)
    LDAPAttribute attr = entry.getAttribute( attrs);
    if (attr == null )
    System.out.println(attrs[i] + " not present");
    continue;
    Enumeration enumVals = attr.getStringValues();
    //Enumerate on values for this attribute
    boolean hasVals = false;
    while ((enumVals!=null) && enumVals.hasMoreElements())
    String val = (String)enumVals.nextElement();
    System.out.println(attrs[i] + ": " + val);
    hasVals=true;
    if(!hasVals)
    System.out.println(attrs[i] + " has no values");
    System.out.println("----------------------");

    OK, I have learned a little about JNDI today and have attempted to implement this using JNDI instead.
    I am now getting the OperationNotSupportedException when attempting to add an attribute to an item in Active Directory.
    here's the code, can anybody who has managed to add data into AD help with this?
    cheers.
    package JNDI;
    import javax.naming.*;
    import javax.naming.directory.*;
    import java.util.*;
    class Getattr
    public static void main(String[] args)
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.PROVIDER_URL, "ldap://hostname:389/");
    env.put(Context.SECURITY_PRINCIPAL, args[0]);
    env.put(Context.SECURITY_CREDENTIALS, args[1]);
    try {
    // Create the initial directory context
    DirContext ctx = new InitialDirContext(env);
    // Ask for all attributes of the object
    Attributes attrs = ctx.getAttributes("CN=smstest0005,CN=MarimbaComputers,CN=Computers,DC=marimba,DC=local");
    for (NamingEnumeration ae = attrs.getAll(); ae.hasMore();)
    Attribute attr = (Attribute)ae.next();
    System.out.println("attribute: " + attr.getID());
    /* Print each value */
    for (NamingEnumeration e = attr.getAll(); e.hasMore();System.out.println("value: " + e.next()));
    // Specify the changes to make
    ModificationItem mod[] = new ModificationItem[1];
    mod[0] = new ModificationItem(DirContext.ADD_ATTRIBUTE,
    new BasicAttribute("memberOf", "CN=Tight VNC,OU=Staging Transmitter Channels,DC=marimba,DC=local"));
    ctx.modifyAttributes("CN=smstest0005,CN=MarimbaComputers,CN=Computers,DC=marimba,DC=local", mod);
    // Find the surname attribute ("memberOf") and print it
    //System.out.println("memberOf: " + attrs.get("memberOf").get());
    } catch (NamingException e) {
    System.err.println("Problem getting attribute:" + e);

  • How to display barcode in ABAP report

    Hi Experts,
    I want to display the barcode of process order number in ABAP report without using SAP script or smart form. Please let me know how is it possible to display and print the barcode in the ABAP report.
    Thanks in advance.

    Hi,
    Please follow the links below
    Re: Bar Code  Generation in ABAP Report
    Create Barcode in ABAP : conversion to PDF
    also chk the link below, It also gives info about barcodes..
    http://www.mecsw.com/info/appnote/app_024.html
    hope it helps
    Regards,
    Manish

  • Code 128 Barcode printed from Application Express

    Hi,
    My colleague and I have written a procedure to generate Code128 Barcodes. These appear fine on the screen within Application Express 3. But when we export the file as an RTF or PDF document to our BI_Publisher server running under LINUX RedHat the Barcodes are greyed out and cannot be seen.
    Anyone any ideas on how to solve this? It is extremely irritating only to be able to offer our users the ability to print the Application Express page off rather than a proper document.
    Thanks

    Hi kcbemssr,
    I don't know weather you can see this reply, but i still want to say something about this.
    Did you used another type of code 128?
    you can try this. and here is a site i recommand you, it's all about barcode, you can get code 128
    [Content Removed]

Maybe you are looking for