Barcode Problem?

Hi,
I need to print Barcode with double size to existing Size.
In SE71, in Character Formats, There is no Size Specification is there. Cient requirement is to make the Barcode Double.
We are using RSNUM Barcode. In SE73, SAP is not allowing to create a new barcode or change the existing Barcode.
How can we make the BARCODE size double. What are the prerequisites that needs to be considered.
Thanks & Regards
Sathish Kumar.

Hi,
Can you explain little bit more.
Thanks & Regards
Sathish Kumar

Similar Messages

  • Crystal Report Viewer (SmartViewerActiveX/ActiveXViewer) barcode problem

    I am using the crystal reports viewer to show my reports in my asp website.
    In the reports, I have a barcode using the font source IDAutomationHC39M.ttf.
    This code must be a certain size that I indicated in my report design.
    The problem is that the viewer appears in the browser with the barcode expanded to full size, and not with the size that I indicated in report design.
    If I print from the program Crystal Reports, it appears according to the size indicated.
    It seems that this is a problem of the Viewer in the browser.
    Someone can help me? this matter is very urgent.
    Thank you.

    Thread moved to the .NET - SAP Crystal Reports forum.
    A few details missing:
    1) Version of CR?
    2) CR updates applied?
    3) Version of .NET?
    4) OS?
    5) What browser and version?
    6) is the issue present on dev / deployed computer / both?
    Oh, BTW.; if this is urgent, consider creating a phone case here:
    http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyVkAAAAR&rests=1282226845369
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]
    Edited by: Ludek Uher on Feb 3, 2012 10:26 AM

  • Barcode Problem with free 3 of 9

    I have an application (vb6) that opens a report and passes the parameters to it to create the report on the fly(they are passed as strings). one of the fields is a barcode ( I am using a free font - free 3 of 9). you can find it at ( http://www.squaregear.net/fonts/free3of9.shtml).
    at design time, when I insert the string in the report and I change the font to free 3 of 9, the barcode displays fine, including the  the * at start and stop. e.g. to see 12345 I set the string to 12345, it shows and scans fine.
    the problems appear when I pass the string to the report from the vb application. the * get deleted from the generated barcode and of course is not readable anymore. if I format the string to any other font the * are there.  the creator of free 3 of 9 explains in his site that ms word will use ** to create Bold in the text. and he explains what must be disable in MS word to make it work.
    what can I do to make it work in Crystal?
    thanks

    Hi Samhith,
    According to your description, you can render the barcode in Report Builder using bar code fonts. But it can't be rendered successfully in web page and PDF export.
    In this scenario, the reason why the barcode can't be rendered exactly in PDF/web page is because the barcode font is not responsible for the embedding process. It has reported a lot of same issue. To solve this problem, we suggest you add third party reference
    into your refer, use custom code and create function for converting text string into Bytes. Then we can render the Bytes as image. Please refer to the links below:
    Free Reporting Services Barcodes
    Barcodes for SQL Server Reporting Services (SSRS)
    How to embed
    Barcodes in your
    SSRS report
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Sapscript print barcode problem.

    hi everyone . i have troble about printing barcode using sapscript.
    now i have program sapscript program name is "ZRABARC01"
    and this program call sapscript = "ZAA_BARCODE"  (you will see  code at below of this message)
    this program work well.
    i want to create new programm "ZRABARC01_TEST"
    (i use se38 for copy program from ZRABARC01)
    and this new program will call sapscipt "ZAA_BARCODE_TEST"
    (i use se71 to copy from ZAA_BARCODE) 
    sapscript is active
    the problem is when i execute program ZRABARC01_TEST to call sapscript ZAA_BARCODE_TEST
    it's will show button print barcode
    after press button . it's will show print preview button.
    when i press print preview button .
    it's show error like this.
    error message
    There is no valid form
    Message no. AB 061
    Diagnosis
    During the printing of barcodes,
    the system could not find a valid form. Either no form was selected,
    or the form selected is not active.
    System Response
    The print procedure terminates.
    Procedure
    Use a valid form. You can either use the sample supplied by SAP,
    or modify it to your requirements. You maintain forms using the "form painter" (SE71) transaction.
    and after that i press print button again.
    there is error
    ABAP runtime errors    LOOP_WITHIN_LOOP
    what should i do to use program ZRABARC01_test call sapscript ZAA_BARCODE_test
    and i wonder why when i use program ZRABARC01_test and call sapscript
    ZAA_BARCODE  it's show same error.
    please help me.
    program code
    pa_form = 'ZAA_BARCODE'
    LOOP.
        AT FIRST.
         Formular ๖ffnen
          CALL FUNCTION 'FIAA_BARCODE_OPEN'
               EXPORTING
                    i_form = pa_form.
        ENDAT.
      Zurckholen der Struktur ANLAV.
        anlav = anlav_str.
    Insert 03/11/2004 OaK
        WRITE anlav-anln1 TO t-anln1 NO-ZERO.
        l1 = strlen( t-anln1 ).
        CASE l1.
          WHEN '1'.
            CONCATENATE '000000000000' t-anln1 INTO t-anln1.
          WHEN '2'.
            CONCATENATE '00000000000'  t-anln1 INTO t-anln1.
          WHEN '3'.
            CONCATENATE '0000000000'   t-anln1 INTO t-anln1.
          WHEN '4'.
            CONCATENATE '000000000'    t-anln1 INTO t-anln1.
          WHEN '5'.
            CONCATENATE '00000000'     t-anln1 INTO t-anln1.
          WHEN '6'.
            CONCATENATE '0000000'      t-anln1 INTO t-anln1.
          WHEN '7'.
            CONCATENATE '000000'       t-anln1 INTO t-anln1.
          WHEN '8'.
            CONCATENATE '00000'        t-anln1 INTO t-anln1.
          WHEN '9'.
            CONCATENATE '0000'         t-anln1 INTO t-anln1.
          WHEN '10'.
            CONCATENATE '000'          t-anln1 INTO t-anln1.
          WHEN '11'.
            CONCATENATE '00'           t-anln1 INTO t-anln1.
          WHEN '12'.
            CONCATENATE '0'            t-anln1 INTO t-anln1.
        ENDCASE.
    *End of insert 03/11/2004 OaK
    *Insert for Barcode printing 26/01/04
       UNPACK anlav-anln1 TO t-anln1.
        IF anlav-anln1+0(2) = '00'.
          MOVE anlav-anln21(3) TO t-anln10(3).
        ENDIF.
        APPEND t.
    *End of insert.
        CALL FUNCTION 'Z_AA_BARCODE_PRINT'
             EXPORTING
                  i_anlav = anlav
                  i_form  = pa_form
             TABLES
                  i_t     = t.
        CALL FUNCTION 'END_FORM'.
        CALL FUNCTION 'START_FORM'
             EXPORTING
                  form   = pa_form
             EXCEPTIONS
                  OTHERS = 8.
        AT LAST .
         Formular schliessen
          CALL FUNCTION 'FIAA_BARCODE_CLOSE'
               EXPORTING
                    i_form = pa_form.
        ENDAT.
      ENDLOOP.
    ENDFORM.
    Edited by: dittaporn nanasilp on Nov 17, 2009 11:55 AM

    hi,
    I am unable to read your post, check it once.
    rgds

  • Smartform barcode problem

    I have designed a smartform prints barcode. On the left hand side there is barcode window and right hand side another window that holds some text for printing. Both windows are same level ( same line horizontally) . When i try to print, barcode prints but texts which are right hand side moves other place. How can i solve this problem ?
    Sorry for my bad english .. thanks

    Hi Murat,
    I suggest to make the smartform appear in boxes. So that you can trace out the problem easily.
    make all the smartform nodes' 'Output Options' -> Lines with (under Box & Shading) ticked.
    After doing the above change in the smartform, try executing in printpreview, now you can see where the text is getting overflown.
    Hope this helps
    Rgds,
    Sripal

  • Barcode Problem when Printing

    hi,
    in development system barcode is printing on smatform sucessfully but in Qulity and Production system Text is Printing Except Barcode
    so what is the problem, is there any printer setting prolblem , if any one knows pls help me

    Hi Raj,
    If the text is printing then make sure you have included the barcode font and it is loaded onto the QA and Production systems. 
    Good luck,
    Brian

  • 2d barcode problem

    Hi All,
    Using output desinger I am added a 2 of 3 industrial type barcode to the template.Using cetral I am generated a pdf file.But when I use 2D barcode decoder its failing to recognize the barcode on the pdf.can anyone help me in this regard?

    We don't use that bar code but we also have a problem with our scanner software when reading printed PDF files. If you are using printed files you might be experiencing the same problem.
    We have determined that our problem is caused by the scaling that Reader does when producing the printed output. It will reduce the size of the "page" to fit it within what it considers to be the printable boundaries that the printer requires. The default will usually be a printed image that has an additiona 1/4 inch border on all sides when compared to a copy that was printed directly to the printer without it being a PDF first.
    This reduction results in a bar code that is smaller, the bars closer together, etc. Our scanner software will not recognize these at least 50% of the time.

  • Barcode problem on report 10g r2

    Dear all,
    I am testing on a solution provided by IDAutomation. I followed the tutorial with the following page: http://www.idautomation.com/oracle/java_barcode.html
    However, I am not able to generate the barcode. The Report Builder returned a REP-2103: Column 'CF_1' : PL/SQL formula returned invalid value or no value.
    I have the PL/SQL as below:
    /*name of temp file*/
    ImageFile VarChar2(250);
    /*object containing barcode properties*/
    BarcodeObject ORA_JAVA.JOBJECT;
    /*object that creates jpeg of barcode based on BarcodeObject*/
    BarcodeEncoderObject ORA_JAVA.JOBJECT;
    begin
    /*Get a temporary file name for the jpeg*/
    /*On Solaris Unix, use the following code to create the temp file: ImageFile := srw.create_temporary_filename() || '.jpg'; */
    imageFile := srw.create_temporary_filename();
    /*Create the barcode object*/
    BarcodeObject := Barcode.new();
    /*Set the symbology*/
    Barcode.setSymbologyID(BarcodeObject, Barcode.CODE128);
    /*set the data to encode*/
    Barcode.setDataToEncode(BarcodeObject, to_char(:ProductID));
    /*Create the jpeg*/
    BarcodeEncoderObject := BarcodeEncoder.new(BarcodeObject, 'JPEG',ImageFile);
    /*If, for some reason, the barcode is not created, return null
    otherwise, return the name of the barcode image jpeg that was
    created */
    if ORA_JAVA.IS_NULL(BarcodeEncoderObject) then
    return(NULL);
    else
    return(ImageFile);
    end if;
    Is there anything wrong with it?
    Thanks

    I did another test on the code. I replaced the
    imageFile := srw.create_temporary_filename();
    with
    imageFile := 'c:\temp\a.jpg';
    The report runs and generates a barcode. So, does it mean that my report builder is not able to generate a temporary filename?

  • Related to Barcode Problem

    Hello Gurus,
    When reading a barcode an extra digit is getting printed along with material number. is there a solution to remove this extra digit. As per our requirement we have to use C39 barcode and doing the same.
    Regards,
    Sri

    Hi
    This is a common issue with barcode printing. First if u hav an option of using other barcode then go with that. The other is like you can retrict the printing of extra digit through the Barcode reader itself. check your barcode reader and try to restrict the extra digit in that before reading the barcode.
    Thanks
    ARUN

  • Barcode 39 giving problems

    Hi Experts
    In One of my requirement I am using the barcode symbology code 39. My problem is when the user scans it. it giving extra character some times, for ex: if I print 2049998 as barcode, but when I read it thorough barcode scanner it is showing 204998E or some other thing.
    We are correctly passing the value to the variables. I would like to request you to give me a solution how to overcome from this issue.
    Thanks
    Praveen

    Hi
    Please have a look into below thread which described the solution for the same problem
    Barcode problem: scanner reading extra character at the end
    Shiva

  • I cannot remove embedded barcode from the image. Due to saving compression.

    Hi guys,
    I recreate a thread to prevent confusing on my previous one. Please only reply to this thread thanks.
    Ok, for a start I will give some general description about the application I made.
    I had some problem with the image being compressed while it is saved.
    Because saving an image will cause it to compress and had its pixel valued changed, I could not successfully remove the bardcode that is embedded inside a image(although some of the pixel value will be returned to original normally). I had placed my code below and will accept any opinion that will help me solve the removal of barcode problem.
    What my application does is actually very simple. It will take the pixel value of the area inside the image that will be embed with the barcode first, then it will take the pixel value of the barcode and use the formula (1-alpha * Image pixel value) + (alpha * barcode pixel value) = new pixel value which will contain the barcode that had been embedded inside. The formula works great but when I saved the image the pixel value will change due to compression. On the removal of barcode my application will read every pixel value from the image embedded with barcode (only the area with barcode embedded), then it will go on to read every pixel value of the barcode used for embedding and then use the formula (Embedded image pixel value - (alpha * Barcode pixel value) - (1 - alpha) = original pixel value. But due to the reason that compression will change some of the pixel inside the saved image to drop in its value, the result from the removal formula will be negative and hence caused my result image to become wierd as it will red colors instead of original color on some of its pixel. I tried saving under PNG format which people said to be lossless compression but the result is still the same.
    So I need to ask you guys for opinion or help me find the part where I actually did wrongly and caused the image pixel value to change.
    Thanks. Please proceed and read below for the codes that I used. It is messy and I will sort it out later.
    When alpha is set as 1 the barcode will appear to be overwrite onto the image. But when alpha is set as 0.1 the barcode will appear to be transparent and almost seems to be not there on the image when embedded.
    This is the code I used to retrieve image pixel when embedding:
    public static int[] getImagePixelValue(BufferedImage image, int x, int y){
              //Create an array to store image RGB value
              int[] imageRGB = new int[3];
              //Get height and width from input image
              int imageWidth = image.getWidth();
              int imageHeight = image.getHeight();
              //Get raw RGB value from image
              int imageValue = image.getRGB(x, y);
              //Convert image raw RGB value
              int imageRed = ((image.getRGB(x, y) >> 16) & 0xff);
              int imageGreen = ((image.getRGB(x, y) >> 8) & 0xff);
              int imageBlue = image.getRGB(x, y) & 0xff;
              //Input the converted RGB value into the array
              imageRGB[0] = imageRed;
              imageRGB[1] = imageGreen;
              imageRGB[2] = imageBlue;
              /*//Print out the pixel value to check
              System.out.println("Image red pixel: "+imageRGB[0]);
              System.out.println("Image green pixel: "+imageRGB[1]);
              System.out.println("Image blue pixel: "+imageRGB[2]);*/
              //Return image RGB value
              return imageRGB;
    }This is the code I used to retrieve barcode pixel for embedding:
    public static int[] getWatermarkPixelValue(BufferedImage watermark, int x, int y){
              //Create an array to store watermark RGB value
              int[] watermarkRGB = new int[3];
              //Get height and width from input watermark
              int watermarkWidth = watermark.getWidth();
              int watermarkHeight = watermark.getHeight();
              int watermarkValue = watermark.getRGB(x, y);
              //Convert watermark raw RGB value
              int watermarkRed = ((watermark.getRGB(x, y) >> 16) & 0xff);
              int watermarkGreen = ((watermark.getRGB(x, y) >> 8) & 0xff);
              int watermarkBlue = watermark.getRGB(x, y) & 0xff;
              //Input the converted RGB value into the array
              watermarkRGB[0] = watermarkRed;
              watermarkRGB[1] = watermarkGreen;
              watermarkRGB[2] = watermarkBlue;
              /*//Print out the pixel value to check
              System.out.println("Watermark red pixel: "+watermarkRGB[0]);
              System.out.println("Watermark green pixel: "+watermarkRGB[1]);
              System.out.println("Watermark blue pixel: "+watermarkRGB[2]);*/
              //Return watermark RGB value
              return watermarkRGB;
         }This is the code I used for merging the image pixel and barcode pixel to get the embedded pixel value:
    public static int[] getEmbeddedPixelValue(int[] imagePixelValue, int[] watermarkPixelValue, double alpha){
              //Create a object to hold embedded pixel value
              int[] embeddedRGBValue = new int[3];
              //Change image pixel value into double calculating equation
              double imgRedValue = (double) imagePixelValue[0];
              double imgGreenValue = (double) imagePixelValue[1];
              double imgBlueValue = (double) imagePixelValue[2];
              //Change watermark pixel value into double calculating equation
              double wmRedValue = (double) watermarkPixelValue[0];
              double wmGreenValue = (double) watermarkPixelValue[1];
              double wmBlueValue = (double) watermarkPixelValue[2];
              //Equation for embedding image and watermark together
              double embeddedRed = ((1.0 - alpha) * imgRedValue) + (alpha * wmRedValue);
              double embeddedGreen = ((1.0 - alpha) * imgGreenValue) + (alpha * wmGreenValue);
              double embeddedBlue = ((1.0 - alpha) * imgBlueValue) + (alpha * wmBlueValue);
              //Changing embedded value from double to int
              int embeddedRedValue = (int) embeddedRed;
              int embeddedGreenValue = (int) embeddedGreen;
              int embeddedBlueValue = (int) embeddedBlue;
              //input the embedded RGB value into the array
              embeddedRGBValue[0] = embeddedRedValue;
              embeddedRGBValue[1] = embeddedGreenValue;
              embeddedRGBValue[2] = embeddedBlueValue;
              //Return embedded pixel value
              return embeddedRGBValue;
         }This is the code where I used for the embedding process:
    else if(target == embedButton){
                   String xCoordinate = JOptionPane.showInputDialog(embedButton, "Enter coordinate X", "When you want to embed the watermark?", JOptionPane.QUESTION_MESSAGE);
                   String yCoordinate = JOptionPane.showInputDialog(embedButton, "Enter coordinate Y", "When you want to embed the watermark?", JOptionPane.QUESTION_MESSAGE);
                   int xValue = Integer.parseInt(xCoordinate);
                   int yValue = Integer.parseInt(yCoordinate);
                   int wCounter = 0;
                   int hCounter = 0;
                   //Create file object to be used in embedding and removing watermark
                   File inputImage = new File(imagePath);
                   File inputWatermark = new File(watermarkPath);
                   //Convert string into double for calculation of embedded pixel value
                   try {
                        alphaDouble = Double.valueOf(alphaValue).doubleValue();
                   catch (NumberFormatException nfe) {
                        System.out.println("NumberFormatException: " + nfe.getMessage());
                   try{
                        //Define selected image as testPic and make java read the file selected
                        BufferedImage image= ImageIO.read(inputImage);
                        BufferedImage watermark= ImageIO.read(inputWatermark);
                        BufferedImage testing;
                        //Get height and width value from the selected image
                        int imageWidth = image.getWidth();
                        int imageHeight = image.getHeight();
                        //Get height and width value from the selected barcode
                        int watermarkWidth = watermark.getWidth();
                        int watermarkHeight = watermark.getHeight();
                        int totalWidth = watermarkWidth + xValue;
                        int totalHeight = watermarkHeight + yValue;
                        //Use nested for loop to get RGB value from every pixel that the barcode will be embedded in the selected image
                        if(totalWidth <= imageWidth && totalHeight <= imageHeight){
                             for (int h = yValue ; h < totalHeight; h++){
                                  for (int w = xValue; w < totalWidth; w++){
                                       int[] imagePixelValue = getImagePixelValue(image, w, h);
                                       int[] watermarkPixelValue = getWatermarkPixelValue(watermark, wCounter, hCounter);
                                       int[] embeddedPixelRGBValue = getEmbeddedPixelValue(imagePixelValue, watermarkPixelValue, alphaDouble);
                                       setRed(image, w, h, embeddedPixelRGBValue[0]);
                                       setGreen(image, w, h, embeddedPixelRGBValue[1]);
                                       setBlue(image, w, h, embeddedPixelRGBValue[2]);
                                       wCounter++;
                                       if(wCounter == watermarkWidth){
                                            wCounter = 0;
                                            hCounter++;
                        else{
                             JOptionPane.showMessageDialog(embedButton, "The watermark cannot be embedded at the coordinates.");
                        tempImage = image;
                        imageIcon = new ImageIcon(tempImage);
                        labelImage.setIcon(imageIcon);
                        imagePanel.add(labelImage);
                        container.add(imagePanel, BorderLayout.CENTER);
                        setVisible(true);
                        System.out.println("Embedding completed");
                   catch(Exception errorEmbedding){
                        //If there is any error, the try and catch function will tell you the error
                        System.out.println("The following error occured: "+errorEmbedding);
              }This is the code I use to save the image that had been embedded with the barcode:
    else if(target == saveAction){
                   JFileChooser chooser = new JFileChooser();
                   FileNameExtensionFilter filter = new FileNameExtensionFilter("JPG & GIF Images", "jpg", "gif");
                   chooser.setFileFilter(filter);
                   chooser.setCurrentDirectory(new File("."));
                   int returnVal = chooser.showSaveDialog(getParent());
                   if(returnVal == JFileChooser.APPROVE_OPTION) {
                        String name = chooser.getSelectedFile().getAbsolutePath();
                        //Create a string instant to hold outputImage path name
                        String saveFile = chooser.getSelectedFile().getName()+"."+fileType;
                        //Create file output to decide what name will be used to save the file
                        File outputImage = new File(saveFile);
                        try{
                             //Save the file with the name used
                             ImageIO.write((RenderedImage) tempImage,fileType,outputImage);
                        catch(Exception errorSaving){
                             //If there is any error, the try and catch function will tell you the error
                             System.out.println("The following error occured: "+errorSaving);
                   else{
              }This is the code I used for removal process of barcode:
    else if(target == removeButton){
                   //Create file object to be used in embedding and removing watermark
                   File inputImage = new File("removalTesting.jpg");
                   //File inputWatermark = new File(watermarkPath);
                   //Used a defined barcode for testing of removing barcode from embedded image
                   File inputWatermark = new File("barcode.jpg");
                   /*//Convert string into double for calculation of embedded pixel value
                   try {
                        alphaDouble = Double.valueOf(alphaValue).doubleValue();
                   catch (NumberFormatException nfe) {
                        System.out.println("NumberFormatException: " + nfe.getMessage());
                   //Used a defined alpha value for testing of removing barcode from embedded image
                   //alphaDouble = 0.5;
                   //Create x and y value for the starting coordinates of barcode embedded in the embedded image
                   int xValue = 0;
                   int yValue = 0;
                   int wCounter = 0;
                   int hCounter = 0;
                   try{
                        //Define selected image as testPic and make java read the file selected
                        BufferedImage image= ImageIO.read(inputImage);
                        BufferedImage watermark= ImageIO.read(inputWatermark);
                        //Get height and width value from the selected image
                        int imageWidth = image.getWidth();
                        int imageHeight = image.getHeight();
                        //Get height and width value from the selected barcode
                        int watermarkWidth = watermark.getWidth();
                        int watermarkHeight = watermark.getHeight();
                        int totalWidth = watermarkWidth + xValue;
                        int totalHeight = watermarkHeight + yValue;
                        //Use nested for loop to get RGB value from every pixel that the barcode had been embedded in the embedded image
                        if(totalWidth <= imageWidth && totalHeight <= imageHeight){
                             for (int h = yValue ; h < totalHeight; h++){
                                  for (int w = xValue; w < totalWidth; w++){
                                       int[] imagePixelValue = getImagePixelValue(image, w, h);
                                       int[] watermarkPixelValue = getWatermarkPixelValue(watermark, wCounter, hCounter);
                                       int[] removedPixelRGBValue = getOriginalImagePixelValue(imagePixelValue, watermarkPixelValue, alphaDouble);
                                       setRed(image, w, h, removedPixelRGBValue[0]);
                                       setGreen(image, w, h, removedPixelRGBValue[1]);
                                       setBlue(image, w, h, removedPixelRGBValue[2]);
                                       wCounter++;
                                       if(wCounter == watermarkWidth){
                                            wCounter = 0;
                                            hCounter++;
                        tempImage = image;
                        imageIcon = new ImageIcon(tempImage);
                        labelImage.setIcon(imageIcon);
                        imagePanel.add(labelImage);
                        container.add(imagePanel, BorderLayout.CENTER);
                        setVisible(true);
                        System.out.println("Embedding completed");
                   catch(Exception errorEmbedding){
                        //If there is any error, the try and catch function will tell you the error
                        System.out.println("The following error occured: "+errorEmbedding);
              }Sorry if the codes are in a mess, I did not had the time to sort it out yet but most likely do it when I got the removal of barcode done.
    Follow this link to have a look of the result I see in my application when I got the barcode embedded into the image I selected:
    [http://img356.imageshack.us/my.php?image=beforeremovalresultmg2.jpg]
    Follow this link to have a look of the result I see in my application after I got the barcode removed:
    [http://img523.imageshack.us/my.php?image=removalresultmx4.jpg]
    As you can see from the link, after I remove the barcode from the image. Some of the pixel actually went back to normal in the barcode area when the the barcode is embedded into the image. But some pixel in the barcode area had its value changed due to compression when I save the image file I think.
    Anyone can help me find out the problem?
    Thanks.

    KamenRider wrote:
    I suspect the problem lies in the code when I save the image. Because people said that PNG was loseless compression but when I saved in PNG some of the pixel went back to normal while some did not. This is obviously the cause from changing of pixel value when I saved the image.You are almost certainly wrong. This is trivially easy to check. Print out the color of a certain pixel immediately before you save it. Open the saved PNG in your favorite image manipulation program and check the saved value of that same pixel. When you re-load the saved PNG, print out the color again. It should be unchanged.
    Thanks you for trying to help me spot the problem but the formula is correct. The alpha value i used in my application is used to set the transparency of the barcode that will be embedded in the image. Hence, when alpha = 1 the new pixel value should be the barcode value. ^^The formula isn't wrong, it's just not doing what you think it's doing. Remember that you're working with ints here, not floating point numbers, so they have finite precision. When you case from double to int, fractions are dropped. As morgalr pointed out, your formula is:
    (1-alpha * Image pixel value) + (alpha * barcode pixel value) = new pixel value You didn't show us the code for getOriginalImagePixelValue but I imagine it's:
    original pixel value = (new pixel value - alpha * barcode pixel value) / (1 - alpha)On a piece of paper, take alpha = 0.9, image pixel = 17 and barcode pixel = 100. Calculate out what you should get for new pixel value and then calculate what you should get for original pixel value. You will find they don't match.

  • Barcode printed with Adobe Reader XI cannot be recognized by barcode reader

    Dear Support,
    We are generating barcode and convert it into pdf using Crystal Report for .NET Framework 2.0.
    The pdf is opened with Adobe reader XI / FoxitReader 4.3.1. And it is printed with Avery Dennison AP 5.4 300DPI.
    When the pdf is printed with Adobe reader XI, the barcode cannot be read with barcode reader, but when it is printed with FoxitReader 4.3.1, barcode can be read with barcode reader.
    I've compared the two printed barcodes and found Adobe printed the lines thicker and the characters wider. Thus, two lines sticked together and become 1 line. As result, it cannot be recognized by barcode reader.
    Could you explain why did this occur and how can I fix it in Adobe? Are there any settings I can change to solve it?
    Thank you very much.
    Operating System: Windows Xp or Windows 7
    Application: Adobe reader XI or FoxitReader 4.3.1

    Thanks Pak,
    I've attached the pdf on:
    https://files.acrobat.com/preview/47dde05c-4835-4bdc-881f-c406f8056f01
    As the problem I've described in the post only occurs on specific printer, I've found a way to reproduce the barcode problem in most of the printer.
    From the pdf I've provided, you may print it with Adobe and Foxit, using a printing scale of 190%.
    For the Adoble one, you may observe some white lines in between the labels, and the Foxit, there are no white lines.
    I do believe that two problems are related. Do you have any idea on that?

  • Barcodes too big in Smartforms

    Hi,
    I have solved my Barcode problem in Smartforms by myself. The problem was, that I have rotated the barcode by 90 degress against the clock, but it should have been 270 against the clock.... ;o)
    My further problem is, that I can´t set the thickness of my barcode. It´s always about 13 millimetres thick.
    The first one should be 25 mm and the second only 4 mm...
    When I change the size values in se73, it´s not changing!
    Cheers Arne

    Arne-
    Try playing with the "Printer Bar Codes" in SE73.  Double click on the device driver you are using, you will see the printer controls sent to the printer to "switch" the bar-code font on and off.
    I had to create a Z-barcode to get the right rotation - like you, but then I had to change the printer commands to print in the size of barcode I wanted.  I just found another bar-code that printed with the right size, but wrong rotation.  The I coped the printer-commands to my Z-barcode.
    Hope this helps,
    Mark S.

  • Problem with Direct printing of PDF with Barcodes in R12

    Hi All,
    We are facing a problem in direct printing in EBS R12 with xml pdf reports which contains some barcode fonts. We are using fonts from IDAutomation for barcodes. Printing from request output is working fine. But when it is printed directly everything get printed other than the barcodes. Did anybody face this problem before and fixed it?
    Regards,
    Benny

    Benny,
    Output from XML Publisher comes out correctly. The barcodes are stripped off during pdftops conversion. Any idea?
    How did you verify the above?
    PASTA 3.0 Release Information (Doc ID 239196.1)
    BIP PDF Output Does Not Print MICRD Barcode Font - View Output Ok (Doc ID 747195.1)
    Thanks,
    Hussein

  • Problem with barcode print in Adobe From

    Hello All,
    We are using Adobe Forms to print our shipping labels and this as been working well for few years now. These labels include readable text and barcodes. The barcodes are 1-D but recently we now have a need to print 2-D barcodes.
    We are able to print PDF-417 as a 2-D barcode on the form, but when we try to print Datamatrix barcode, the barcode does not show and instead we just see the text which should have been encoded as 2-D barcode.
    We analyze the spool output file on the server to check the correct print controls are being sent to label printer. Our printer is a Zebra S4M using ZPLII. We send test form to our printer which will print two barcodes only (both 2-D), one is PDF-417 the other is Datamatrix. The spool output when viewed in Wordpad, is as below:
    ^XA
    PRALH0,3
    ^XZ
    CI13XA
    ^LL1219
    ^FO127,102
    ^BY3,,203
    ^B7N,,5,,,N
    FHFD1234567890
    ^FS
    ^FO127,356
    FHFD1234567890
    ^FS
    ^XZ
    The ^B7 print control is the  barcode PDF-417 control code. The Datamatrix control code ^BX is missing and should appear where there is an empty line. If we edit the spool output file and add the missing control code sequence, and then reprint the spool from SAP, then the Datamatrix 2-D barcode prints correctly.
    So for some reason, the .zpl spool output file is not being generated with the ^BX control code sequence for the datamatrix barcode. We cannot find any information on why this is so.
    We are running ECC6 SP11 (single stack) and ADS is running on a separate dual-stack BI system (NW2004s SP21).
    Our Zebra S4M printer firmware is V53.17.6Z, and printer driver is ZebraDesigner 2.6.42 (Build 2382). Our SAP device type which is assigned is AZPL203. Our ADS version is 7.00.21.0.
    We are seeing the same problem if we print test label from ECC or BI system. ECC kernel is 700 patch 266. BI kernel is 700 patch 254.
    We have found SAP Notes related to incorrect ZPL format in ^BX for NW7.1 and NW7.1 EhP1, but not for NW7.0.
    Has anyone else come across a problem like this before? Any advice would be much appreciated and duly rewarded.
    Thanks in advance
    George

    Issue is resolved.
    We updated our ADS to 7.11.5.0

Maybe you are looking for

  • HP 1012 printer with Windows 7 64-bit

    Looking for HP 1012 printer driver for Windows 7? You, like me, tried to install the HP 1012 printer onto a computer that ran Windows 7, but to no avail. You need to go to Start --> Devices and Printers -->  Add a printer --> Add a local printer -->

  • IDOC [SAP R/3 ] TO SAP XI TO HTTP ADAPTER....

    Hi Friends..., i am new dimension for this sap xi. i want  send idoc  from sap r/3 to Http Adapter throw sap xi... please give details from scratch.. i want to work on this ... thank you very much.., regards, sharath

  • Blurry text using Bitmap text (pixelfont) alternative

    I've placed a bitmap text (no anti-alias) inside a movieclip and it looks crisp and clean when exported to swf. Now I have dragged a copy of that movieclip on stage and it becomes blurry/fuzzy as soon as I export it to swf (the original is still clea

  • Strip port number from request

    We recently upgraded our network and proxy servers. After the upgrade the proxy started adding port number of the origin web server to the request. For example www.xxx.com became www.xxx.com:85 if backend web server was listening to alteon on port 85

  • I can't use Firefox 4 on my system and now I don't have a firefox that works at all and I don't want to go back to Safari! Help!

    I downloaded Firefox 4 on my pc laptop and I loved it so much I wanted to put it on my mac, but I didn't realize it would not work until I had already downloaded it and replaced the firefox I had. I want to get back to any kind of firefox because I p