Set specific Printer for Print Job

Hi everybody
I want to send different print job after one another. When I use PrinterJob it displays Print Dialog every time to select a specific printer if it is not default otherwise it send the print to default printer. How can I send print job to specific Printer.

Search the tutorials
http://search.java.sun.com/search/java/index.jsp?qp=&nh=10&qt=%2Bprintjob&col=javatutorials&x=38&y=8
Search the forums
http://search.java.sun.com/search/java/index.jsp?qp=&nh=10&qt=%2Bprintjob+%2Btitle%3Aprinter&col=javaforums&x=35&y=16

Similar Messages

  • When using a numbers spreadsheet, how do I select a specific area for printing?

    When using a numbers spreadsheet, how do I select a specific area for printing?

    Also this would be a question for the Numbers app fourm.  Not the iMac hardware fourm.

  • How Can I set Specific RingTone for one person and general ringtone for all?

    Hello All,
    I have a problem with ringtone. I want to set specific ringtone for manager in my 99 series ip phone. Customer needs to know when manager calls him, that is why he told me that he wants to set specific ringtone for Manager.
    Thanks a lot
    Bahlul

    Hi Bahlul,
    I don't see such a feature on CUCM where you can have a separate ringtone for a Directory number based on the calling party number. Even to have separate ringtones for different lines on the same IP phone you need to play with Distinctiveringlist.xml , but that too does not fit your requirement as it will always be the same ringtone for all the calls on that line. You may probably get this feature through some third party solution but i am not sure if it would be worth it for applying it on one phone only.
    HTH
    Manish

  • How to pass a smartforms to a local printer for printing

    I have converted my smartforms to PDF.
    I need to pass the PDF to a local printer for printing the PDF.
    How can I achieve that?
    Any tips in this issue will be of great help.
    Thanks
    Surkumar

    Hi Surkumar,
    plz go through this link
    To send the output thro
    Thanks
    Mohinder

  • Best printer for printing DVDs

    I've been an Epson user for many years. But I've always had mixed results printing on discs. Lately my printer rejects the disc about 4 out of 5 times I attempt to print. I have the stylus Photo R340.
    The Epson software & support seem VERY dated.
    So what is everyone using to print DVDs?
    Any advice would be appreciated.
    Thanks
    g

    After putting up with an Epson Stylus Photo printer for several years and dealing with lots of poorly printed and ruined DVD's using this printer. I recently purchase a Canon IP4500. Canon printers sold in the U.S. (for licensing reasons) do not (out of the box) support printing to DVD. The Canon printers sold in the U.S. ARE capable of printing to DVD's. By using Google and eBay I was able to buy an inexpensive tray for loading DVD's and inserting them into the IP4500 and find a video showing a few easy steps that reprogram the Canon IP4500 for printing to DVD using Canon's PrintCD software. This took less than 10 minutes to do and was very simple.
    I have now printed over 30 DVD's with the Canon IP4500 without a single problem. It just works, perfectly every single time! I purchased the printer from Amazon, the CD tray off of eBAy, and found the video on how to prepare the printer for printing to DVD's online using Google. I highly recomend going this route.
    Tom

  • How to set up postscript Printer for printing graphics

    We have a requirement to print Structured graphics. I found out that we need to set up a postscript printer for it. After debugging I found out that the Device Type name should be either GRAPHICS or POSTGR or ZGRAP.
    How can we set up such a printer?
    Thanks in adv.

    Hi,
    The Device Type names that you have provided are not listed in the SAP Central Note for Printers/device Types
    https://service.sap.com/sap/support/notes/8928
    However, you can again re-check this note with your printer model and check what suitable device types should be used. As you will find inthis note:
    "Device type definitions are stored completely in tables and can be individually adapted, modified or enhanced. If SAP performs such an adjustment for a customer, it constitutes a consulting service, and is generally charged seperately"
    SAP has now released the SAP Printer Vendor Program - https://service.sap.com/sap/support/notes/1130927, printer manufacturers can develop and release device types for their printers.
    https://service.sap.com/sap/support/notes/1100779 contains a list of all participants
    Information about the support for new printer models is contained in the "Printer Vendor Wizard Note" of the relevant manufacturer. A complete list of all "Printer Vendor Wizard Notes" is available in Note 1097990. If your printer model is not listed in one of these "Printer Vendor Wizard Notes", proceed as described in Note 1103826.
    - Regards, Dibya

  • Setting up sites for print

    How do I set my website up to have pages print out nice and
    neat? I only want information in my center column printed, not my
    header or side columns.
    http://www.themalibulife.com
    Thanks in advance,
    Brad

    http://www.alistapart.com/articles/goingtoprint/
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Steve" <[email protected]> wrote in message
    news:[email protected]..
    > On Mon, 11 Dec 2006 13:46:35 +0000 (UTC), "Brhaynes75"
    > <[email protected]> wrote:
    >
    >>How do I set my website up to have pages print out
    nice and neat? I only
    >>want
    >>information in my center column printed, not my
    header or side columns.
    >>
    >>
    http://www.themalibulife.com
    >
    >
    > Use a print stylesheet and set display: none for those
    > sections/elements you don't want to print.
    > --
    > Steve
    > steve at flyingtigerwebdesign dot com

  • Set specific size for JTextfield/Jbutton in BorderLayout?

    can some one tell me how to set a specific size for JTextfield/JButton in Border/BoxLayout please?
    I stried setSize, setPrefersize, setMAxsize, setMinsize, setBounds... but it won't work?
    For example. If I add a jbutton to a jpanel, which has borderlayout, it will take up ALL the space in that jpanel.
    Thanks

    Typically you use a BorderLayout for the high level layout and then add panels using other layouts to the BorderLayout. So for example on a simple dialog that is using a form that asks your for your first name and last name you would build a panel with those fields and add that panel to the center of the BorderLayout. Then you would create another panel for the "Ok" and "Cancel" buttons which would typically use a FlowLayout. Then you add that panel to the South of the BorderLayout.
    The Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html]How to Use LayoutManagers has all the information you need to know on using layout managers.

  • Using LP01 printer for printing smartforms in BSP

    Hi fellow BSPers,
    I have developped a BSP application in CRM which allows users to have a consolidated view on the data in an order.
    Also there is a button which can print a smartform of the order using the PostProcessingFramework of CRM.
    It works great but...
    For printing the user needs to use a printer which is defined in the system.
    As expected most users would like to print on the printer they defined in windows as their default printer. From SAPGUI this can be done using printer LP01 which sends the spool to the client printer deamon.
    Does anybody know how I can use this deamon via BSP?

    I hit similar requirements in the past.  You can't use LP01 because it needs the Gui Framework to communicate with the frontend of course. 
    I like the solution of converting the SmartForm (or Sapscript or Adobe Form for that matter) to PDF.  I then display the PDF out of the BSP application (there are several weblogs on different techniques for displaying PDF and Non-HTML documents - I like the ICM Cached Response and IFrame approach).  The user then can print the PDF with their local printers (or email the document, or save it, etc).  This give considerable flexibility.

  • Printer for printing directly onto dvd's

    Can anyone provide recommendations on a printer that will print directly onto dvd's and is compatible with the macbook pro? Best Buy recommended a cannon for $100 and he said it is wireless and compatible. Thoughts?

    To be a little clearer, your printer may accept the disk for printing, but the page size will still be a paper size, rather than something that says "DVD" or "CD". The documentation for your printer should tell you what the settings should be, and how to adjust the placement of the image so it is centered on the disk.

  • Setting specific timeline for user login in EBS

    Hi All,
    Is it Possible to define specific timelines for specific users or user groups in EBS? (e.g. Mr X can only log in between 08 00 hrs and 16 00 hrs and session is automatically terminated with a grace period afterwards).
    Thanks,
    Prasad

    Hi Hussein, here is the exact req.
    I need to allow a few specific users to work only during office hours like 8.00 to 6.00 etc . So i will create a form to capture these timing details in a custom table.
    When the user logs into the application outside of his allowed timing ie after 6.00 i need to check for this user in my custom table which has the timing and if he is not allowed to work then should not allow him to login. I was thinking a trigger will help me solve this any suggestions from yourside.

  • Unable to specify printer for print jobs in Java7 for OSX

    Hi, I'm developing a simple software that would monitor a folder for new documents and print them automatically. Monitoring the folder was the easy part with WatchService in Java7, but I'm running into problems with printing. Namely, I'm using java.awt.print.PrinterJob to print the document, but the print job is always sent to the default printer, instead of the printer that was specified.
    PrinterJob pPrinterJob = PrinterJob.getPrinterJob();
    PrintService[] psArr = PrinterJob.lookupPrintServices();
    for (PrintService ps : psArr) {
    if (ps.getName().equalsIgnoreCase(specifiedPrinterName)) {
    pPrinterJob.setPrintService(ps);
    break;
    PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet();
    //specify print attributes....
    pPrinterJob.print(pras);
    The code looks simple enough, and calling getPrinterService() returns the intended printer after specifying it using setPrinterService(). However, regardless of the printer specified, the print job is still sent to the default printer. Tried on both Java 7 Update 4 and Update 6 for OSX with the same result.
    Update: Got my hands on a Win XP machine and tried out the same piece of code using Java 7 Update 6 for Windows. Guess what, the print job was sent to the specified printer! I'm pretty sure this is an OSX specific issue now. Has anyone come across this issue previously?

    Hi,
    I have the exact same problem on OS X 10.8.2 with Java 1.7.0 Update 21.
    When I call PrintServiceLookup.lookupPrintServices(null, null) I get three distinct printers, but no matter which of the three I specify, the print job is sent to the default printer.
    The code works as expected when tested on Windows and Linux machines.
    Any help is appreciated!

  • Set a password for printer

    Hello
    I want if it's possible to set a password to a printer connected to an airport extreme (last model). If it is, how can i do it ?
    I want only people who know the password to be able to use the printer (samsung ML-2010). All macs on network running leopard.
    Thanks for you help

    You can not set up password-restricted access to a printer connected to the Airport Express. The printer is available to everyone able to connect to the network which the Airport Express is connected to.

  • Color Setting in CS4 for printing to Epson R2400 in the UK ?

    Hi all. I'm a newbie to CS4 and have been having trouble deciding on which color settings to use with which printer profle/standard.  I have an Epson Stylus R2400 printer and I'm not sure what the color settings should be to print on Epson Premium Glossy in the UK. All the info /videos i have seen refer to North America and I'm unsure if I should be using these settings or Europe Prepress 2.  I have currently set the printer profile to Adobe RGB (1998), but have the option to choose SPR2400 Premium Glossy profile with Matt, Fine Art(which I downloaded from Epson .com and I believe to be a US profile and I'm not sure if this is the right one to be using in the UK )and others. Can anyone advise me please!
    Regards Denis

    europe pretends to be printing more saturated C and M inks
    (most of the times it doesn't)
    and it shouldn't matter anyway
    a well color managed workflow is meant to reproduce pictures as accurately as the individual devices permit, regardless of gamut
    use the Epson profile for your paper
    or [better], make your own with an EyeOne Pro or a color Munki

  • Setting the Font for print

    I recently purchased an HP Deskjet D2500 Printer and it works great with one exception.  the Font size is very small.  when I go to Ancestry.com and print an early census page the entire page I am printing only covers 1/3 to 1/2 or the printing paper. and the print is so small as to be unreadable.  Question, could someone please tell me how to set my print font on this Printer?   Thank you for any help on this matter.  I am 72 years old so could you please simplify it as much as possible.

    I am using LineBreakMeasurer to get a TextLayout via
    foo.nextLayout(bar). Now i have the problem to make
    the Font display correctly.If you look at the API docs for LineBreakMeasurer there is an example that shows its use. If you have an AttributedCharacterIterator that has attributes of Font, then it works like magic.
    Perhaps your question is how to get the Font attribute into an AttributedCharacterIterator? What I did was use AttributedString and can add an attribute of TextAttribute.FONT.
    This is a very confusing area to me and I do not consider that I am an expert. I made it work, but that's all I will claim.

Maybe you are looking for