Getting paper sizes list of currently installed printer

plz help me out i have to fetch the paper sizes supported for currently installed printer ,may it will be possible throw MediaSize class ?
ASAP
Thanks

Hi!
Try these links.
http://download.java.net/jdk6/docs/technotes/guides/jps/index.html
http://download.java.net/jdk6/docs/api/javax/print/package-summary.html
http://download.java.net/jdk6/docs/api/javax/print/attribute/package-summary.html
Read this PDF file
http://java.sun.com/j2se/1.4.2/pdf/JPS_PDF.pdf
I hope this helps you.

Similar Messages

  • I cannot select the Paper Size when I try to print with HP Photosmart B110a with Windows 8.1 64bit

    I cannot select the Paper Size when I try to print with HP Photosmart B110a
    The same printer was working OK with my old PC with OS Windows 7
    However I got a new PC with OS Windows 8.1 64bit
    I installed the new driver for HP Photosmart B110a that I dowloaded from HP site. Driver forWindows 8.1 64bit.
    In addition to not being able to chose the paper size, also when I go to Printer Properties in Options, all the characters are non-ascii.
    Do you know what may be the problem?
    Thank you

    Hello Nanu64,
    Welcome to the HP Forums.
    I see that you are having some issues when attempting to print from your computer.
    I also see that you stated that not all the options are available in the printing preferences options.  This could be because the installation was not complete or it failed.
    I suggest that we do a complete uninstall/ reinstall as well as some additional steps.
    First off, please make sure that you have the printer power cable connected directly to a wall outlet and not a power bar/strip. Here is a document that uses a LaserJet printer as an example but it is meant for HP products in general. Please click on the following link that explains the Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector.
    If you have the printer connected to the computer with a usb cable, please remove the cable from both ends and leave it disconnected until further notice.
    The next link that I have for you will give you detailed instructions for Uninstalling the Printer Software.  Once the uninstall is complete, reboot the computer so that the changes take affect.
    When the computer is back up and running, please disable any firewalls or anti virus protection you may have running. We don't want anything getting in the way of the reinstall.
    The following download is the HP Photosmart Full Feature Software and Drivers.  Save this download to the desktop of the computer so that it creates its own icon.  This will make it easy for us to find when the download is complete.
    Double click the new icon and follow the installation instructions.  The installation will give you connection options (Wireless , usb or Ethernet), if connecting usb, please wait for the prompt to connect the cable.  Connecting the usb cable before hand can cause an issue with the installation.
    If the troubleshooting does not help resolve your issue, I would then suggest calling HP's Technical Support to see about further options for you. If you are calling within North America, the number is 1-800-474-6836 and for all other regions, click here: click here.
    Thanks for your time.
    Cheers,  
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • Just upgraded to Win 8.1: PSE 11 now will not let me change the paper size and type in the print properties.

    I have just upgraded to windows 8.1 but my photoshop elements 11 now will not let me change the paper size and type in the print properties.  Also some of the property popup boxes just flash on the screen but do not stay displayed!

    Camera Raw plug-in | Supported cameras
    Camera Raw-compatible Adobe applications
    The D7100 requires Camera Raw 6.5 which is compatible with CS5.
    In CS5, click Help > Updates to update Camera Raw to 6.7 and you'll be able to open and edit Raw D7100 NEF files.

  • Paper Size issues with CreatePDF Desktop Printer

    Are there any known paper size issues with PDFs created using Acrobat.com's CreatePDF Desktop Printer?
    I've performed limited testing with a trial subscription, in preparation for a rollout to several clients.
    Standard paper size in this country is A4, not Letter.  The desktop printer was created manually on a Windows XP system following the instructions in document cpsid_86984.  MS Word was then used to print a Word document to the virtual printer.  Paper Size in Word's Page Setup was correctly set to A4.  However the resultant PDF file was Letter size, causing the top of each page to be truncated.
    I then looked at the Properties of the printer, and found that it was using an "HP Color LaserJet PS" driver (self-chosen by the printer install procedure).  Its Paper Size was also set to A4.  Word does override some printer driver settings, but in this case both the application and the printer were set to A4, so there should have been no issue.
    On a hunch, I then changed the CreatePDF printer driver to a Xerox Phaser, as suggested in the above Adobe document for other versions of Windows.  (Couldn't find the recommended "Xerox Phaser 6120 PS", so chose the 1235 PS model instead.)  After confirming that it too was set for A4, I repeated the test using the same Word document.  This time the result was fine.
    While I seem to have solved the issue on this occasion, I have not been able to do sufficient testing with a 5-PDF trial, and wish to avoid similar problems with the future live users, all of which use Word and A4 paper.  Any information or recommendations would be appreciated.  Also, is there any information available on the service's sensitivity to different printer drivers used with the CreatePDF's printer definition?  And can we assume that the alternative "Upload and Convert" procedure correctly selects output paper size from the settings of an uploaded document?
    PS - The newly-revised doc cpsid_86984 still seems to need further revising.  Vista and Windows 7 instructions have now been split.  I tried the new Vista instructions on a Vista SP2 PC and found that step 6 appears to be out of place - there was no provision to enter Adobe ID and password at this stage.  It appears that, as with XP and Win7, one must configure the printer after it is installed (and not just if changing the ID or password, as stated in the document).

    Thank you, Rebecca.
    The plot thickens a little, given that it was the same unaltered Word document that first created a letter-size PDF, but correctly created an A4-size PDF after the driver was changed from the HP Color Laser PS to a Xerox Phaser.  I thought that the answer may lie in your comment that "it'll get complicated if there is a particular driver selected in the process of manually installing the PDF desktop printer".  But that HP driver was not (consciously) selected - it became part of the printer definition when the manual install instructions were followed.
    However I haven't yet had a chance to try a different XP system, and given that you haven't been able to reproduce the issue (thank you for trying), I will assume for the time being that it might have been a spurious problem that won't recur.  I'll take your point about using the installer, though when the opportunity arises I might try to satisfy my cursed curiosity by experimenting further with the manual install.  If I come up with anything of interest, I'll post again.

  • Print menu different since upgrading to Lion 10.7.4.  Pop up menu no longer has Preview and lost paper size selection.  Photos all printing credit card size.  Still using iPhoto 6.0.6.  Have upgraded printer drivers.

    Print menu is different since upgrading to Lion 10.7.4.  Pop up menu no longer has Preview and lost paper size selection.  Photos are all printing credt card size and I can't get it changed.  (Have tried changing in Page Setup.)  Have upgraded my printer drivers, but still no luck.  Still using iPhoto 6.0.6.

    A slow boot time can be caused by login items.
    User Login Items:
        Flux
        NoSleep
        ClipMenu
        Canon IJ Network Scanner Selector2
        BetterTouchTool
        USBOverdriveHelper
        TotalFinder
        Gmail Notifr
    Open System Preferences > Users & Groups > Login Items
    Remove one login item noted above then restart your Mac to test. It may be one or multiple items causing the slow boot.

  • List my currently installed updates

    Hi everyone: sorry if what I am going to ask is a very easy question. I want to get a list of my currently installed updates on my MacBook Pro. How can i do this? ie, a history of the system updates that I have installed. Can anyone help me out here, cheers, Adam.

    There is no permanent record of installed software other than what is contained in the /Library/Receipts/ folder. The receipts stored there provide all the information used by Software Update and Disk Utility regarding system software and updates installed.
    Generally there's little need to know what's been installed because Software Update will scan the system to determine if any updates are needed. Otherwise it's your responsibility as the system administrator to maintain your own records.

  • PS6; print; PS print settings; color management; printer profile: how to get paper profile to "stick" for multiple prints of same paper type, ie Matte. Mine reverts to Luster as the default.

    see question

    Hola Gustavo,
    your task is for me not quite clear. I can see two scenarios:
    a) Calibrate the press for  ISONewspaper26v4 ink (your standard process) on salmon colored paper.
        Print the target by press on this paper, measure and build the profile. There is no problem so far.
        But preparing CMYK data with this profile for printing by press requires a very complicated gamut
        compression, becauses the gamut of the actual process on salmon paper is small and excentric
        in Lab. As mentioned in my previous post.
    b) Simulate the appearance of press prints on salmon paper, disregarding the salmon color by profiles.
        This shall be done in your case by a toner printer.
        The toner printer has to be calibrated with white paper. As a result one gets a valid Printer Profile.
        The proof printing happens for a CMYK file, for instance a PDF/X-1a file so:
        Input profile: ISONewspaper26v4
        Output profile: Printer Profile
        Printed on salmon paper!
        The printer profiling converts the toner printer into a more or less reliable proof printer. This has nothing
        to do with colored paper.
    Page 11 shows an example:
    http://docs-hoffmann.de/oki-ps-28082005.pdf
    Best regards --Gernot Hoffmann

  • Selected print size will not fit current paper size

    I am new to iPhoto and I keep getting the following message when I try to print at home - "selected print size will not fit current paper size" - I don't understand this. I am printing to 4x6 photo paper. I have chose 4x6 under paper and I have chosen 4x6 under print. It seems to want to fit the photo horizontally instead of vertically - I can work around this by choosing to print 3x5 onto 4x6 paper, but then the border is quite large.
    I hope this makes sense.
    Thanks for any help regarding this issue.

    Does your printer driver support 4x6 borderless printing?
    You have to make sure your printer has a borderless driver ( the Epsons have two, a regular and one with Borderless-sheet feeder in the title and both must be installed and selectable under the Printer menu. If it's a Canon then you must be sure you select 4x6 borderless under the Paper size. Here's a step by step workflow you can try:
    Steps for printing 4 x 6 prints from iPhoto:
    crop the photo to 4 x 6 in iPhoto.
    select the picture you want to print and type Command-P.
    *click on the Advanced button in iPhoto's print pane.
    *select your Printer and Presets
    *select "Paper Handling" in the Copies & Pages menu.
    *in the Destination Paper Size section select "Scale to fit paper size: and select the paper size in the menu.
    *click on the Standard button.
    in the iPhoto print pane select your printer, Presets and Paper size.
    select Standard Prints under Style.
    select print size in the Size menu and check the "One photo per page: checkbox.
    click on the Print button
    *These steps may be redundant but might correct those situations where the paper size selected in the iPhoto print pane does not seem to take.
    What printer do you have?

  • Can I programmatically change printer paper size from ActionScript?

    Hi,
    I'm a newbie Flash/ActionSript developer and I have been searching for answers for a while with no luck. I wonder if I can get some pointers from this forum.
    I'm trying to programmatically print a movie clip to 8.5" x 11" plain paper regardless of the current paper size setting in the printer. e.g if the user's printer is currently set to use paper size A4, can I change the setting to Letter (8.5" x 11") from ActionScript at runtime? I use PrintJob class for printing the movieclip.
    According to the ActionScript online API spec ( http://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context =LiveDocs_Parts&file=00002066.html), I can only READ the paper size setting after the call to PrintJob.start. I can't believe that we are not allowed to change the setting. Maybe I missed something here. Can somebody help me out?
    Thanks in advance!

    you can't change the paper size used in client side printer.

  • I get an error when I try to print after installing Lion - worked under Snow Leopard - /System/Library/Printers/Libraries/PrintJobMgr/Contents/MacOS/PrintJobMgr failed

    I have not been able to print pictures nor any text since installing Lion.  I receive the message in the subject which is totally meaningless.

    When you upgrade from a previous OS there is always a chance that you will bring some setting that is not compatible with the new OS. This can be the driver as noondaywitch suggests but it can also be the core printing system. In the case of the latter, it is a good idea to reset the printing system when a core error occurs. Note that the reset sets the printing system back to default and removes your currently installed printer and scanner queues. But it does not remove the supporting drivers, so you only need to install the driver again.
    How to Reset the Printing System
    1. Open System Preferences > Print & Scan/Fax
    2. Move your mouse over the Printers list
    3. Hold down the Control button and click the mouse
    4. Click the "Reset printing system ..." popup
    5. Restart your Mac
    Just one additional thing to note. In checking the supported printer list for 10.6 from Apple, your RC545 is not listed so running the Software Update will not provide you with a driver for this printer. So if Epson does not have a driver for 10.6, and it appears that Apple does not provide one, then what you have already from the previous installation is it. And if this doesn't work, then you may have to look at either an alternate driver or getting another printer. But let's wait and see what happens after the reset.

  • Safari won't let me change printer paper size

    I am having a bizarre problem printing USPS labels from Safari. For some reason it shows my paper size as 13x19 in the printer dialog and there is no way I can change this (I tried in the printer driver and through System preferences and the changes would not "take"). I have three HP printers and only one of them can print 13x19 paper. I tried changing the default paper size on all three printer drivers but they all will only show 13x19, so if I try to print a 8x11 document on any of the printers, it won't print scaled normally to 8x11 paper - instead I get large font prints that are cut off. I tried different "scale to fit" settings in the drivers and nothing worked.
    Finally, I switched to Firefox and it worked perfectly!
    Interestingly, when I try printing a normal webpage from Safari, it WILL print on 8x11, but not a USPS label!
    If anyone can help I would greatly appreciate it.
    Thanks
    Peter

    Safari won't let me customize a new computer on the Apple store website.
    Try emptying your Safari cache. From the Safari menu bar click Safari > Empty Cache
    If that doesn't help, go to the menu bar again, click Safari > Reset Safari
    Select the top 5 boxes, click Reset.
    Quit then relaunch Safari, try the Apple Store    http://store.apple.com/us
    If you have installed any extensions, back to the menu bar, click Safari > Prefereces then select the Extensions tab. If you have any installed, turn that OFF, quit then relaunch Safari to test the store.
    And make sure Java is enabled in Safari > Preferences - Security
    edit by: cs

  • How do I print on a greeting card in landscape when I can't save custom paper size?

    I have a J6450 running on XP SP3 with the latest drivers and patches installed.  I have greeting card stock measuring 6.5 by 10.0 inches and a Microsoft Word document with a custom paper size matching the that stock prints in landscape mode.  The printer error is "Paper Mistmatch.  Paper size or type is incorrect."  I have followed the suggestions on the HP support page, changing the Print, Properties, Features options to show "Other greeting card", but can't define a custom paper size to match the stock.  The Save option is not available.  What do I need to do to make this work? 

    Here is a link to a HP document for adjusting several settings that may help with your issue.
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01824353&tmp_task=solveCategory&cc=us&dlc=en&la...
    Dave M.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as Accepted Solution.
    I am an HP employee.

  • Problem with custom paper size on dot matrix printer

    Hi All,
    I'm using CR2008 with updated to SP2. I have a problem with custom paper size (W=21; H=14), the CR Viewer show report with custom paper size correctly but when I print it to a dot matrix printer (Epson LQ 300+) the content was rotated to landscape. If print to a laser printer the content was printed correctly. My report was printed correctly by CR10 or previous versions I got this issue when upgraded to CR2008. I aslo tested my computer and printer with orther application like MS Word the printing have no problem with custom paper size.
    Thanks for any advice for me.
    Han

    Looking at the Epson LQ 300+ driver, I see that the latest update is from 2002. In my experience, most matrix printer drivers are not unicode. Crystal Reports is designed to only work with unicode printer drivers. See the [How Printer Driver Options Affect a Report|https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/a09051e9-721e-2b10-11b6-f9c65c64ef29&overridelayout=true] article, page 6 for details. Also, see [this|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] note.
    Finally, see if you can print from the CR designer to this printer and if you get the correct results here.
    Ludek

  • Why does my B8550 keep refusing to print saying I don't have the right paper/paper size?

    I have never been so frustrated with a printer.  I have never tried using it for making pictures without having problems.  I buy HP paper and the printer still refuses to print...I get the message that I have the wrong paper or wrong paper size.  Even if I use the option "other photo paper" to try to avoid the sensor in the printer to determine what paper is being used, I still get the same message.  And I've checked and rechecked...the paper size I'm programming the printer for is the same size paper I have in the printer. 
    I have a pavilion g series laptop with Windows 7 64-bit operating system.  I went to the hp site to download the printer drivers.
    Any help would be appreciated.

    Do you back up to iCloud?  I'm assuming so since you asked about purchasing more storage.
    Check Settings > General > Usage on your iPhone and see if you really need everything you're keeping there.

  • How to set PAPER SIZE in PRINT VIEW

    I am missing a step here in printing to Tabloid paper size.
    How do I set the paper size in the actual document or on the actual sheet?
    I am in Print View and I am guessing that it is showing the Sheets for my document as printing on 8 1/2 x 11 paper which appears to mean that no matter what I do - once I go to Print (like printing to Tabloid paper size) that this document will print at 8 1/2 x 11 even if it is printing on 11 x 17 paper.
    I understand that I need to move the slider to get the document to fit on the paper but it appears that right now I am doing this simply to get the document to fit on 8 1/2 x 11.
    Is there a setting somewhere that tells Print View what paper size to use? Is this set by Individual Sheet?
    Thanks,
    Jon

    Ah crimeny. This is Inspector > Page?
    I am getting a bit confused as to how to print on various size paper and how to SAVE THESE SETTINGS.
    For EACH SHEET I have to do the following:
    First I pulldown to the Printer and the Page Size in INSPECTOR
    THEN I scale the Sheet Manually to fit this paper in PRINT VIEW
    THEN I run PRINT?
    Now what?
    Is there a way to get this to Print in Color instead of Black and White?
    Can I make some PRESETS somewhere that will let me print to this printer at Tabloid size in Color and then in Black and White and also make some PRESETS that will let me print 8 1/2 x 11 and 12 x 18 so I can just pulldown to these?
    Thanks for any help. I'm not on a deadline but I am losing this battle apparently...

Maybe you are looking for

  • How can I use ONE Text search iView to event/affect mutliple Result Sets?

    hello everyone, i have a special situation in which i have 6 flat tables in my repository which all have a common field called Location ID (which is a lookup flat to the Locations table). i am trying to build a page with a free-form text search iView

  • Printing items in a folder problem - help

    Ok, I've created a workflow that basically goes like this: Get specified items Get folder contents Filter contents for text files Print text files Move text files to somewhere else I then save it as a folder action plug in and assign it to a specific

  • Slow addon connection at client

    I am using SAP Business One 8.8 (8.80.236) PL: 18 On server all is fine But at client machine addon connection is very slow. I check in Activity monitor that following query takes tooo long time for execution Select * from SCAB FOR BROWSE any idea ab

  • Image Distortion When Printing

    Had an ad supplied for a book that was printed digitally. Entire book printed fine except for page with this ad. I got an image drop shadow, but it was way out of position and distorted. Printed claimed it was a bad PDF. All's I did was place a custo

  • Why is CREATE_OBJECT_CLASS_NOT_FOUND ?

    Dear Guru , I am facing a problem that the BADI class can not be executed in our Quality system . When user trigger the badi , it showed us below shortdump : Runtime Errors         CREATE_OBJECT_CLASS_NOT_FOUND Exception              CX_SY_CREATE_OBJ