Questions About Printing in Java

Alright, I've been looking at the Java printing API. I like it, it's nice. I've got a drag-and-drop workspace that the user wants to print, so I just use m_workspace.paint(Graphics) on the print Graphics object to paint the workspace onto the page. Very nice.
Here's the issue. I want to fit as many workspaces on a page as is possible. Now, with a Graphics2D object, I can call a couple of methods to get its height and width. I need to be able to determine the height and width of the Graphics object that the printer hands me. Here are the questions as best as I can describe them:
* Is it possible to find the height and width of a Graphics object? How else can you determine a Graphics object's coordinate range?
* When the Printable interface is given a Graphics object on which to print, does the Graphcis object represent the whole page or just the printable area of the page?
* The PageFormat class provides methods for determining the height and width as well as the printable height and width of a page in 72nds of an inch. How does one determine the intended printing resolution (dpi) of the print job? If this cannot be done, how is it possible to determine the size of the page in pixels?
I'd really appreciate help with this as fast as it can be mustered. This program needs to be completed by Friday morning and I'm clueless as to the Java printing interface.
Thanks for any time you've spent reading this and the time you may spend answering it. :) Best wishes!

After perusing the many books of one of my coworkers, I think I have good reason to believe the following:
* Printing with the Printable interface is always at a resolution of 72dpi (1 pixel per point).
* The Graphics object passed to print(...) represents a pixel space equal to the number of points of each dimension of the imageable area of the page.
Can anyone with experience with Java printing confirm these conclusions?

Similar Messages

  • A question about design of Java Application on java card.

    Hi every one,
    I have a question about design of Java applet on java card,
    There is an application on my card that it is not java card, it include a DF and some EF under DF, I would like to know if I want to have this application on java card ,how can I design DF and EF on java card ,I mean is there any relation between DF,EF with applet and file? for example can I say DF is same as applet and EF is same as file?
    I'll appreciate for any help .
    yours sincerely,
    orchid

    hi
    you can write a java class for DF.
    an instance of DF class have some EF objects.
    for example,
    samples/com/sun/javacard/samples/JavaPurse/CyclicFile.java
    implements ISO 7816 CyclicFile ( EF )
    see also:
    http://forum.java.sun.com/thread.jspa?threadID=673745&messageID=3936272
    best regards,
    siavash

  • Question about printing by page count

    Hi
    I'm new to this and I have a question about printing our invoices by page count.
    We generate our invoice using Crystal 2008 we have invoices that can range from a single page to as many as 6 pages. I would like Crystal to preview/print the reports in order of how many pages are in the report. Example: print all single page invoices first then all invoices that are 2 pages and so on. Is this possible?
    Thank you in advance

    Hi Ido,
    Thanks for your input. This is more or less what Carl was suggesting yesterday and I gave it a lot of thinking. The problem here is that I cannot go with "good enough resolution" - I need perfect resolution.
    The reason for this apparently silly requirement (why would one sort a bunch of invoices by number of pages instead of Customer Number, as long as they end up in an envelope anyway?) is the proposed purchase of a folding/stuffing machine which could do very fast what now takes one person 4 days to achieve.
    One type of machine comes with three settings - fold/stuff 1, 2 or 3-page statements. You need to have three stacks with all the statements that have 1, 2 and 3 pages. The ones with more pages will have to be folded manually, but there are only about two dozen clients that give us that much business. You feed the machine one stack at a time and set it to process the respective number of pages. Any statement that falls accidentally in the other stack will either cause the whole rest of the stack to be mixed up, which is very bad, or cause one customer to receive his invoice and someone else's, which is just embarrassing. I cannot afford any of these scenarios.
    Given that the statement contains variable-length (and depth) messages that vary by month and by profit center, and it could also contain one or more groups of details, each with its own header, it is very risky to try to come up with magic numbers attempting to estimate the number of pages based on the number of detail lines. Someone will still have to eyeball very carefully the initial stack of statements in the areas where the number of pages increases by one and make sure that ordering by number of detail lines did not mix, for example, one report with two pages among two reports with one page. Of course, this increased scrutiny will be necessary only around the areas where the page number transitions from 1->2, 2->3 and 3->4, which is much better than trying to order by number of pages all 1500 statements, but still depends on one's manual intervention and focus and, as a result, makes me pretty uncomfortable.
    I have taken a look at the "Group Sort Expert". If you select the "All" option (all groups) and you had some kind of summary value then you could sort the report by that value. The idea was to create a hidden Average field over the TotalPageCount runtime variable (which will always equal the TotalPageCount for that customer, since it's the same for all the pages in that group) and use that summary field in the "Group Sort Expert", which would have solved the problem elegantly. Unfortunately, there is no way to create a summary field over a runtime variable. I even created a formula that just returns the TotalPageCount, but that formula did not show up in the list of fields available for summarization (while other formulas did).
    It looks like the reporting engine does not allow this type of "late-sorting". I wonder if it is possible at all, because in effect this would require the engine to execute an additional pass: first it should somehow generate the whole report grouped by Customer Number so it knows how many pages are in each group, then it should sort by the number of pages and only after that it could render the report. I'm not sure the engine can do this additional pass.
    I would be very curious to hear about the other (more complex) ideas you mentioned. For example, I have seen (in Crystal 2008) a checkbox allowing "sorting by a formula". I don't know how to write a formula used in sorting, but the basic question in the paragraph above still stands: does the engine even support such a feature?
    Thanks again.

  • Question about the new JAVA Update J2SE 5.0 Release 3

    Here is some info about this update:
    Java 2 Platform, Standard Edition (J2SE) 5.0 Release 3 allows applications and applets developed for the J2SE 5.0 platform to run on Mac OS X v 10.4.2 and later.
    This update does NOT CHANGE the DEFAULT VERSION of Java on your Mac from Java 1.4.2 to J2SE 5.0, though Java applications that require J2SE 5.0 may specifically request it. You can change the preferred Java version for applications and applets by using the new Java Preferences utility. This utility is installed by the J2SE 5.0 update at /Applications/Utilities/Java/J2SE 5.0/.
    http://docs.info.apple.com/article.html?artnum=302412
    HERE IS MY QUESTION---
    This update makes me nervous cause I don't know much about Java. IF I change my default version to this new 5.0 will it mean that some of the older Java stuff on the web won't work? Should I just download this and ignore it? What should I do about this update?
    Thanks for the help!
    Renée

    I too seem to be suffering issues with loading web pages after the 10.4.3/Java 5.0 update. I have reinstalled both updates, changed the java settings, emptied all the caches, and tried various combinations thereof, and I still have problems with web pages loaded. most of the problems appear to be related to rendering frames and images - In fact a couple of web sites I navigate to (upon looking at the source for the page" state "It appears your browser does not support frames." I think this is something broken in the latest release. Unfortunately, I cannot reinstall the latest copy of Safari, because the installer states "This version of Safari cannot be installed. It requires version 10.4.2." I guess I am in a pickle until Apple comes out with another update. BTW I have some pages that Safari will not render but IE running on the same box will. I also noticed that the problem propagated to other applications that use Java....For instance the Dashboard widget from google (Google Maps) no longer renders the tiled (framed?) map pieces...instead you get the ubiquitous "?" icon.

  • Question about privacy in Java

    hi, i have a question about privacy practices in Java. I always thought it was bad form to program with too many global variable. However, when I program in Java i find that most of the time I am making my variables global. Is the fact that they are in a class supposed to make up for that fact? With subclasses you can also have 3rd parties working on your data. It seems a bit suspicious to me, like the data should be maintained more strictly, or is it my job to do that? I am just curious, but it seems java promotes global variables, which I find to be bad programming practice since anything can operate on them. I appreciate any input...

    However, when I program in Java
    i find that most of the time I am making my variables
    global. (meaning public)Sounds like you are writing bad code. Public variables should be extrememly rare except static final 'constants'.
    Is the fact that they are in a class supposed
    to make up for that fact? Absolutely not.
    With subclasses you can also
    have 3rd parties working on your data. It seems a bit
    suspicious to me, like the data should be maintained
    more strictly, or is it my job to do that? Yes, it's your job.
    I am just
    curious, but it seems java promotes global variables,
    which I find to be bad programming practice since
    anything can operate on them. I appreciate any
    input...Java does not promote public variables. You have to explicitly make them public.

  • Question about "Print Size"

    I am confused and puzzled about "Print Size." First I select the Zoom Tool, then I click "Print Size" in the upper bar. I also have chosen View > Rulers.
    What I don't understand is that one inch in the horizontal ruler actually is considerably longer than one inch on the vertical ruler.  I think this is distorting the appearance on my photos in the monitor as compared with the actual prints. The monitor version of my portrait, for example, looks fatter than the printed version. Why is this and why isn't a horizontal inch equal to a verical inch for viewing purposes.
    Thank you very much for any help on this.
    Bob

    Thank you very much. I changed my monitor to its native resolution and I think this solved the problem.  Bob
    J Maloney <[email protected]> wrote:
    Change the screen resolution setting in your PS prefs to your display resolution. Then print size will work as expected.
    http://en.wikipedia.org/wiki/List_of_displays_by_pixel_density
    More about the print size feature:
    http://help.adobe.com/en_US/Photoshop/11.0/WSfd1234e1c4b69f30ea53e41001031ab64-7935a.html
    >

  • Help me. Question about print

    This is Test Source...
    When executed this source, my output is printed as portrait form but I want landscape form. Help me.... please....
    ----------------- Test Source -------------
    import java.io.*;
    import java.net.*;
    import java.awt.*;
    import java.util.Vector;
    import javax.print.StreamPrintService;
    class BAR
    private static ServerSocket serverSocket = null;
    private static Socket sendClientSocket = null;
    private static String IP = "10.10.130.234";
    private static int portNo = 9100;
    private static PrintWriter out = null;
    private BufferedReader in = null;
    private static StringBuffer sb = new StringBuffer();
    private static String Message1 = null;
    private static String Message2 = null;
    private static String Message3 = null;
    private static String Message4 = null;
    private static String Message5 = null;
    private static String Message6 = null;
    private static String Message7 = null;
    public static void main (String[] args)
    System.out.println("Hello World!");
    try {
    System.out.println(": try connection [IP] "+IP+" [portNo] "+portNo);
    sendClientSocket = new Socket();
    sendClientSocket.connect(new InetSocketAddress(IP, portNo));
    System.out.println(": connection host.!!!");
    System.out.println("connect: "+ sendClientSocket.getLocalAddress() + " "+ sendClientSocket.getInetAddress() + " " + sendClientSocket.getPort());
    String[] temp = {
    "1","2","3","BAT MAN","SUPER MAN","ICE MAN","CODE NAME","SUCCESS__!!!!!!!","WONLIM KIM","SIN CHOI",
    "JUNGHUN HAN","12","13","14","15","PDA","TABLET","HMI","BARCORD PRINTER","LASER PRINTER",
    "RF PANEL","RF READ","NOTEBOOK","24","25","26","27","28","29","30",
    "31","32","33","34","35","36","37","38","39","40",
    "41","42","43","44","45","46","47","48","49","50",
    "51","52","53","54","55","56","57","58","59","60",
    "61","62","63","64","65","66","67","68","69","70"
    String blankArea = " ";
    String blankArea2 = blankArea+blankArea+blankArea;
    String blankArea3 = blankArea2+blankArea2+blankArea2;
    String nextLine = "\n\r";
    String nextLine2 = nextLine+nextLine+nextLine+nextLine;
    Message1 = blankArea2+temp[3]+blankArea3+temp[8]+nextLine;
    Message2 = blankArea2+temp[4]+blankArea3+temp[9]+nextLine;
    Message3 = blankArea2+temp[5]+blankArea3+temp[10]+nextLine;
    Message4 = blankArea2+temp[6]+nextLine;
    Message5 = blankArea2+temp[7]+nextLine2;
    Message6 = blankArea2+temp[15]+blankArea3+temp[16]+blankArea3+temp[17]+blankArea3+temp[18]+nextLine;
    Message7 = blankArea2+temp[19]+blankArea3+temp[20]+blankArea3+temp[21]+blankArea3+temp[22]+nextLine;
    sb.append(Message1);
    sb.append(Message2);
    sb.append(Message3);
    sb.append(Message4);
    sb.append(Message5);
    sb.append(Message6);
    sb.append(Message7);
    out = new PrintWriter(sendClientSocket.getOutputStream(), true);
    out.println(sb.toString());
    } catch (Exception e) {
    e.toString();
    finally {
    try
    if (out != null) out.close();
    if (sendClientSocket != null) sendClientSocket.close();
    } catch (Exception e) {}
    }

    Either read the documentation for your printer or print using Java's javax.print API.

  • Question about printing and resolution

    Hello
    I am trying out a trial version of PE13 and am attempting to come to terms with printing and resolution.
    I have also read this informative tutorial here:
    How Image Resolution Affects Print Quality - Photoshop Tutorial
    This is the image I would like to print:
    In the tutorial referred to above, the author states that when printing, 300 resolution is best and not the 79.3 px/inch that I have. When I change that 79.3 to 300, the image of Marilyn becomes tiny, so my question is how can I have an image that would neatly fit onto A4 photo paper maybe with a 1" white border around it (meaning the image size would be 8" x 6") while retaining a 300 resolution?
    Am I going about this the right way, aren't I?
    Many thanks.
    Steve

    Steve,
    The most important thing about resolution is the dimension in pixels.
    Your original is 433 x  653 pixels. Just good enough to display on a normal laptop.
    With A4 format at 300 ppi, you'd need:
    21 / 2.54 * 300 = 2480 pixels wide
    29.7 / 2.54 * 300 = 3507 pixel high.
    Any image editor won't be able to add the missing resolution, but the solution is to let the editor guess the missing pixels by interpolation methods.
    You won't get more details than those present in the original file, but you'll get a smoother, non 'pixelated' image.
    In the Elements editor, you have to check the 'resample' checkbox to be able to keep the outpur size while increasing the ppi to 300.

  • Question about printing an image/control Using Report Generator

    The attached VI is an example of creating a report from a control or image. My problem is that when the control (xy graph) gets too large in the vertical direction it clips the image but, the horizontal is scaled to the width of the report. 
    First question is why does it scale in the horizontal and not the vertical? See the Test.pdf for what I am talking about. 
    Second, is it possible to control this behavior (edit/create an alternate for the Append Control Image to report or the Report VI's)?
    I have found many work around but ultimately it comes back to; why automatically scale one direction but not the other?
    For this application I don't mind that the graph is scaled down in the horizontal I just wish it would do the same thing in the vertical axis (I don't even want it to be a 1 to 1 zoom ratio, just fill the avalible report space).
    Thoughts?
    Attachments:
    Print XY Graph TEST.vi ‏55 KB
    Test.pdf ‏217 KB

    I agree all of the workarounds have limitations. One workaround, that I'm not sure if you have tried yet is change the numeric constant from 50 to 20 (I attached a picture showing which constant I am talking about). This seems to fix the issue just because the image never becomes larger than the report page itself.
    Let me know if that option creates any problems for you as well.
    Kevin S
    Applications Engineer
    National Instruments
    Attachments:
    Block Diagram.PNG ‏29 KB

  • Question about printing and sorting files

    What I'm trying to do is read in a file of names (about a thousand) sort them using a sort alorithim then print out the sorted file of names, as well a separate chart with the number of compares and swaps . My Sort class has different sorting algorithims, like insertion, bubble etc. Everything I have now works fine. But the way its set up now I have to pick one algorithim at a time, then it sorts then prints the results like this:
    Bubble Sort
    Compares : 2016
    Swaps : 1052.
    Now if I want to choose anothert algorithim, I'll have to manualy do that then run Main again then apend the results to the output file. But I would like run Main once opening the file that needs to be sorted then run one algorithim, calc the results, then do that again for another algorithim calc the results, then when I'm finished with all the algorithims, print all the results at once to the output chart. This so the output will look better, and the user won't have repeatedly run the program to see and compare the results.
    Is this even possible, and if so, any ideas how?
    This is the main console, which put the names in a array list, then sorts
    them
    public class SortyFile {
         public static void main(String[] args) throws IOException{
               BufferedReader r = new BufferedReader(new FileReader("C:/Documents and Settings/Cougar/" +
                   "Desktop/names.txt"));
               PrintWriter Output_Chart
                    = new PrintWriter(new BufferedWriter(new FileWriter("C:/Documents and Settings/Cougar/" +
                      "Desktop/Output Chart2.txt" , true)));
               PrintWriter Output_Sorted_File
                    = new PrintWriter(new BufferedWriter(new FileWriter("C:/Documents and Settings/Cougar/" +
                           "Desktop/Sorted File2.txt")));
               ArrayList a = new ArrayList();
               String line = null;
               while ((line = r.readLine()) != null)
                    a.add(line);
                    Sort.bubbleSort(a);
                  Output_Chart.println("");
                  Output_Chart.println(Sort.algoname);
                  Output_Chart.println("");
                  Output_Chart.println("Compares :" + "   " + Sort.compares);
                  Output_Chart.println("Swaps :" + "      "  + Sort.swaps);
                  Output_Chart.println("");
                  for (int i=0; i<a.size(); i++){
                       Output_Sorted_File.println(a.get(i));
                       System.out.println(a.get(i));
               Output_Chart.close();
               Output_Sorted_File.close();
    This is the class with different sorting algorithims, the variable algoname is use for printing the header on the output chart.
    public class Sort {
        static int swaps = 0;
        static int compares = 0;
        static String algoname;  // name for the algorithim
        public static void swap(List data, int least, int i) {
              Object tmp = data.get(least);
              data.set(least, data.get(i));
              data.set(i, tmp);
         public static void bubbleSort(List data)
            for (int i = 0; i < data.size(); i++)
                for(int j = i+1; j < data.size(); j++)
                    Comparable current = (Comparable) data.get(j);
                    Comparable previous = (Comparable) data.get(i);
                    compares++;
                    if (current.compareTo(previous) < 0)
                        data.set(j, previous);
                        data.set(i, current);
                        swaps++;
            algoname = "Bubble Sort"; 
          public static void selectionSort (List data)
               int i,j, least;
               final int size = data.size();
               for (i = 0; i < size - 1; i++)
                  for (j = i+1, least = i; j < size; j++)
                       compares++;     
                 if (((((Comparable) (data.get(j))).compareTo(data.get(least)))) < 0)
                      least = j;
                      swap(data,least,i);
                      swaps++;
               algoname = "Selection Sort";
          public static void insertionSort (List data)
                 Comparable tmp;
              int i, j;
                 for(i = 1; i < data.size(); i++)
                      tmp =  (Comparable)data.get(i);
                       for(j = i; (j > 0) && (tmp.compareTo(data.get(j - 1)) < 0) ; j--){
                       compares++;
                       data.set(j, data.get(j - 1))  ;
                       data.set(j, tmp)  ;
                      swaps++;
                 algoname = "Insertion Sort";
    }

    Maybe Im misunderstanding your question, but couldnt
    you just run the bubbleSort() method, then the
    insertionSort() method, and so on? You would do this
    in your main method.Yeah I tried that but for odd reason I get this for the results
    Bubble Sort
    Compares : 2016
    Swaps : 1052
    Selection Sort
    Compares : 2016
    Swaps : 1052
    The results for both algorthims are exactly the same.

  • Questions About Printing

    Hi, i am currently having problems with using java print .
    What i need is selecting the printer without using a popup dialog by parsing in a string hardcoded which i would implement a registry reader that would take in the printer name and use that specific printer to read, however i am clueless to edit the codes i had done, by using JobAttributes? or others . please help :=) thankx
    belows are my current codes
    package javaapplication1;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.print.*;
    import java.io.*;
    import java.util.*;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.swing.*;
    import javax.swing.filechooser.*;
    import javax.print.*;
    import java.awt.JobAttributes.*;
    public class PrintSample  implements Printable {
       static JTextArea textarea = new JTextArea(10,40);
       static JFrame   window = new JFrame("Fax Services");
       String filename;
      public static  void main(String args[])   {
         final JFileChooser fc;
         fc = new JFileChooser();
         JButton openButton = new JButton("Open");
        final Container cp = window.getContentPane();
        JButton buttonPJ = new JButton("Use Printable");
        LayoutManager lm = new FlowLayout(FlowLayout.CENTER, 20,20);
        // fill in text to display (and later print)
        textarea.setEditable(false);
         // set up layout and fill in sample
         cp.setLayout(lm);
         cp.add(new JScrollPane(textarea));
         cp.add(buttonPJ);
         cp.add(openButton);
         //fc.showOpenDialog(cp);
         // add the button press response for buttons
    openButton.addActionListener(new ActionListener(){
         public void actionPerformed(ActionEvent e){
           int ret=fc.showOpenDialog(cp);
        if(ret==fc.APPROVE_OPTION){
           FileInputStream filein = null;
                        try {
                            java.io.File file = fc.getSelectedFile();
                            //textarea.append(file.getName());
                            filein = new java.io.FileInputStream(file);
                            int x = filein.available();
                            byte b[]=new byte[x];
                            filein.read(b);
                            String content = new String(b);
                            textarea.append(content);
                        } catch (FileNotFoundException ex) {
                            Logger.getLogger("global").log(Level.SEVERE, null, ex);
                        } catch(IOException ex2){
                            Logger.getLogger("global").log(Level.SEVERE, null, ex2);
                        }finally {
                            try {
                                filein.close();
                            } catch (IOException ex) {
                                Logger.getLogger("global").log(Level.SEVERE, null, ex);
        }else{
               textarea.append("Errors Occur");
         buttonPJ.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
               printPrinterJob();
         // set up WindowListener to close the program
         window.addWindowListener(new WindowAdapter() {
                @Override
    public void windowClosing(WindowEvent e) {
             System.exit(0);
        window.setSize(475,300);
        window.setVisible(true);                  // frame starts out invisible
       // PrinterJob implementation
       static void printPrinterJob() {
          PrinterJob printerjob = PrinterJob.getPrinterJob();
          // set the characteristics of
          // the job to be printed - use setPageable and book if
          // outputing a document. Use setPrintable for "simple" printing - all pages formatted the same
          printerjob.setPrintable(new PrintSample());
          try {
              //JobAttributes j = new JobAttributes();
             printerjob.print();            // print the page(s)  (this method with call the page painters)
          } catch (PrinterException exception) {
             System.err.println("Printing error: " + exception);
       // print  - draw the page
       // Parameters:    graphics - context in which to draw the page
       //                pageFormat - size and orientation of page being drawn
       //               pageIndex - zero-based index position of the  page in the print job
       public int print(Graphics graphics, PageFormat pageFormat, int pageIndex)
          throws PrinterException {
           String strText =null;    // text string to output
          int lineStart;           // start index of line in textarea
           int lineEnd;             // end index of line in textarea
           int lineNumber;          // current line in textarea
           int lineCount;           // total number of lines in textarea
           if (pageIndex >= 1 ) return Printable.NO_SUCH_PAGE;
           // move the drawing origin to the imageable area ( makes sure its drawn where the printer can )
           graphics.translate((int)(pageFormat.getImageableX()), (int)(pageFormat.getImageableY()));
           graphics.setColor(Color.black);
           // get the text from the textarea one line at a time
           lineNumber = 0;
           lineCount = textarea.getLineCount();
           strText = textarea.getText();
           while (lineNumber < lineCount) {
              try {
                 lineStart = textarea.getLineStartOffset(lineNumber);
                 lineEnd = textarea.getLineEndOffset(lineNumber);
                 strText = textarea.getText(lineStart, lineEnd-lineStart);
              } catch( Exception exception) {
                 System.out.println("Printing error:" + exception);                  // have to catch BadLocationException
              // determine drawing location of each successive line
              graphics.drawString(strText,0,(lineNumber + 1) *20);
              lineNumber = lineNumber + 1;
            return Printable.PAGE_EXISTS;                      // page was drawn successfully (return NO_SUCH_PAGE if not)
    }

    Since JTextArea is a descendant of JTextComponent all you need is :
    java.text.MessageFormat header = null; // header to print null or text
    java.text.MessageFormat footer = null; // footer to print null or text
    boolean showPrintDialog = true; // display the print dialog true || false
    javax.print.PrintService service = javax.print.PrintServiceLookup.lookupDefaultPrintService();
    javax.print.attribute.PrintRequestAttributeSet attributes = null;
    boolean interactive = true;
    jTextComponent.print(header, footer, showPrintDialog, service, attributes, interactive);
    you can put this into a separate thread so it doesn't stall the application
    or inside your printPrinterJob method, discard the overwritten print method
    and let JTextComponent do the print handling for you.
    (print method is inherited for most swing components such as JTextArea etc, look in the API)

  • Question about SSO (for Java Dialog instance) for Portal EP 6.0 SP 20

    Hi All
    I have following question.
    We are running Portal 6.0 SP 20. We have JAVA (Portal) CI+DB running on single host SAPQP1 and Two JAVA Dialog Instances (J2EE Application servers) running on separate host namely SAPAP35 and SAPAP36.
    I was able to configure SSO between SAPQP1 (CI+DB) and ECC R/3 system (QC1). SSO is working fine. Users can access all ESS/MSS data in portal when they use Portal URL running on SAPQP1 (http://sapqp1.xxxxx.com:50000/irj).
    But when users try to access ESS/MSS data via portal (URL) running on SAPQP35 (http://sapap35.xxxxx.com:50000/irj) and SAPAP36 ((http://sapap36.xxxxx.com:50000/irj) SSO does not work, i.e it system asks user id and password.
    So , how I can configure SSO between SAPAP35 and SAPAP36 JAVA Dialog instances and ECC R/3?

    Hi Sandip,
    obviously you already configured QC1 to accept Tickets issued by the Java Engine on SAPQP1. Did you imported the public (java) certificates from SAPAP35 and SAPAP36 into your ECC System? The certicficates need to be added in client 000 to your System PSE and in your production client to your ACL.
    Regards,
    Enno

  • Question about Print to Video

    I am using a Sony HC1 HDV camera. I captured some HDV video (using the camera to downconvert) in DV. I edited the sequence and now I want to output a copy of my finished version onto tape in standard definition. The camera is connected via firewire.
    I tried to do this playing with the video/audio settings and could not get it to work. I am using Print to Video. I seem to have no problem when I print to video in HDV, but I can't get it to work in DV. Does anyone have any suggestions about settings or anything else that would make this work?

    I thought I put the camera in the correct mode, but if I hear you accurately you are saying that you think it is one of my camera settings that is incorrect not my settings within FCP?
    Just to verfiy what should all of my Audio/Video settings for Print to Video be for outputting DV to the camcorder? (Both video and audio)
    Thanks Jerry-

  • Question about printing in lightroom

    I have a new canon ip 6700d printer and was wondering if when I print from a raw photo in lightroom am I printing in the pro photo rgb color space? Bob

    >I let lightroom manage my printing and my question was..Does lightroom print my raw photo in pro photo rgb color space or another color space?????? Bob
    No. It only sends prophotoRGB to the driver when you select "managed by printer" The printer driver should then translate to its own icc profile. If you set draft mode printing, Lightroom sends adobeRGB data. But most importantly, if you let Lightroom manage color by selecting a profile, it sends data in the printing profile. The latter is the preferred method for the best output, but some printer drivers on some OS/printer combinations choke on that, so be aware.

  • Really quick question about printing a book

    hello,
    always asking questions... but you people on these forums are super nice and smart....
    if i should upload the pictures to iphoto to print a book should i export the pictures as AdobeRGB 1998 or ProPhotoRGB .jpegs????
    the website only says jpegs..... what would my best choice be.....????
    answers are appreciated and thank you in advance

    Yes - do not use Adobe RGB - sRGB is correct
    and test a few photos - some people have had problems importing Lightroom edited photos into iPhoto
    LN

Maybe you are looking for

  • Playback appears different in IE and Firefox, WHY?

    Hi, I have been working on a web site that I have just recently tested and noticed a wierd error: The playback appears fine in IE however in Firefox the scripted animated elements do ot apper correctly. Please visit the site in IE and Firefox: http:/

  • Accessing :old.clob and :new.clob in triggers

    Hello, The dbms_lob package is just working fine for me and everything works as it should. But as soon as I try to handle clob fields IN A TRIGGER, everything fails. dbms_lob.compare (:new..., :old...) does not work, nor am I able to convert the clob

  • OSX System Wide Font Size?

    I just bought my first 27 inch iMac.. Although I'm lovin it, I do have it sitting at arms length away from me and am finding the font size vert small.. With this high res display the font is a bit tiny and am just wondering if its possible to change

  • Selection of Filter Values for Query Execution -Only Values in InfoProvider

    I created a query based on an ODS. For the query charateristic 0NFCAT_CODE a variable was created by me. To the time of query execution F4 shows all values available in the charateristic, but only values available in the ODS are expected. The charact

  • WINDOWS MOBILE 5.0 SDHC card PATCH

    I own an iPAQ rx1900 pocket PC. It cannot read sd memory cards over 2GB. Neither can it read high capacity. are there any compatible software upgrades?