How to make sure PostScript printer is listed as a PrintService

We have built printing into one of our applications using the PrintService API. The output is generated using PostScript. Everything works fine, except that our QA folks are complaining that not all their printers are showing up in the print dialog. We're getting the list of printers using (effectively):
PrintServiceLookup.lookupPrintServices(DocFlavor.INPUT_STREAM.POSTSCRIPT, null);Generally, this works well, but printers that are known (by the humans, anyway) to support PostScript are not showing up. I would like to know what criteria lookupPrintServices uses to decide that a printer supports PostScript, so that I can provide a more satisfying answer to our QA department - and eventually to our customers - than the printer must be installed so as to support PostScript.
I need an answer mostly for Windows, but I am also having similar troubles on Linux. In the latter case, I have a system with three printers configured - all PostScript - and the all showed up when I began developing this part of our application. Suddenly, two of them stopped showing up, and their supportDocFlavors is now returning null!
Any pointers will be greatly appreciated.

Reza_mp wrote:
java.lang.UnsatisfiedLinkError: C:\Program Files\Java\jdk1.6.0\bin\jri.dll: Can't find dependent librariesThe error tells you the problem.
The jri library was successfully found.
That library requires other dlls. Those dlls were not found. So you are missing some dlls.

Similar Messages

  • When I attempt to scan a document to my computer I get the following message make sure the printer s

    I have an HP Photosmart 5514 printer.  When I try to scan a document to my computer I get the following message
    "Make sure the printer software is installed on your printer, and that 'Scan to computer is enabled via the pronter software"

    Hello Stevefried,
    Did you install the printer's software on your computer via CD or download?
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • HT200131 how to make sure only my laptop can connect to my apple tv?

    I don't want to see my flatmate apple tv under "connect"
    how to make sure I don't click on his tv accidentally and he won't be able to connect mine?
    thank you!

    Hey J-Justin,
    Great question! You can name your Apple TV to differentiate it from others in the AirPlay list:
    Apple TV: Change the name of your Apple TV - Apple Support
    http://support.apple.com/en-us/HT200028
    Furthermore, you can setup an onscreen code or password to restrict access for AirPlay. The password method sounds like the best option for your setup:
    Apple TV (2nd and 3rd generation): Understanding AirPlay settings - Apple Support
    http://support.apple.com/en-us/HT202618
    Set a password
    Go to Settings > AirPlay > Security > Password > [set password]. You can use this setting to require a password for AirPlay-enabled devices to connect using AirPlay on the Apple TV. Use this setting if your device will need permanent access and you only want to enter the password once.
    Thanks,
    Matt M.

  • HT4515 How to make sure that after browsing that the webpage is not running in the background, but totally closed down

    How to make sure that after browsing that the webpage is not running in the background, but totally closed down

    Double tap the Home button, tap & hold the Safari icon until it starts to wiggle, tap the red minus sign to remove it from the Multi-Tasking bar. Tap the Home button when finished.

  • I just upgraded to the new 4, but not sure how to make sure all my apps (purchases) get over to the new phone from iphone 3.  can't seem to find instructions. thanks.

    I just upgraded to the new iphone 4, but am hesitant to get it plugged in b/c I don't know how to make sure all the apps purchased on my iphone 3 get to the new phone.  can't seem to find instructions so I'm sure it just "does it", but hesitant to literally pull the plug.  thanks.

    Follow these instructions:  iPhone: Transferring information from your current iPhone to a new iPhone, http://support.apple.com/kb/ht2109

  • How to draw a perfect circle and how to make sure it is perfectly centered inside a square

    How to draw a perfect circle and how to make sure it is perfectly centered inside a square in Photoshop elements using the Ellipse option.

    1. Create a square canvas.
    2. With the Elipse tool, hold down Shift (Shift forces a circle). Draw the circle anywhere on the canvas (Shape 1 in this example).
    3. Simplify the circle layer
    4. Ctrl-click the layer to select the circle.
    5. Copy the selection to the clipboard (Edit > Copy).
    6. Deselect the selection.
    7. Paste from the clipboard (Edit > Paste). The pasted circle (Layer 1) will be centered.
    8. Delete the original circle layer.
    NOTE: Step 6 is the key. This guarantees that the pasted circle will be centered.
    If you want a circle completely within a square you can simply draw and simplify a circle on any shape canvas. Ctlrl-click the circle to to select it and copy to the clipboard.
    Then do File > New from Clipboard. This creates the circle cropped to a square on transparent background.

  • How to make it repleatedly printed out by using timer??

    Dear Friends:
    I have following code to run, When I press R to repeat println, only 1 line print out,
    But I hope to make it continueously print out.
    How to make it repleatedly printed out until I press CTRL + C key ??
    Thyanks
    import java.util.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.io.*;
    public class CertainAndRepeatTime{
      public static void main(String[] args) throws IOException{
        int delay = 1;
        Timer timer = new Timer();
        ActionListener actionListener = new ActionListener() {
            public void actionPerformed(ActionEvent actionEvent) {
              System.out.println("Hello World Timer");
        System.out.println("What do you want (Certain time or Repeat time)?");
        System.out.print("Please enter \'C\' or \'R\' for that: ");
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        String ans = in.readLine();
        System.out.print("Please enter  ans=" + ans  + " IsTrue=  " + (ans.equals("R") || ans.equals("r")) +"\n");
        if (ans.equals("C") || ans.equals("c")){
          //System.out.println("This line is printed only once start...");
          timer.schedule(new TimerTask(){
            public void run(){
              System.out.println("This line is printed only once.");
          },delay,1);
        else if(ans.equals("r") || ans.equals("R")){
          timer.schedule(new TimerTask(){
            public void run(){
              System.out.println("This line is printed repeatedly.");
          },delay, 1000);
        else{
          System.out.println("Invalid Entry.");
          System.exit(0);
        System.exit(0);
    }

    The Timer is working fine, but because it runs in another Thread, your program is ending before the Timer can repeat.
    The simplest way to make your program wait until it is force-quitted as you describe would be to make an infinite loop (although this isn't very good practice), like this:
        else if(ans.equals("r") || ans.equals("R")){
          timer.schedule(new TimerTask(){
            public void run(){
              System.out.println("This line is printed repeatedly.");
          },delay, 1000);
        while(true){} //This will make your main thread hang.
        }A better way, though, would be to listen again with your System.in reader until they enter a letter that means quit.

  • How to make sure that schema name is not included with generated sqls

    How to make sure that schema name is not included with generated sqls with tableadapter wizard.
    What should I use? Oledb, ODT.NET, where can set that I want "pure" sqls, not schemas, not ", or anything like this
    I want
    "Select a,b from t1" ,not "select "a","b" from schema.t1"
    Also schema name is put in all parameters, all over the place... What if schema name changes. (b1test to b1prod)
    . I now manually edit XML files of dataset. It works but....
    thanks

    The full hardware :
    Processor Intel core due 3.00 MHz
    RAM:1.5GB
    psu:650 Watt (but i baught i cheap one so it may be actually about 400 watt)
    HD Disk:160 GB
    But about the power supply if it not able to run the VGA card ,Is it will not show any screen or it will not able to run the computer??

  • How to make sure the maps are loaded though nokia ...

    Hi,
    I have downloaded new nokia map v.3.0109 to my nokia E75 and loaded maps by using nokia map loader (Asia).
    but still I cant see the all regional map which I downloaded, without usign live internet connection.
    How to make sure the maps are loaded properly to my mobile ?
    with regards
    Moderator's note: Email address removed. It is not wise to publish your personal information on a public forum.
    Message Edited by myn1126 on 27-Jan-2010 07:54 AM

    Hi,
    I have downloaded new nokia map v.3.0109 to my nokia E75 and loaded maps by using nokia map loader (Asia).
    but still I cant see the all regional map which I downloaded, without usign live internet connection.
    How to make sure the maps are loaded properly to my mobile ?
    with regards
    Moderator's note: Email address removed. It is not wise to publish your personal information on a public forum.
    Message Edited by myn1126 on 27-Jan-2010 07:54 AM

  • How do I make sure the print dialog settings are reset when Adobe Reader is closed?

    Hello everyone,
    we operate a printshop, several terminals (win7+Acrobat 11.0).
    Lots of users and files daily. when a user leaves a terminal and quits adobe acrobat,
    the next user inherits his print settings (dialogue boxes).
    unfavourable - as some use  duplex, scaling or several pages on 1 page.
    I know that you can edit certain registry entries to change some settings but I didn't find something close to solve our problem
    default on application close -> wishful behaviour
    Does anybody have a idea? would be really awesome
    regards
    Koenigshopser

    Which security software (firewall, anti-virus) do you have?
    Some security software has virtualization or sandbox features that may cause problems by protecting and restoring files in the Firefox profile folder.
    Try to rename or delete the prefs.js file and possible numbered prefs-##.js files and a possible user.js file to reset all prefs to the default values.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences
    If you rename the file(s) then you can undo the action or inspect the files with an editor like Notepad.
    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *http://support.kaspersky.com/viruses/solutions?qid=208280684
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • How to make sure 2 Variables of same class do not share internal variables?

    K, I am having trouble making a new instance of an object.
    I have a class call File_Class that have a public static attribute call File_Name.
    Now in another class, I have a linkedlist and each one of the element is supposely a File_Class object. The problem that I am having now is that whenever I create a new File_Class (File_Class New_Class = new File_Class (File_Name)), i am actually getting a reference to the old one so that anything that I change reflects on every element of my link list.
    My question now is
    1. how exactly do i enforce that a new instance of the object (File_Class) is created so i can make sure every element in my linked list is distinct.
    2. why is this happening at all
    thanks for your help in advance.
    Hung-Hsun Su

    Here is a simple example that i wrote just to demonstrate the point. it seems that i always get the same object no matter what. Thanks again.
    Result:
    AFTER 0 1 2
    1 2
    AFTER 1 10 20
    10 20
    10 20
    AFTER 2 99 999
    99 999
    99 999
    99 999
    Code:
    class T
              public static int A;
              public static int B;
    class Test
              static T TA[] = new T[5];
              private static void Set_Value (int i, int A, int B)
                        T t1 = new T ();
                        t1.A = A;
                        t1.B = B;
                        TA[i] = t1;
              private static void Print (int i)
                        for (int k = 0; k <= i; k++)
                                  System.out.println (TA[k].A + " " + TA[k].B);
              public static void main (String args[])
                        System.out.println ("AFTER 0 1 2");
                        Set_Value (0, 1, 2);
                        Print (0);
                        System.out.println ("AFTER 1 10 20");
                        Set_Value (1, 10, 20);
                        Print (1);
                        System.out.println ("AFTER 2 99 999");
                        Set_Value (2, 99, 999);
                        Print (2);
         }

  • 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

  • How to make sure text in landscape mode appeared in portrait?, How to make sure text in landscape mode appeared in portrait?

    I think a few pictures speak a thousand words. I try to get creative and design some pages in landscape mode.
    This is how the TOC looks like in landscape. As you can see there is a chapter and many pages. I didn't use sections to make sure that they don't appeared as a list in TOC page.
    This is how Chapter page looks like.
    But when viewed in portrait mode. nothing appeared.
    How shall I make sure that at least the text in chapter page goes there?
    Thanks!

    If I add a text box, it does not seem that inline is an option.
    When I create the chapter page, the bottom part is empty, but I do not know how to add text. If I add a text box, it is not inline.
    I hope to be able to add inline text which appeared at the bottom, possible?

  • MacBook Pro 15" 2007 is dead. How to make sure it's the left I/O board?

    My 15" 2007 MacBook Pro is now completely dead. No light on the 85W magsafe (which does work on unibody MBP 15), battery completely empty, no sign of life whatsoever. Apple Store says I need a new "logic board" but could not specify which one, main or left I/O. How can I make sure it is the left I/O board?
    The computers' power circuits have been steadily declining in recent months. It has a checkered history - it's the one that ran hot, had kernel panics due to graphics card drivers, and had the graphics card hardware issue. The computer died in October 2008 and "the logic board" was replaced under Apple Care, free of charge. When AppleCare ran out I bought a unibody MPB and my son inhereted the 2007 model, using it for his music and being pretty happy with it, until the battery would not charge anymore. He then ran it on the power supply only, until it would not boot up. Apple Store did some magic with it (probably reset SMC), it ran for a while longer without charging battery, then did the same thing (not booting, but magsafe connector showing green LED). Searching on the web I found some hints as to how to reset SMC and this worked - once. Took the computer off the magsafe when going on a holiday, when I came back it had deceased.
    Apple Store quoted $ 540 for a logic board replacement. The left I/O board is available online for $ 119 and I am able to mount it myself, would do so if I could make sure that this unit has failed and not the main board. And that, friends, is my question.

    Let the Apple folks - or an AASP - run diagnostics on the machine. They'll be able to tell if you need a new logic board or not. Get an estimate - if it seems outrageous then it's probably time to buy a new computer.
    Just my 2¢...
    Clinton

  • How To Make Void That Prints Something In JSP

    hi Everyone I'm Very New To Java & JSP I'm Expert In PHP , Anyway . .
    I want A Code like The Following Print Something Out :
    <%@ page import = "java.io.*"%>
    <%!
    public void str_repeat(String str2,int num){
         int i;String FINAL="";
         for(i=0;i<num;i++)FINAL=FINAL+str2;
         System.out.print(FINAL);
    %>
    <%
    str_repeat("SOMETHING",2);
    %>And Please I don't Want Anyone to Come UP with A Function That Makes The String Repeat (( I Wan To Learn How To Make A Void That Outputs Something )) And Not A Function . .
    notice : The Above Code Gives Nothing At All And When I Use
    out.print Instead Of System.out.print It Gives Error

    My Code Now Is As Follows :
    <%@ page import = "java.io.*"%>
    <%!
    public void str_repeat(String str2,int num, JspWriter out){
         int i;String FINAL="";
         for(i=0;i<num;i++)FINAL=FINAL+str2;
          out.print(FINAL);
    %>
    <%
    str_repeat("SOMETHING",2, out);
    %> and it gives the following error :
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 17 in the jsp file: /index.jsp
    Unhandled exception type IOException
    14: public void str_repeat(String str2,int num, JspWriter out){
    15:      int i;String FINAL="";
    16:      for(i=0;i<num;i++)FINAL=FINAL+str2;
    17:       out.print(FINAL);
    18: }

Maybe you are looking for

  • GR Non-Valuated  with multiple account assignment

    Hi, gurus; some knows a user exit or badi that is used to undercheck the flag GR Non-valuated when PO with multiple account assignment is created (ME21N) ? It can have some consequence in later invoice verification? Thanks in advance R.Z.

  • Upgrade from Burrito to 4.5, Could not resolve MobileApplication tag?

    Hello: As the topic states, I just upgraded from Burrito to 4.5 today. I imported my app and I get the following error: Could not resolve <s:MobileApplication> to a component implementation.    ...    line 6    Flex Problem Did they take out MobileAp

  • Installed 23" HD Display with AirPort difficulties

    recently installed a 23" HD Display - all well and good... but on wake from Sleep and/or re-Logging On, the AirPort connection is lost! while still on the network... this is focing me to do a full system reboot or as recently discovered; (that someti

  • Max number of sessions in the database for abt a month

    Hi, We are adding around 1000 additional users to our 11g database, how to find the impact of CPU, Memory etc.. And also we would like to know max number of sessions in last one month. Please let us know how to get this info. Thanks in advance. Edite

  • Custom metadata tags?

    I know that by tweaking the flex config files you can have custom metadata tags and you can extract them with reflection ( describeType() ) But can this happen in flash? Can they be substituted by a clever use of interface or inheritance?