BarCode not printed out

Hi,
I tried the following piece of codes (PrintingExample from Barbecue), but got a blank paper printed out. What is my problem?
import java.awt.print.*;
import net.sourceforge.barbecue.*;
* Print a barcode using Java's print API
* @author Sean C. Sullivan
public class PrintingExample
     public static void main(String[] args)
          try
               Barcode b = BarcodeFactory.createCode128("1234456");
               PrinterJob job = PrinterJob.getPrinterJob();
               job.setPrintable(b);
               if (job.printDialog())
                    job.print();
          catch (Exception e)
               e.printStackTrace();
Any help would be much appreciated. Thanks.
Antoni

Hi,
Check this threads:
bar code in Smartforms
how ro make an Code Bar in Smartforms
thanks & regards
Kishore M

Similar Messages

  • OS Windows Vista Ultimate - HP LAser Jet 1000 - Firefox will not print out internet page etc...

    OS Windows Vista Ultimate - HP Laser Jet 1000 - Firefox will not print out internet page etc...
    That simple, find an page you want to print, hit the print button and zero zip zlich.
    Works just fine with IE?????

    See this: <br />
    http://kb.mozillazine.org/Problems_printing_web_pages

  • Scanned documents do not print out correctly on forms.

    I scanned a pdf file to my computer.  I opened the pdf file on my computer using Adobe Reader.  I printed the file using my printer.  The pdf file did not print out correctly.  The printed text was out of alignment with the form I was printing on.  The printer/scanner manufacturer troubleshot the problem and determined it is not a hardware issue, but an Adobe Reader software issue.  Please help.  Thank you.

    Yes, the scanned PDF size is the same as the paper size in my printer.  Everything worked fine for the past year.  The only thing I had changed was I purchased a new wireless HP printer/scanner.  Before, I was using an USB cable.  While troubleshooting my issues, I have somehow caused Adobe Reader X to quit working.  I cannot open any PDF files.  I get a message about system configuration is not compatiable.

  • PDF files that do not print out on paper but are OK on screen

    Print PDF files when produced in ADOBE XI from  Excel 2010 worksheets
    The PDF files appear ok on the screen but do not print out all of the text on paper.
    Formating is recognised and printed oK but not text.
    Font segoe UI size 9 point - colours used default, blue and brown.  What little that is printed shows all colours OK but not all body of text
    This problem has been reported to me from dozens of my Clients and I have the same problem when printing hardcopy.
    Can anybody help ?

    I tried a font change on an abstracted part of the original file.  I selected Ariel - the majority of the page printed - headers and footers partialy printed.  But it is a step forward thank you. 
    My choice of Font Segoe UI (True type) font as a default was after reading an article which stated that Segoe and another font, were fast becoming a "Microsoft computer standard font". 
    A further question falls out of my problem is why is there no problem when a client of mine converted the original Excel Workbook with Adobe 9 and had no such problem ?.
    I do not have ADOBE 9 and cannot test it myself - but why should it work with an older version of ADOBE ?

  • Can not print out good quality pictures in Photoshop CS4...

    Hi,
    I can not print out good quality photos from my printer. Photos are dark and colors are not good either. I have Windows XP, Photoshop CS4 and printer Epson R800 . I have been trying to find out what are the right settings on the computer, printer and in the software and spent hours on the computer not able to sort out this.
    Many thanks before hand,
    Anna

    Same answer as on a million otehr such thereads: Read up on color management, reset your monitor settings and profile, reset your printer settings and profile, calibrate.
    Mylenium

  • CR10 Exported MS word doc file not print out

    My application (CR10, VB6, Oracle10.2) exports MS word doc file to disk, But when I try to print out, not print out at some printer and print out legal size (8.5x14) at some printer. It set up as Letter (8.5x11) I think in CR, page footer is wrong place. How I can change page footer location to move up in the report?
    one more thing...
    When I try to open this MS doc file, always prompt pop up and ask "You want to convert to RTF?" I don't understand.
    Thank you.

    Sachiko,
    You might want to try exporting to MS Word from within the Crystal Reports Deisgner and see if you get the same behaviour. If it appears correctly from the Designer then it would suggest an issue with the coding in your application and the issue would be better answered in the BO SDK Application Development forums.
    I think the footer is in the wrong place due to the incorrect paper size and don't believe that any formatting of the report itself will correct it.

  • How do I make the answer boxes not print out solid black?

    Does anyone know how to change the settings on the Form so that the boxes do not print out solid black?

    Hello Paci,
    How exactly did you create the form? And is the signed document received through EchoSign showing the boxes as black in PDF itself or are they shown when you take the print out of it?
    Regards,
    -Rijul

  • System.out.println does not print out anything

    I'm wonder why the dos mode does not print out the System.out.println.
    My code has:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class test extends HttpServlet {
       public void doGet(HttpServletRequest request,
       HttpServletResponse response) throws IOException,
       ServletException {
          System.out.println("Hello");
    The compilation is ok... but it does not display anything... how come?

    "System.out.print()" prints to the log file of the tomcat server. in order to print on the screen use JspWriter.
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class test extends HttpServlet {
    public void doGet(HttpServletRequest request,
    HttpServletResponse response) throws IOException,
    ServletException {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    out.println("Hello");
    //System.out.println("Hello");
    Hope this helps!

  • Installed a new black ink printer cartridge in hp office jet 6500 e709n and it is not printing out

    installed a new black ink printer cartridge in hp office jet 6500 e709n  and it is not printing out anything with Black ink. I ran all the diagnostic tests including cleaning the cartridges, cartridge alignment, shut off the printer unplugged it, restarted, shut down computer retarted. All the other colors work except for the black cartridge. I checked the vent on cartridge and it is they way it should be. How can I print with Black Ink? very upset!!!! Have got to get something printed ASAP

    I've got the same with a new black ink cartridge. The display keeps alerting that you have to renew the ink. Tha's oke but the printer does not print black/White.
    Do i have to replace the collor ink also at the same time?
    Does it mean that if you replace black and not the color that it's NOT possible to print b/w?

  • I am having trouble printing I have a connection to my printer wirelessly but does not print out the correct page I want.When I do print I get a bunch of pages more than is needed and also get a code and symbols please help I am jammed at work

    I am having trouble printing I have a connection to my printer wirelessly but does not print out the correct page I want.When I do print I get a bunch of pages more than is needed and also get a code and symbols please help I am jammed at work

    This can be the result of selecting the wrong driver. An older, unsupported laser printer will sometimes work with the generic Postscript driver.

  • Laserjet P1005 used with Windows 7 home premium does not print out envelopes

    Laserjet P1005 used with Windows7 home premium does not print out envelops generated with Microsoft Word.The printer does envelops when used with Windows2000 Professionel or MP.Any help would be appreciated!Otto  

    Is that a HP driver or Windows driver for Windows 7? http://support.hp.com/us-en/drivers/selfservice/HP-LaserJet-P1000-Printer-series/3435674/model/3435675#Z7_3054ICK0KGTE30AQO5O3KA30R1 Is this the version you installed?

  • ZEBRA - customize BARCODE not Printing

    HI All,
    I have created a label using Bar-One, everything works and prints out fine using the Zebra printer, however I've added a barcode in my label and it doesn't printout at all.
    This barcode is uses Code 128 and passes in Material Number from the print program I've created.
    I've also tried added a fixed barcode to print, and this time it prints out.
    Is there anything i missed out when i need the barcode to be printing using a customized identifier that passes value from my print program?
    Please help
    Thanks in advance.
    CW

    Hi Rich,
    I am not sure which part of the code that prints the barcode because its encripted code from Bar-One.
    but it goes:
    NEW-PAGE
    ^XFKPM_DE-2.ZPL
    FN999FD&ZD_BARCODE&^FS
    FN998FD&ZD_BRGEW&^FS
    which &ZD_BARCODE& is the material number to pass in for the barcode.
    If its not the right place to search please tell me what code i am suppose to provide you.
    Thanks
    Lim

  • New Ink Cartridge but can not print out/copy any document.

    I have HP Printer Deskjet 1050. I've just bought 1 x Original HP Ink Cartridge Colour Black No.61 that can be used as well for my HP Deskjet 1050 (because I could't get No.802 Black Cartridge). I have pulled out the empty one and pushed the new one in until I heard snap sound (I've followed as what is in the instruction poster). Before my old Ink was empty, I was able to print either black or colour. Now, after I've got new one pushed in, I couldn't print nothing, even the alignment page doesn't automatically print out after all cartridges are pushed in and cartridge door was closed. My Black Ink warning light is blinking all the time. I can scan to my computer/laptop but can not print it out or make copy from the printer. This printer is not compatible for my laptop with OS Windows 8.1 (64-bit), but I was able to use my printer for printing thru my laptop by using HP AiO Printer Remote. Please help?

    Hi @KroebY, 
    Welcome to the HP support Forums! I see you have replaced the black cartridge on your HP Deskjet 1010, but it is not registering the new cartridge. You are unable to copy or print, you can make a scan. I notice you said your DJ 1010 was not compatible with the Windows 8.1 Operating system, there are full feature software and drivers available for your printer.
    Let's start troubleshooting the print quality issues: Printer Prints a Blank Page or Does Not Print Black or Color Ink for the HP Deskjet Ink Advantage an...
    Does this help, are you now able to print and make a copy? If yes, continue below:
    Now, the software:
    1. Unplug the USB if using a direct connection.
    2. Remove the HP DJ 1010 software from your computers Control Panel's Uninstall a program option.
    3. Restart the computer.
    4. Make sure all the DJ 1010 software is gone from the programs list as well as your HP folder listed under the All programs in your Start Menu.
    5. Now go ahead and download the software and drivers for your DJ 1010 (DO NOT plug in USB until the software prompts you to):
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=dj-117518-4&cc=us&dlc=en&lc=en...
    6. Go ahead and print a test page.
    7. If you are unable to print a test page, please run the HP Print and Scan Doctor- It was designed by HP to provide users with the troubleshooting and problem solving features needed to resolve many common problems experienced with HP print and scan products connected to Windows-based computers.
    Please let me know if you are not able to print, and if the installation was successful.  I will watch for your reply.
    Thank you,
    HevnLgh
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • GR Note Print out not comming through MB90

    Dear Friends ,
    We are not able to take print through MB90 , for the Goods Receipt note -3 (Collective Print Out )  .
    Kindly guide me what corrections /changes I need to do.
    Thanks
    DGN

    HI,
    1. Maintain the Printer Name in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Printer Setting
    2. Ensure that in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Item Print Indicator, 1 stands for Matl Doc print out
    3. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Print Version, maintain Print Version 2
    4. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Maintain Print Indicator for GI/Transfer Posting Documents
    5. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Maintain Output Types, for the Output types WA01,WA02,WA03,WE01, WE02 and WE03, ensure the foll:
    a. Default Values: Dispatch Time is 3 or 4 as per reqmt. and Tr medium is 1
    b. Print Parameter is 7
    6. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Printer Det->Pr Det by Pl/StoLoc, maintain the Output device for all your Plants
    7. Go to MN21, for Tr Type WE, Print Version 3, maintain Print Item as 1.
    Now the settings are ready for Printing Material doc
    8. While doing MIGO, ensure that in General Tab, you get "3 Collective Slip" beside the Print Indicator and you tick mark the field.
    9. Now depending on the setting in 5a, the Matl doc is printed. If it is 3, you have to print it using MB90. If it is 4, it is printed immediately
    Regards,
    KK

  • PDF file will not print out Special Characters

    I am currently a technician for a college and, and the customer that I am attending currently has the following Problem:
    I am using Adobe PRO 9 to convert my Word files to pdfs for [a New York Printing Company].... The Greek letters used in Word are seen in Word, are seen in PDF, but do not come out in ...[the New York Printing Companies'] printing.
    What could be the stubling block for the NY printing company to not be able to print out the Special Characters in the PDF files? I clearly cannot go to the company myself and tell them to change their printer settings or something like that.

    Thank you, I have checked the font and I see all the fonts I need already installed. I am not sure if this will solve the problem, and there is a chance that the Adobe Acrobat settings on my customers PC need to be adjusted like you said.
    At least I can start looking somewhere .

Maybe you are looking for