Does Java support dos based printing

Hi,
I want to print certain bills in a preprinted format. Can I develop an application in Java which allows me to place fields in any position on a paper and print the same in dos mode printing or fast printing unlike windows which is very slow in printing.
The printing is going to be made in Dot matrix printing
Thanking you,
regards,
Arun
[email protected]

Welcome to this forum. Check out the "search" window in the upper right side of this page. It will allow you to search this forum and answer your own question. A quick search of print DOS gave these results:
http://forum.java.sun.com/thread.jspa?forumID=256&threadID=353823
http://forum.java.sun.com/thread.jspa?forumID=54&threadID=745849
On viewing these, your best bet is to probably output your results to a text file, then using Runtime.getRuntime().exec() call DOS's print command on your file just created.
Good luck
/Pete
Message was edited by:
petes1234

Similar Messages

  • Does DII support document based web service?

    Hi,
    I am writing a web service cleint DII, the web service is document based. I followed the sample in
    https://bpcatalog.dev.java.net/nonav/soa/standalone-client/
    Everything seems correct. When I call call.invoke, I got an exception saying "operation style: \"document\" not supported".
    Here is the code fragment, can anyone tell me what's wrong or does DII support document based service?
    Thanks a lot!
    Y. Zhao
    try {
    ServiceFactory factory = ServiceFactory.newInstance();
    service = factory.createService(new QName(EXTRACTURLSERVICE));
    port = new QName(EXTRACTURLPORT);
    } catch (Exception se) {
    // throw new Exception("Can not create stock service: " + se.getMessage());
    _endPointAddr = "http://www.atomic-x.com/xmlservices/HyperlinkExtractor.asmx";
    _qnameNamespaceURI = new QName("ExtractUrl");
    requestQname = new QName(NAMESPACE_URI, "ExtractUrl");
    responseQname = new QName(NAMESPACE_URI, "ExtractUrlResponse");
    Call call = null;
         try {
    call = service.createCall(port);
    call.setTargetEndpointAddress(_endPointAddr);
    call.setProperty(Call.SOAPACTION_USE_PROPERTY,
    Boolean.TRUE);
    call.setProperty(Call.SOAPACTION_URI_PROPERTY, "http://www.atomic-x.com/xmlservices/HyperlinkExtractor/ExtractUrl");
    call.setProperty("javax.xml.rpc.encodingstyle.namespace.uri", "");
    call.setProperty(Call.OPERATION_STYLE_PROPERTY, "document");
    call.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY, "literal");
    call.addParameter("parameters", requestQname, ExtractUrl.class, ParameterMode.IN);
    call.setReturnType(responseQname, ExtractUrlResponse.class);
    result = (ExtractUrlResponse)call.invoke((Object[])params);
         } catch (Exception ex) {
    //throw new ServiceException("Can not get service: " + ex.getMessage());
    String msg = ex.getMessage();
    ex.printStackTrace();
         }

    There shouldn't be any restriction on the type of payload that's specific to DII.
    I did come across a similar message, but I found the cause back in the WSDL rather than the client code. Have a look at the WSDL and see if it mentions "RPC" meaning the web service is making available a remote procedure call interface.

  • Validate form entries: does java support regular expressions?

    i want to validate form entries, does java support regular express like javascript?

    Just recently in 1.4 regex was finally introduced :)
    Take a look at http://developer.java.sun.com/developer/technicalArticles/releases/1.4regex/

  • How does java support the concept of destructor?

    How does java support the concept of destructor?

    @KunalSurana: before you flood the forum with basic questions, do us a favour and read.
    [Sun's basic Java tutorial|http://java.sun.com/docs/books/tutorial/]
    [Sun's New To Java Center|http://java.sun.com/learning/new2java/index.html]
    Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    jGuru
    A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch
    To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    [Yawmarks List|http://forums.devshed.com/java-help-9/resources-for-learning-java-249225.html]
    [The Java Developers Almanac|http://www.amazon.com/exec/obidos/tg/detail/-/0201752808?v=glance]
    [http://javaalmanac.com|http://javaalmanac.com]
    Bruce Eckel's [Thinking in Java(Available online.)|http://mindview.net/Books/DownloadSites]
    Joshua Bloch's [Effective Java|http://www.amazon.co.uk/exec/obidos/Author=Bloch,%20Josh]
    Bert Bates and Kathy Sierra's [Head First Java|http://www.amazon.com/exec/obidos/tg/detail/-/0596004656?v=glance ]
    James Gosling's [The Java Programming Language|http://www.bookpool.com/sm/0321349806]
    Gosling is the creator of Java. It doesn't get much more authoritative than this.
    Joshua Bloch and Neal Gafter [Java Puzzlers.|http://www.javapuzzlers.com/]

  • Siri keeps telling me "your calendar does not support location-based reminders" when I ask her to remind me to feed the cat when I get home. My address is in contacts and it has worked previously. Did iOS 8 change something?

    calendar does not support location-based reminders....
    i Just found a similar question below and it resolved my issue. Turn off the sync to exchange email and all works fine now.

    Couldn't agree more.  I've been *trying* to use location reminders ever since buying my iPhone 4S but as yet, out of many, many attempts they've only actually worked once.
    The kid problem is very simple, the way the phone needs the location to be an address in your address book, and it's subsequent inability to correctly locate the address. My home address is a correct postal address, and has been unchanged for 40+ years, yet clicking on my address from my own contact entry puts my location some distance down my street.
    Whilst I understand the issue with the address lookup, it seems to be a massive problem with the location based reminders as it's just not possible to set useful reminders.
    What if I want to remind myself of something when I arrive at the car park on a shopping trip?  There is no address for that in my contacts, I just want to pinpoint the location on the maps and say 'remind me when I get there'.  Surely that's the simplest my far.  Same with address book contacts, if you had a field with the gps position in then one could tag the locations and know they were 100% accurate for location services.
    Such a shame as it's one of the key reasons I upgraded my phone and as it stands it just plain doesn't work.

  • Does Java support Arabic?

    Hi,
    I am in the process of establishing a financial web application. The application needs to be bilingual, i.e English and Arabic. My Question is: Does Java support Arabic? and which DB can i use with it to facilitate my need?
    Thanks,
    Maha

    I18N web application is an application that can deliver the content according to the locale of the browser.We can build these applications easily by using the tags available as part of JSTL's.
    Check whether Arabic language is supported by java or not.
    request.getLocale() returns java.util.locale object.
    This object contains the details of language code & country code.
    Try out
    Kalpana

  • Does Java Support Signing

    Hello All:
    I want to develop a application which would sign the file that need to be passed through unsecure channel.
    Does Java support the same.
    Regards
    Ritesh

    Dear Sir:
    Thanks for the mail.Well last time I did send you a source code of the Encryption/Decryption of a text file.I want to store the file type of the file in a appropriate way instead of using Encrypting the extension.
    And after the encryption ,I want to modify the application to have the content of the complete file to signed.I would request you to advice me whether the complete file content is signed or just the generated key for encryption.
    Let me hear from you.
    regards
    Ritesh

  • Does pages support phantom background printing?

    Does pages support phantom background printing?

    Hi Joe,
    Insert your picture (Insert > Choose, or Edit > Paste, or just drag it into your document. While selected, open Inspector > Wrap and use these settings:
    To make the pic faint use Inspector > Graphic > Opacity.
    Move the pic to where you want it, then turn off Background objects are selectable.
    Now you can type or Paste the poem text over it. I don't have a flower pic, but here is a frill-neck lizard that visited my yard:
    Regards,
    Ian.

  • Does Java support Digital UNIX?

    Is there a port of the Java SDK to Digital UNIX 4.0? I haven't been able to find the binaries anywhere on Sun's site. Does Sun's 'platform independant' offering only support Solaris, Linux, and Windows??

    Yes, that's correct. But Sun is not the only one writing SDKs. There are Java implementations for several other systems made by other organizations (such as IBM). And 30 seconds with http://www.google.com led me to this link:
    http://www.tru64unix.compaq.com/docs/base_doc/DOCUMENTATION/V40D_HTML/SUPPDOCS/JAVAPAGE.HTM

  • How does java support the doc files

    Hai all,
    I am doing a project where the back up word files are to be displayed on the browser . If it is a text file we can give it as a input stream and if it is a image , it will take it as a .jpg . Then how the .doc can be inputed(I want the MS-word files to be inputed) .
    If u have a solution please mail it to
    E-mail ID : [email protected]

    I am bit confused about ur requirement.
    U cannot open a file thr' ur applet which runs in a browser. Do do so, u may have to modify the java policy file or use signed applet. These two links may be of some help for u.
    http://developer.java.sun.com/developer/onlineTraining/Programming/BasicJava1/data.html#applet
    http://java.sun.com/docs/books/tutorial/security1.2/tour1/step2.html
    But I have written a mail long back to ur email with regard to Java Securiy. plz read it. If u need more abt it, get back to me.

  • Does OpenESB support "Content-based Routing"?

    Hi,
    support OpenESB the "Content-based-Routing"? e.g is there JXPath SE or Groovy SE or any service engine for this issue? if yes which is please?
    thanks in advance
    Younes

    There's an Apache Camel service engine, and Camel's rather neat when it comes to routing
    edit: groan :-( I just noticed the date on this post
    Edited by: georgemc on Jul 7, 2010 1:59 PM

  • 10.8.3 does not support the Epson Printer Utility.  Now no way to clean or align the heads on my workhorse R2400 printer?

    The Epson Printer Utility 4 still resides in the /HD/Library/Printers/EPSON/inkjetPrinter 2/Utility/UT4 folder but crashes the iMac when run.  I've also lost ability to use the Firewire connection like many others.  Frustrating.  Without being able to align and clean the heads on this printer, it's practically useless.  I have a couple hundred wedding photos to print.  What do I do now?  Rhetorical question ....

    Customers have moved to the Mac platform because they "believed" it's better than Windows. I moved there for this same reason more than five years ago.  Prior to Mountain Lion, I agree MacOS was stable and I could download every update that "pops up as available" in "There's a new update for MacOS" and I would download it without checking the particulars of what was updated.  I trust them, it's Apple.  Everyone would likely chose the same option.
    How many times do you, or anyone else, read all the detail about what gets changed when you download this update and mentally make a decison rather or not to download it?   Most people have no clue what this update changes, like me, and are going to download it because I trust "it" because it came from Apple. I don't want to find out later, and I may not notice this problem until a long time later, that something that used to work doesn't work now.  Is that my shortcoming or is it Apple's problem?
    So what should customers do?  After every update, check to make sure that everything works that used to work?  Impracticle.  I have dozens of apps on my Mac. After every update am I supposed to check that eah one still works?
    I won't go back and install a previous version from the TM and rebuild my Mac.  If Apple dosn't like previously intalled software, like the drivers for my Epson printer, they need to tell me upfront IN BIG BOLD LETTERS without me having to read all the fine print.  They also need to tell me that because THEY CAN'T DEAL WITH MY EPSON PRINTER any longer and I shouldn't download this update and any further updates for MacOS into the future because they have coersed Epson into only allowing Apple to update the drivers for this printer.  What am I supposed to do in the future?  I'm stuck with this old version of MacOS forever?
    You and I both know this won't work.  Apple has to provide support for my Epson R2400 printer and every other device that doesn't work under 10.8.3.  Otherwise they will lose in the end.  Simple as that.  They need to provide support for the devices that people use whatever they are, or suffer the consequences.
    Apple's successes have made them too "cocky" lately.  Microsoft was there at one time.  Maybe Mircosoft will climb back to the mountain top and Apple won't realize it until it's too late.
    Like I said in earlier posts, "Apple needs to fix this problem."  I have no loyalty to anyone except myself and family.

  • Does Java support mutliple sql statements in one call?

    statment.executeUpdate("DROP DATABASE IF EXISTS diy55;CREATE DATABASE IF NOT EXISTS diy55 DEFAULT CHARACTER SET utf8;GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER,INDEX,USAGE on diy55.* TO 'diy55'@'localhost' identified by 'diy55';FLUSH PRIVILEGES;");Java seemes doesn't support multiple sql statements in one call, just like PHP mysql_query(), is it?

    Then just extend the java.sql.Statement to your own Statement class and write logic which splits the given query at the right places and executes them one by one.
    That the mysql_query() already has it built-in wouldn't say that it isn't possible in Java. Comparing with PHP is a bit pointless, it is a completely different language.

  • Does java support Flash files?

    I wanted to use Flash to display some animation in my application, but I'm not sure if Java will support it. Anyone know where I can find info on this subject?

    You can't use Flash in AWT or Swing, if that was what "support" meant in that question. Flash is only a browser plug-in as far as I know.

  • New to Java from Dos Based

    Hi Javaites,
    Pls tell me how can i start Java. I am totally new to Windows based lanaguages/tools. Is it necessary that i first need to learn C++.
    Regards,
    Husain

    Start out over here:
    http://java.sun.com/learning/tutorial/index.html
    Sun has a lot of free info to get you started. You can also get an IDE for free over here:
    http://www.netbeans.org/
    it even comes bundled with Sun's JDK.
    Or you can get the JDK seperately at:
    http://java.sun.com/j2se/1.5.0/download.jsp
    Once you have the JDK setup and are in a tutorial, you can just use your favorite text editor to write the .java file or you can use the IDE.

Maybe you are looking for

  • I have a program named facemoods that has taken over my search and comes up on its own, can I get rid of it?

    When I open Firefox it opens normally then a program named Facemoods Search inserts its self infront of Mozilla Firefox. Then it takes over the search bar. Can Facemoods be removed ?

  • Word Processor for Ibook Clamshell G3

    Is there a word processor I can use with my Ibook Clamshell. It could be freeware or basic. I need it for memos, notes, letters and plan to write a book. Any suggestions would be greatly appreciated.

  • Best piece of advice for "New to COLOR"...

    Sort of like a position statement: I have been monitoring this forum since it started, having used FT for a bit more than a year now... and having been a dedicated daVinci/telecine colorist for 13 years...and an on-line editor for nearly 20 years bef

  • CS3 is making my m2t files audio go out of sync upon import

    I am using a Matrox Axio LE running Premiere Pro CS3. I'm using a Focus enhancements DR-HD100 to record in 720p 59.94 in m2t file format. After importing the clips into CS3 the video and audio is sometimes out of sync by 7-12 frames. It seems to happ

  • Print from Lightroom is not rectangular

    After 3 years of using I have discovered that my Epson Stylus Pro 3800 printer does not print exact rectangles.  Epson helpdesk say "this will be an issue with the settings within Lightroom and Photoshop" and that I should contact Adobe !!! This is w