Print a job from both the trays in a printer

Hi,
I am developing an application in JDK 1.4 to use the new printing APIs. Our requirement is to print a job from a printer using both the upper tray as well as the lower tray. This is because the application prints pages alternatively in both Legal and Letter format. Is it possible to accomplish this task?
Thank you.
PPM.

I think you are going to need to use the java.awt.print.Book class. This class allows you to specify a different page format for each page in the document to be printed. In the PageFormat you return for each page, you can specify the orientation, paper, etc. However, I haven't done what you are specifically asking about so I can't give you details beyond my educated guesses. :)

Similar Messages

  • I am trying to update ITunes from 10.4 to 10.5 I have tried from both the program, and from a download on Apple's website. Regardless, I get the following error messages: (1) Installation package for iTunes cannot be found. Try installing to find the inst

    I am trying to update ITunes from 10.4 to 10.5 I have tried from both the program, and from a download on Apple's website. Regardless, I get the following error messages: (1) Installation package for iTunes cannot be found. Try installing to find the installation package 'iTunes.msi' in a folder from which you can install iTunes.  I can't find this folder. I have tried to completely unistall iTunes through the Control Panel, but it wouldn't let me: I tried going directly to the files themselves, but cannot uninstall. Any help would be greatly appreciated. System OS: Win XP SP 3.

    Set the permissions for Everyone in the folder in which CCPackager created, to "Read/Write" enabled. This is strange since there is only an administrator account on the Mac (and that account already has read/write), but it seems to resolve the issue.

  • How do I get the iCloud to save and sync and upload info from both the devices on my account. Right now I can only do one

    How do I get the iCloud to save and sync and upload info from both the devices on my account. Right now I can only do one

    You must put each device on the Verizon cloud.
    Not both lines on one.
    Go and set up a my Verizon account for the second line and you will have Verizon cloud service on that line.
    Oh the term "icloud" is a trademark of Apple Inc. Verizon is not Apple.
    Good Luck

  • VFL Speaker sound from both the front speakers while FR sound is not coming out at all.

    I have a creative gigaworks s750 connected to a xtreme gamer sound card. The system was working absolutely fine but now it has started behaving very strangely; system is playing back Front Left Speaker sound from both the front speakers while Front Right sound is not coming out at all. If i click the front right speaker in audio console speaker setup wizard, no sound comes. However when i click the front left speaker, sound comes out of both speakers. I counter checked it with playing 5.1 dts movie and muting all the speakers except the front left one from ac3 filter, sound came out of both the front speakers. However when i muted all the channel except the front right, no sound was coming out of front right speaker.
    Message Edited by hussain on 06-10-2009 10:26 PM

    Just want to add another relieved reader of this thread.  I had lost the sound to my speakers even though I had sound to headphones. I was convinced it was a damaged headphone jack because I had pushed the headphone plug in harder the last evening when my wife complained that she could still hear the speakers while I listened with the headphones.  The next morning--no speaker sound.
    I spent a few hours searching the web to see how to disassemble a satellite A505 and get to the jack.  But I wasn't even sure I could get a proper replacement jack that fit, and I was concerned that small damage, say to the ribbon connectors could render the computer useless--a large price to pay for just missing audio.  
    Fortunately, I stumbled onto this thread and I recalled I had put the unit to sleep the night before--something I don't usually do, but I didn't want all the Chrome web sites to have to reload so I just put it to sleep.
    When I put it to sleep again and fired it up--Sound!  I am so glad to find this solution so I just want to let people know it remains a viable option.
    Doug

  • Every time i close my macbook and open it the airplay icon disappears from both the menu bar and itunes

    every time i close my macbook and open it the airplay icon disappears from both the menu bar and itunes or i get an error when i try to use it
    do you know why and how to solve this problem?

    Hi Colin,
    A couple of things you can try:
    Open System Preferences and click on Network. Click on the small gear icon below the list of connections and select Set Service Order. Move your AirPort connection up to the top of the list so it will be first in line when your computer searches for connections. (It's probably looking for ethernet connections first..the normal default..and finding none, it then looks for wireless. This takes time.
    Click on your AirPort connection again to highlight it and then click Advanced in the lower right of the pane. Make sure your wireless network is at the top of the list. Delete other networks that you don't need.
    Finally, make sure there is a check mark in the box next to "Remember any network this computer has joined".
    See if one of these actions will help.

  • I get redirected to unwanted web sites during searches from the browser ONLY, never from the toolbar. Is this the same malware problem as discribed for redirects from BOTH the browser and the toolbar?

    I get redirected to unwanted web sites during searches from the browser ONLY, never from the toolbar. Is this the same malware problem as discribed for redirects from BOTH the browser and the toolbar?
    == This happened ==
    Every time Firefox opened
    == was happening with Internet Explorer, continues with Firefox

    Did you do a malware check?
    Do a malware check with a few malware scan programs.
    You need to use all programs because each detects different malware.
    Make sure that you update each program to get the latest version of the database.
    http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    http://www.superantispyware.com/ - SuperAntispyware
    http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]
    (the MozillaZine KB is currently down, so you may need to try again later)

  • Why am I having troubles printing from both the Illustrator program and the PDF I save?

    I had a large Illustrator file that was made up of AutoCAD linework of an entire university campus.  The file works fine and I can do anything I please. I made a 24" x 36" artboard and scaled an area to fit nicely.  I also deleted a lot of contours and additional linework so the file size was not so large (went from about 40 mb to 6mb). 
    However, when I go to "save as" and select my artboard and save as a PDF. I open the PDF, which is 2.5mb in size, and it takes about 1 minute because of all the contours going in one by one. After I let it load, I print to my plotter as I do all the time in Adobe Acrobat X and it will bring up the window that says "Flattening" and gives "1%".  After 10 minutes it reches 2%. After patiently waiting 1 hour, something popped up saying Acrobat failed to complete task and needs to close.  Tried several times and it just wont print! I am Beyond frustrated. I even try rasterizing the PDF by opening it in Ps
    Something I note is how my computer is working...that is how it is handling its processes via the task manager.  Both times when I try to print from Illustrator and Acrobat it never makes it because it times out. My 8GB RAM desktop computer reaches max capacity in this process and devotes 6GB RAM specifically to Acrobat or Illustrator as it tries to print.
    What is the deal here?  I have "Save As"ed PDF's from Illustrator hundreds of times and sent them to our plotter from Acrobat.  Is there something going on with my Illustrator File?  I idn't think it mattered if linework was outside of the artboard when I save PDF of an artboard.  I have a lot of layers in the .Il file, but most of them are off and it is just linework, no images or effects being done.
    Any insight would be greatly appreciated.

    Agree with what Scott said. It may just look like single lines but due to how CAD programs construct the visual appearance based on drawing primitives rather than "paths" as it is understood in AI, there could be an awful lot of them in the same place even in seemingly simple drawings. I'm sure you'd see the same performance issue if you attempted to manualyl flattening the file in AI... You will have to go in there and clean it up or even better, clean it up in the CAD program and export it differently from there...
    Mylenium

  • Syndicatng from both the main tables on change in lookup main table

    Hi SDNers,
    I have 2 main tables, say Main table, Lookup Main Table.
    The requirement is, on change/addition of values in Lookup Main table, I want the record to be syndicated consisting of the fields from the lookup main table and the corrseponding fields from the Main table.
    If any one has tried this/ any work arounds, please guide.
    Thanks,
    Priti

    Hey
    This can not be done through regular syndicator, you need to use Java API/ webservice for this.
    Thanks
    Aamir

  • Can you delete images from both the Library and backup folders at the same time?

    Is there a way to delete images from the Lightroom Library module and also have it delete the corresponding file in the backup folder?

    Consider using a regular backup program, or plugin like TreeSyncPublisher which will assure backups are deleted along with sources.
    If you really want no junk in Lr's 2nd copy storage, then delete everything there (or maybe just the older stuff), after making such "true" (synchronizing) backups.
    R

  • How do I erase iphone tracking data from both the phone and my laptop?

    I recently found out about the storage of tracking data on my phone and on my computer when I sync up.
    I am running Windows 7 with the most recent version of itunes.
    I have the following questions?
    Where is this information located (directory path pls)?  I have a secure erasure program that can nuke this information with a Gutmann wipe.
    What other methods are available for secure deletion of this information from the phone and my laptop?
    Please advise.
    thanx

    Look at one of the other many, many posts about this same topic.

  • I live in Canada. How do I purchase from both the U.S. and Canadian stores

    I mean I have 1 computer, and I want music from the US store, and also apps, but I want some podcasts from the Canada store. What do I need to do?

    The issue of cross store purchasing comes up frequently so I'll just quote one of the most complete explanations (courtesy of Dave Sawyer) from the many given:
    The content owners do not allow cross-border sales from any of the legal download stores (not Apple or the proprietors of any of the other large stores..... though I believe there are a few exceptions among smaller/specialist vendors). You must therefore have legal residence in the country of the iTunes Store you wish to use. So in order to buy from another country's iTunes Store, you must (as proof of residence) have either:
    a) a credit card issued by a bank in that country with a billing address also in that country, or
    b) a mailing address for your residence in that country and a gift certificate or a prepaid card that was bought in that country.
    If you cannot fulfill one of these two sets of conditions, you will not be able to purchase from any given country's iTunes Music Store.
    This, again, is due to restrictions placed on Apple by the record companies and other rights holders (who are often completely different from country to country and so all require their own individual negotiations and contracts), not by Apple's choice.

  • GE70 2oc - low volume from both the internal and external microphone

    Hello,
    I have an MSI GE70 2OC and the following problem. The volume of the sound recorded from the internal microphone (as well as any plugged-in mic) is very low. Even when the mic is set to 100 and there is a boost of +30dB the sound quality is very poor, that is there's either a loud noise/static or a distorted sound (when the noise reduction is on).
    I have the latest audio driver installed (Realtek HD Audio, ver. 6.3.9600.16384).
    Is there a way to solve this problem?
    I'd be grateful for help!

    Hi ATASG,
    Here's the system info (the first section of the text file):
    System Information
    Serial Number:                FFFFFFFF
    Product Name:                 GE70 2OC
    OS:                           Microsoft Windows 8.1 64-bitowy
    Windows Product Key:          JQJJV
    HDI Build:                    non-OEM
    BIOS Version:                 E1757IMS.611
    BIOS Release Date:            2013/08/27
    EC Version:                   1757EMS1 Ver5.06, 07/30/2013
    CPU:                          Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz
    Memory:                       16 GB @ 800 MHz
                                   - 8192 MB, DDR3-1600, 0420 MIF4D1D167HZ1J   
                                   - 8192 MB, DDR3-1600, 0793 GR1600S364L11/8G 
    Graphics:                     Intel(R) HD Graphics 4600, 1024 MB
    Graphics:                     NVIDIA GeForce GT 750M, 2048 MB
    VBIOS Version:                80.07.a2.00.07
    Drive:                        HDD, HGST HTS721010A9E630, 931,51 GB
    Network:                      Karta Realtek RTL8723AE Wireless LAN 802.11n PCI-E NIC
    Network:                      Killer e2200 Gigabit Ethernet Controller (NDIS 6.30)
    Network:                      Urządzenie Bluetooth (sieć osobista)
    I doubt that the system recovery would help since the problem existed from the very beginning.

  • Earphones in and sound comes from both the earphones and the computer speakers

    I have a Satellite A665-S6086, part number PSAWOU-02N033, operating Windows 7, 64 bit. I used earphones for the first time recently and was disappointed that sound still came out of the computer's speakers. I thought the internal speakers would "mute" when earphones were plugged in. I read an earlier post of a similar problem and you asked is there was a Realtec Sound Manager. I do have Realtec but I find nothing labeled a "manager." Any help you can give will be appreciated.
    Solved!
    Go to Solution.

    Go to Start/Control Panel/Realtek HD Audio Manager. Look in the upper right hand corner of the Realtek window for a very small yellow folder icon.  Click on that and make sure the box there is checked that says "Enable popup dialog when device has been plugged in".
    Plug in your headphones now and a small window will open with a box labeled "Headphones". Put a check in that box, and click OK.  The audio now will be confined to your headphones.
    C.B.
    C.B.
    Toshiba Sat. C75D-B7260 Win 8.1 64 Bit--Toshiba Sat. L775D-S7132 Win 7 HP SP1 64 Bit and Win 10 PRO Technical Preview--Toshiba Sat. L305-S5921 Win Vista SP2 32 Bit

  • Sound from both Speakers and headphones at the same time

    I have a Pavilion Sleekbook 15-b003ee 
    recently i have a very annoying problem anytime i plug in a headphone on the sound comes from both the laptop speakers and the headphones 
    I tried the following 
    1- Changed the driver tried both versions on the HP support
    2- changed the headphones tried 3 of them and the same problem
    3- tried the Microsoft HD Audio driver (no sound could comeout from the headphones)
    4- tried disabling the communication device from the control panel while the speakers is on and vise versa 
    5- A system restore 
    still the same problem and i think it maybe an malfunction from the hardware or the headphones jack port on the laptop but how does the sound still come out from the headphones ?
    I thought of buying a USB headphones but the laptop is no more than 3 months old so i think i still on warranty and such if it is a hardware problem , I am currently in Egypt bought the laptop from Egypt also 

    Hello RamiAbbas,
    Take a look at this document, which provides troubleshooting steps that I hope, help resolve your issue.  You are also in warranty, and are welcome to call and speak to an HP rep to help as well.
    Since you are in Greece, look here for the number you need to call for tech support.
    Please let me know if this helps. 
    Good luck!
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • How can I create a horizontal scrollbar with a centered thumb that scrolls content from both sides?

    I am having trouble figuring out how to create a horizontal scrollbar component either by itself or nested inside a data list component that will have it's thumb centered in the track when running and reveal content from either the right or left side when the thumb is moved. The furthest I have managed to get is to create a data list component with a scrollbar component inside that has a centered thumb that reveals content from the right side of the list (0 through 10 of the items) but only reveals blank area when tracking the other way. Is there a way to create say… negative items in the data list… 0 through -10? Or am I approaching this the wrong way. Please help. Thanks.

    Mykola,
    Thanks. I guess I was hoping for an answer that addressed my question from a designer's point of view rather than a developers'. As a designer with over ten years experience using Adobe products for print work it is difficult to understand why "centered" is such a complicated concept when designing art for use on the web. It is so frustrating to realize that most containers for images and text can only be resized by pushing and pulling handles located on the right and bottom; Catalyst seems like a great start but if Adobe really wanted to impress the "design" community it might consider putting all that supercharged code underneath the hood of some more familiar "design" tools. Maybe a "catalytic converter" would allow the introduction of a "centered" tool for every element.
    After all, why is it literally twenty-five times more difficult, requiring the use of three additional programs to create a component that functions exactly like a typical data list and scroll bar with the exception that the thumb is "centered" on the track and reveals images from both the right and left. For that matter why not also have as an option a thumb that snaps to the bottom of the track and reveals images from the top… and one that snaps to the right and reveals images from the left when you run the project? It just seems so logical to expand the scroll bar component to include these options.
    I am very glad to have Catalyst and will redesign my project to fit within the constraints of the tools available in the program but it seems that if Adobe is really serious about Catalyst being a window into the world of web design for designers/AD's that perhaps it might benefit by focusing on what might improve the program from the designer's point of view. I hate to say it but the Catalyst forum is already rife with answers to questions that are riddled with code… Literally. And to be honest most designers don't have the time to decipher that code. As a designer I work regularly and have a deep understanding of Photoshop, InDesign, Illustrator, Acrobat Pro, Final Cut Pro, Final Draft and modo. I do hi-res assembly, retouching, design and layout, identity, production, 3D modeling and rendering, video editing… and before I switch to using Catalyst for web mock-ups I am going to need a more "designer" friendly set of tools and definitely a "centered" control.
    I really think Adobe is fantastic. But I also think it could take a lesson from a great little company called Luxology. I tried learning 3D modeling and rendering for years with programs like Lightwave, Maya and others, always with mixed results. Then Luxology came along and actually delivered on their promise to create a 3D program for artists. What was the factor that made all the difference? Well, besides the Apple award winning interface and sets of tools it was the training available on their sight. The program itself ships with thirty-six hours of quicktime movies. And hundreds more hours available for download. I have never yet not been able to quickly and easily find an answer to a question I had about how to accomplish something in modo. You know how long I have already spent on Adobe TV searching through videos and on the Catalyst forum searching through topics trying to get an answer to what I thought was a very simple question? Way too many. If I have a question about a Luxology product that I can't find the answer to do you know what I do? I call Brad Peebler, the President of Luxology. I'm not special nor do I work for some special development house with special privileges that is simply their policy. And that policy has paid big dividends. Both ILM and Pixar has licensed their technology.
    Well… I apologize for this long response but I really think that if Catalyst is going to attract the market it wants that it will have to consider putting some designers on the development team. After all… Isn't that what the promo videos tout… Finally a web design program for designers. Well, I guess we'll see.
    Karl

Maybe you are looking for

  • CME B-ACD on Cisco 2911 with IOS 15.2(4)M5 not working

    Hi Folks, I am currently setting up CME version 9.1 with B-ACD (app-b-acd-aa-3.0.0.2.tcl & app-b-acd-3.0.0.2.tcl), running on Cisco 2911 with IOS ver 15.2(4)M5, this is for lab purposes. Below is my CME & B-ACD configuration : voice service voip ip a

  • Auto PO from ME59

    Hi All Can we have the following document setting in auto PR to PO conversion. Means I want pr document to be converted to desired PO document type in ME59 like document type-PR    Document type-PO           ZNB-ZNB            ZNB-ZIB

  • Beginner question about CommandListener

    Hi all! I am programming my first cell phone application. Here´s my problem: I have a sequence of menus and all of them use CommandListener to figure out what should be done next. I will put part of my code public class Planilha extends MIDlet implem

  • I am unable to change the credit card billing information, is there a solution?

    I am unable to change the credit card billing info for our Creative Cloud Membership. I do not get an error, nor do I get a confirmation. I need to get this changed. Please help. David Boring [email protected] 770-648-2599

  • 10.6.2 breaks AFP mount from linux

    I have two network shares on a linux machine as I have insufficient space on my iMac - the iMac disk is 250GB, my music share with my iTunes library is 100G and my pictures share with my Aperture photos is 300G. The linux box exports the two shares u