Preview and print do not match photo

Please help. 4x6 size. Non photo stuff previews normally.  We have iphoto 6

How don't they match?  Need more info before we can suggest anything?
OT

Similar Messages

  • Preview and print does not match image in LR

    I tweaked an image in Develop and printed some 5x7s until I got it right and then went to 13x19 (first time ever using that size with my R3000). The print preview and the print  were way too red. I went back to a 5x7 and it was way red as well in print preview, so I didn't print. I replaced a light magenta cart that I think ran out during the 13x19 print, and then some others that were low, and did a nozzle check and that was okay. I have spent hours looking around all of the settings (sRGB) and can find nothing that would explain what changed between my last good 5x7 print and the red 13x19. I went back to earlier versions and had the same problem. Monitor is due for recalibration, but that probably has nothing to do with it since it changed so suddenly. Any ideas of what to do?  R3000, LR 4.3, Win 7, NEC PA 271w, beginner level

    A print that is too red / magenta is an indication for double color management, i.e. by Lr and by the printer.
    Color management must be done only by one: either by the application (Lr or Photoshop) or by the printer but never by both.
    When you select a printing profile in Lr that means that now Lr is doing the color management. Consequently you have to switch off colo rmanagement in the printer dialog (printer driver).
    See screen shot:
    Or, you can do it the other way round: Let the printer do the color management and select <Managed by Printer> in Lr.

  • Sales Orders Screen: Preview and Print Option Not Available in Actions LOV

    Hi,
    We are using Custom Responsibility for Order Management.
    We can't find the Preview and Print Option in Actions list(Sales Orders -> Query for Sales Orders -> Actions).
    Kindly let me know how to add the Preview and Print Option to the LOV.
    Thanks,
    Tamil

    Hello,
    You have to find this function in standard responsibility and copy this name to your own.
    Regards,
    Luko

  • Monitor and printer colours not matching!

    Hi, when I print, the colours do not match my monitor! Using CS6.

    There's no easy answers here, you have to read up on color mangementnt, calibration and all that stuff. Start by reseting any color tweaks to factory defaults on your monitor and printer. Beyond that it's a topic peopel write books about and nobody can answer this in two simple sentences. Scour the print-centric forums for Illustrator, Photoshop and InDesign for some posts from the past that offer basic guidance and research the topic on a more generic level with a web search.
    Mylenium

  • Published photos and captions do not match photos (correct on iWeb)

    I recently added more pictures on a couple of photopages and place in a certain order. It displaced all the photos and the captions accordingly. After Publishing the captions did not match the photos and seemed to stay in the places where they were previously published. I tried to retype each caption that was incorrect then saved then republish, however some were corrected but most were not. If you click on a incorrect picture and see the full pic, it opens with the correct caption/name on the window. I also added some new captions to certain photos without captions or changed some captions and some show and some do not. Anyone have any ideas. Thank you.
    http://web.mac.com/urbz112
    ju
    Powerbook G4   Mac OS X (10.4.6)  

    Welcome to the discussion Ju
    The first thing that springs to mind is caching, if you are using Safari:
    go to Safari > Empty Cache..
    Then try the page again, you can also put a ? at the end of the address and refresh the page. Sometimes its a combination of both that fixes it, and sometimes it seems that the .mac servers cache everything and dont serve up the fully refreshed pages!
    Will
    1GHz G4, 15" PowerBook, Airport Network, 1G iPod Mini   Mac OS X (10.4.6)   www.willg4pb.com for iWeb tips

  • Print priview and print out not matching

    I have a developed a script for Goods receipt.
    In the Print Priveiw in MB90  all the boxes inserted by me are appearing
    but in the print out some of this boxes are not appearing .
    Please help its a bit urgent.

    Hi
    wat you are seeing in the print preview is just the place where the boxes are displayed but unless you specify the intensity or the thicknessof the lines for the box they will not appear in the print.
    try giving some intesity as 10.
    Regards
    Zarina

  • Preview and Print not seen in Actions Tab

    Hi,
    I could not see the preview and print option in the actions tab of the sales order, from where is it originated???
    What should i do to see this.
    Regards,
    prasad

    Guys,
    My XML Publisher was not installed, Thats why this problem.
    Enabled this, Issue is solved now.
    Prasad

  • Wrong print preview and printed color from Lightroom 1.3

    I am running Vista Ultimate and i just installed the driver for my Canon PIXMA Pro9000.
    When i try to print from Lightroom 1.3 the colors are very muted, even when i do print preview the colors are wrong in the print preview screen.
    No matter what i do i cant seem to get lightroom to Print Preview AND print with the right colors.
    The image on this link http://www.pbase.com/charld/image/94711330
    (on the left) is what i see and get when i do a print preview and print and my monitor image is on the right.
    If i use Canon DPP the colors are not that bad, its a bit dark but that was easily fixed and i can get it quite close to what i see on the screen. My monitor is not calibrated..The images were all shot in RAW and converted to DNG...Do i need to re-install Lightroom as i don't think print preview has anything to do with the printer i have attached....
    Thanks

    I got the solution from another forum:
    http://www.lightroomforums.net/showthread.php?t=1613
    1. in the Print module, clicking on the Print Settings button ...
    2. Choose your media type
    3. Under Print Quality choose High
    4. Under Color Intensity choose Manual. In the subsequent dialogue box choose None.
    5. In the Print right hand panel under Color Management choose your print media - PR1 for Photo Paper Pro, SG1 for semi-gloss &c
    6. Rendering intent Perceptual.
    7. Hit Print and OK.
    this resolved my issue!!

  • Preview and print a Crystal report prompted for the sa password

    Dear All,
    Our customer has Crystal report add-on to be installed. When we Preview and print a Crystal report, we got a window prompted for the sa password. Even we type in a correct password, it still says wrong password...
    Every time when I open my report in Crystal Basic 2008 on the server, then go database expert >> My connections >> click + in front of the connection name, it asks my sa password. I type in my password then save and close. Next time when I open the report and go my connections, I have to type in my password again. This only happens on one customer.
    Any idea? Thanks a lot.
    Regards,
    Yuka

    Hi Yuka,
    1) All their SAP client workstation, they have to have use SQL2008 CD and install SQL Client on it
    Correct, MS does NOT support MDAC or WDAC when connecting to SQL 2008.
    2) Then go ODBC >> SQL Native Client 10.0 >> Create a new connection to SAP server. Should we use sa user or another use that has the same authorization as sa?
    Correct again if they are also using ODBC to connect, as for using the sa account or creating a new one is up to you. I suggest creating a Crystal account with what ever rights your app needs, this way if tracing it turned on etc. you can confirm who is actually running the report.
    3) Then from MY Crystal report, I have to use ODBC connection as well?
    Just to clarify, if you created your reprots using OLE DB then they can do so also. But you need to update your connection properties. Open each report click on Database, Set Location, scroll down to OLE DB and expand and then choose MS SQL Server Native 10 as your OLE DB provider, fill in all the logon info and then verify the database. Do the same for each subreport also.
    Save your report and either send them the new one or if you are doing this remotely then replace the original report.
    VERIFY your reports to confirm they still return correct data and do work as expected.
    Or if you are using ODBC then yes you do select the MS 10 driver with a new DSN. Then do the above to update the reports to all use ODBC as their data sources.
    Hope this is all clear now....
    Thanks again
    Don

  • Adding New View Objects/Link on "Preview and Print" - Order Acknowledgement

    Hi,
    Can we add New View Objects/View Links for the existing "Preview and Print" Order Acknowledgement.
    I want to add for the 2 new functionalities i.e., for Charges (from OE_PRICE_ADJUSTMENTS_V ) and the Line Level Notes, which is currently not supported by Oracle.
    Can anyone help me on acheving this functionality?
    Looking forward for your response.
    Thanks in advance,
    Regards,
    Muru

    You can do that. You should first create the new business objects(AM, VO, VL) in jdeveloper, create your new regions in jdeveloper, associate the AM to the top level region(stackLayout) you create. Use personalization and add a stack layout in the Preview and Print page, set the extends property to point to the new region which you had created. Donot forget to deploy all the files in middle tier before doing the personalization.
    The AM which you had added to the stackLayout will automatically be nested with the root AM of the page during runtime.

  • Error in Preview and Print in Crystal Report Viewer 2.0.0.7 in Workstation

    Hi Guys,
    I am encountering a problem when clicking preview and print in Crystal Report Viewer 2.0.0.7. It returns an error
    Unhandled exception has occurred in your application. If you click Continue the application will ignore and attempt to continue. If you click quit, the application will close immediately. Load report failed.
    I already install the runtime crruntime_120_mlb, . net framework 3.5 sp1 and the add-on itself. The viewer is working properly in SAP Server. My version of SAP is SBO 2007 A SP00 PL10.
    Regards,
    Michael

    here's the detailed error
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    Exception Text
    CrystalDecisions.Shared.CrystalReportsException Load report failed. --- System.Runtime.InteropServices.COMException (0x80004005) The device is not ready.
       at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.get_Database()
       at SAP_CR.MyForms.frmReportViewer.ConfigureCrystalReports()
       at SAP_CR.MyForms.frmReportViewer.frmReportViewer_Load(Object sender, EventArgs e)
       at System.Windows.Forms.Form.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Loaded Assemblies
    mscorlib
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3620 (GDR.050727-3600)
        CodeBase fileCWINDOWSMicrosoft.NETFrameworkv2.0.50727mscorlib.dll
    SAP_CR
        Assembly Version 2.0.0.7
        Win32 Version 2.0.0.7
        CodeBase fileCProgram%20FilesSAPSAP%20Business%20OneAddOnsSAP_CRSAP_CR.exe
    Interop.SAPbouiCOM
        Assembly Version 8.0.0.0
        Win32 Version 8.0.0.0
        CodeBase fileCProgram%20FilesSAPSAP%20Business%20OneAddOnsSAP_CRInterop.SAPbouiCOM.DLL
    System.Windows.Forms
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase fileCWINDOWSassemblyGAC_MSILSystem.Windows.Forms2.0.0.0__b77a5c561934e089System.Windows.Forms.dll
    System
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3614 (GDR.050727-3600)
        CodeBase fileCWINDOWSassemblyGAC_MSILSystem2.0.0.0__b77a5c561934e089System.dll
    System.Drawing
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase fileCWINDOWSassemblyGAC_MSILSystem.Drawing2.0.0.0__b03f5f7f11d50a3aSystem.Drawing.dll
    CustomMarshalers
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase fileCWINDOWSassemblyGAC_32CustomMarshalers2.0.0.0__b03f5f7f11d50a3aCustomMarshalers.dll
    Interop.CR_Crypto
        Assembly Version 6.0.0.0
        Win32 Version 6.0.0.0
        CodeBase fileCProgram%20FilesSAPSAP%20Business%20OneAddOnsSAP_CRInterop.CR_Crypto.DLL
    System.Data
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase fileCWINDOWSassemblyGAC_32System.Data2.0.0.0__b77a5c561934e089System.Data.dll
    System.Configuration
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase fileCWINDOWSassemblyGAC_MSILSystem.Configuration2.0.0.0__b03f5f7f11d50a3aSystem.Configuration.dll
    System.Xml
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3082 (QFE.050727-3000)
        CodeBase fileCWINDOWSassemblyGAC_MSILSystem.Xml2.0.0.0__b77a5c561934e089System.Xml.dll
    System.Transactions
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase fileCWINDOWSassemblyGAC_32System.Transactions2.0.0.0__b77a5c561934e089System.Transactions.dll
    System.EnterpriseServices
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase fileCWINDOWSassemblyGAC_32System.EnterpriseServices2.0.0.0__b03f5f7f11d50a3aSystem.EnterpriseServices.dll
    CrystalDecisions.Windows.Forms
        Assembly Version 12.0.2000.0
        Win32 Version 12.0.2000.840
        CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.Windows.Forms12.0.2000.0__692fbea5521e1304CrystalDecisions.Windows.Forms.dll
    CrystalDecisions.Shared
        Assembly Version 12.0.2000.0
        Win32 Version 12.0.2000.840
        CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.Shared12.0.2000.0__692fbea5521e1304CrystalDecisions.Shared.dll
    CrystalDecisions.ReportSource
        Assembly Version 12.0.2000.0
        Win32 Version 12.0.2000.840
        CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.ReportSource12.0.2000.0__692fbea5521e1304CrystalDecisions.ReportSource.dll
    CrystalDecisions.CrystalReports.Engine
        Assembly Version 12.0.2000.0
        Win32 Version 12.0.2000.840
        CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.CrystalReports.Engine12.0.2000.0__692fbea5521e1304CrystalDecisions.CrystalReports.Engine.dll
    System.Web
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3618 (GDR.050727-3600)
        CodeBase fileCWINDOWSassemblyGAC_32System.Web2.0.0.0__b03f5f7f11d50a3aSystem.Web.dll
    CrystalDecisions.ReportAppServer.CommLayer
        Assembly Version 12.0.1100.0
        Win32 Version 12.0.1100.840
        CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.CommLayer12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.CommLayer.dll
    CrystalDecisions.ReportAppServer.ClientDoc
        Assembly Version 12.0.1100.0
        Win32 Version 12.0.1100.840
        CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.ClientDoc12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.ClientDoc.dll
    CrystalDecisions.ReportAppServer.DataSetConversion
        Assembly Version 12.0.2000.0
        Win32 Version 12.0.2000.840
        CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.ReportAppServer.DataSetConversion12.0.2000.0__692fbea5521e1304CrystalDecisions.ReportAppServer.DataSetConversion.dll
    CrystalDecisions.ReportAppServer.DataDefModel
        Assembly Version 12.0.1100.0
        Win32 Version 12.0.1100.840
        CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.DataDefModel12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.DataDefModel.dll
    CrystalDecisions.ReportAppServer.Controllers
        Assembly Version 12.0.1100.0
        Win32 Version 12.0.1100.840
        CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.Controllers12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.Controllers.dll
    CrystalDecisions.ReportAppServer.CubeDefModel
        Assembly Version 12.0.1100.0
        Win32 Version 12.0.1100.840
        CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.CubeDefModel12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.CubeDefModel.dll
    CrystalDecisions.ReportAppServer.ReportDefModel
        Assembly Version 12.0.1100.0
        Win32 Version 12.0.1100.840
        CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.ReportDefModel12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.ReportDefModel.dll
    BusinessObjects.Licensing.KeycodeDecoder
        Assembly Version 12.0.1100.0
        Win32 Version 12.0.0.840
        CodeBase fileCWINDOWSassemblyGACBusinessObjects.Licensing.KeycodeDecoder12.0.1100.0__692fbea5521e1304BusinessObjects.Licensing.KeycodeDecoder.dll
    JIT Debugging
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example
    configuration
        system.windows.forms jitDebugging=true
    configuration
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

  • Crystal Report Preview and Print error

    Hi,
    I am trying my first Crystal report in SAP; I have created one report using OITE table and run it in Crystal Designer without any problem; Then I added it to SAP / Manager Crystal Report / New Report, but I get the following error message when I click the Preview and Print button every time;
    The file does exist and the location is setup correctly; I dont understand why SAP can not find the file; Any comments?
    SAP Crystal AddOn
    Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    OK  

    Hi,
    When you google on "[Could not load file or assembly CrystalDecisions|http://www.google.com/search?q=CouldnotloadfileorassemblyCrystalDecisions]" you will find quite some hits.
    One that might be important for you could be http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/b0fc930f-5fc8-4475-bfe7-ad56616e838d/
    That is depending on how the report is made.
    Another option might be
    http://www.velocityreviews.com/forums/t382557-could-not-load-file-or-assembly-crystaldecisionsweb.html
    Best regards,
    Peter

  • How to Customize Preview and Print / Sales Order Acknowledgement

    Hi,
    Our client needs some additional attributes on a sales order acknowledgement print ( Preview and Print ) output.
    The current layout is based on ONTORDDFFN.xml and ONTORDDFN.xsd
    How to customize the same to include additional attributes like Territory and Shipping instructions etc.These new fields are not there in xsd or the xml.
    Appreciate your great help.
    Regards,
    Raju

    Per Oracle you need to implement the method "getPrintExtensionXMLFragment" of  PrintExtensionObject.java. Oracle has given the flexibility that getPrintExtensionXMLFragment can either return a XMLFragement or a sql query.. If the code in getPrintExtensionXMLFragment returns a string which starts with "select" Applications code will execute that query and the corresponding XML will be appended to the main XML. This needs to be written in a CustomClass and then set to the Profile " OM: Printed Document Extension Class Name".
    I would like to know if somebody has extensively added columns at the different levels (header, lines, Addresses, Line Discounts, Charges) and the same additional cols. were implemented in the CustomClass. Let me know.
    Regards,
    Rajesh.

  • Preview and Print restrictions in PDF

    Hi there,
    I bought the Adobe Type Basics pack, and I would like to use one of the fonts that has the Preview and Print license.
    The Preview and Print license states that "Preview & Print allows the font, either fully or as a subset, to be embedded in an electronic document solely for the purpose of viewing that document on screen and/or printing that document. While a font with a Preview & Print embedding permission (either through data in the font file or the font’s license agreement) may be embedded in an electronic document, the embedded font may not be used to further edit the document it is contained in or to edit or create other documents."
    If I use this font in a PDF file meant to be sold/distributed, am I violating any of these terms? As far as I know, you can't create an "editable PDF." PDFs are, to my understanding, relatively static--so I do not understand why there is such specific wording about the prohibition of "further edits."
    I am using MAC Pages, so I could use the additional password protection option (under the "Save as PDF" not "Export as PDF" section)  to prevent people from "copying text, images, and other content." I presume "other content" covers fonts, but I'm not sure. And I don't know if the password encryption will prevent "editing." Technically doing so would be encrypting the PDF, I believe. However, this would not be bulletproof protection. And I do not know if that will prevent font extraction.
    I would appreciate some help. From what I understand, all these points seem more relevant for PSD, AI, EPS and other workflow-type files.
    Cheers

    Thanks for posing this question.
    Although fonts have embedding restrictions baked into the font such as preview and print, the real restrictions are to be found in a font's EULA (End User License Agreement) which may have other restrictions including payment of royalties on copies of PDF files or any other asset in which the fonts are embedded.
    In the case of any and all fonts sourced from Adobe, not only do you have at least preview and print embedding privileges, but there are no restrictions or royalties required for distribution of files (i.e., PDF, EPS, eBooks, etc.) in which the Adobe fonts are embedded.
    In other words, you are “good to go” with Adobe fonts. On the other hand, make no assumption about fonts sourced from other font foundries. Many do not provide such liberal terms!
              - Dov

  • "Preview and Print " report extension in Order Management

    Looking for help on how to add extra information to this report.. I did setup the profile to implement the how to implement PrintExtensionObject interface with method getPrintExtensionXMLFragment.... and created the class file and compiled on Java_top. ( Am very new to java)
    -- enabled the logs
    -selected an order in OM and via action button (preview and print)
    --Shows error message "An error occured during the PDF document generation. Please contact your system Administrator."
    As per the fnd logs table (SELECT * FROM fnd_log_messages WHERE message_text LIKE '%PrintAM:writeBusinessDoc%';)
    shows the following ..
    PrintAM:writeBusinessDoc: Checking for Customer Extension Class
    PrintAM:writeBusinessDoc: Custom Extension Class Found
    PrintAM:writeBusinessDoc:Successfully instantiated the Custom Extension Class
    PrintAM:writeBusinessDoc: Retrieving Custom Extension XML failed
    So I am sure that the issue is on the class which I made.. but not sure what is the cause (Again as mentioned I am new to java) and can anyone help me on this..
    ( I did check the PrintAMImpl.java which calls this profile (Custom class) and can see the above message.
    (Oracle PrintAMImp.java related codes are this
    s29 = ((OADBTransaction)getDBTransaction()).getProfile("ONT_PRINT_CUSTOMER_EXTN_OBJECT");
    if(s29 != null || s29 == "")
    if(flag3)
    logfile.writeln("PrintAM:writeBusinessDoc: Custom Extension Class Found", 1);
    logfile.writeln("PrintAM:writeBusinessDoc: Instantiating the Custom extension class", 1);
    if(flag6)
    oadbtransaction.writeDiagnostics(s6, "PrintAM:writeBusinessDoc: Custom Extension Class Found", 1);
    oadbtransaction.writeDiagnostics(s6, "PrintAM:writeBusinessDoc: Instantiating the Custom extension class", 1);
    PrintExtensionObject printextensionobject = (PrintExtensionObject)Class.forName(s29).newInstance();
    if(flag6)
    oadbtransaction.writeDiagnostics(s6, "PrintAM:writeBusinessDoc:Successfully instantiated the Custom Extension Class", 1);
    if(flag3)
    logfile.writeln("PrintAM:writeBusinessDoc: Successfully instantiated the Custom Extension Class", 1);
    byte abyte0[] = printextensionobject.getPrintExtensionXMLFragment(s, s1).toByteArray();
    if(flag6)
    oadbtransaction.writeDiagnostics(s6, "PrintAM:writeBusinessDoc:Getting the data from the user impl class", 1);
    if(flag3)
    logfile.writeln("PrintAM:writeBusinessDoc: Getting the data from the user impl class", 1);
    bytearrayoutputstream.write(abyte0);
    if(flag6)
    oadbtransaction.writeDiagnostics(s6, "PrintAM:writeBusinessDoc:Writing the data to the main xml", 1);
    if(flag3)
    logfile.writeln("PrintAM:writeBusinessDoc: Writing the data to the main xml", 1);
    } else
    if(flag3)
    logfile.writeln("PrintAM:writeBusinessDoc: No Custom Extension Class Found", 1);
    if(flag6)
    oadbtransaction.writeDiagnostics(s6, "PrintAM:writeBusinessDoc: No Custom Extension Class Found", 1);
    catch(Exception exception1)
    if(flag2)
    logfile.writeln((new StringBuilder()).append("PrintAM:writeBusinessDoc: Retrieving Custom Extension XML failed for ").append(s29).append(" with Exception \n").append(exception1.toString()).toString(), 1);
    if(flag6)
    oadbtransaction.writeDiagnostics(s6, "PrintAM:writeBusinessDoc: Retrieving Custom Extension XML failed", 1);
    **********************THIS IS CUSTOM CLASS I WAS TRYING TO DO ********************************(not a java person)
    package oracle.apps.ont.print.server;
    import com.sun.java.util.collections.HashMap;
    import java.io.*;
    import java.sql.SQLException;
    import java.util.Hashtable;
    import java.util.Properties;
    import oracle.apps.fnd.common.AppsContext;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.common.EnvironmentStore;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.cp.request.CpContext;
    import oracle.apps.fnd.cp.request.LogFile;
    import oracle.apps.fnd.cp.request.OutFile;
    import oracle.apps.fnd.cp.request.JavaConcurrentProgram;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.OAFwkConstants;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.apps.fnd.framework.server.OADBTransactionImpl;
    import oracle.apps.fnd.framework.*;
    import oracle.apps.okc.printing.server.ContractTermsXMLGenerator;
    import oracle.apps.okc.util.server.TermsConstants;
    import oracle.apps.okc.util.server.TermsUtil;
    import oracle.apps.ont.print.blanket.server.HeaderVOImpl;
    import oracle.apps.ont.print.blanket.server.HeaderVORowImpl;
    import oracle.apps.ont.print.blanket.server.LinesVOImpl;
    import oracle.apps.ont.print.order.server.EndCustomerVOImpl;
    import oracle.apps.ont.print.server.PrintExtensionObject;
    import oracle.apps.qp.print.blanket.server.ModAtrbsVOImpl;
    import oracle.apps.qp.print.blanket.server.ModHdrVOImpl;
    import oracle.apps.qp.print.blanket.server.ModLinesVOImpl;
    import oracle.apps.qp.print.blanket.server.ModPrBrkVOImpl;
    import oracle.apps.qp.print.blanket.server.PrlAtrbsVOImpl;
    import oracle.apps.qp.print.blanket.server.PrlHdrVOImpl;
    import oracle.apps.qp.print.blanket.server.PrlLinesVOImpl;
    import oracle.apps.qp.print.blanket.server.PrlPrBrkVOImpl;
    import oracle.apps.xdo.XDOException;
    import oracle.apps.xdo.oa.schema.server.Template;
    import oracle.apps.xdo.oa.schema.server.TemplateHelper;
    import oracle.apps.xdo.template.FOProcessor;
    import oracle.apps.xdo.template.RTFProcessor;
    import oracle.jbo.RowIterator;
    import oracle.jbo.RowSet;
    import oracle.jbo.XMLInterface;
    import oracle.jbo.domain.BaseLobDomain;
    import oracle.jbo.domain.BlobDomain;
    import oracle.jbo.domain.Number;
    import oracle.jbo.server.ApplicationModuleImpl;
    import oracle.jbo.server.DBTransaction;
    import oracle.jbo.server.ViewLinkImpl;
    import oracle.jdbc.OracleTypes;
    import oracle.jdbc.driver.OracleCallableStatement;
    import oracle.jdbc.driver.OraclePreparedStatement;
    import oracle.jdbc.driver.OracleResultSet;
    import oracle.jdbc.driver.OracleConnection;
    import oracle.xml.parser.v2.XMLNode;
    import java.lang.*;
    import java.sql.*;
    public class KciSoPrintClass implements PrintExtensionObject
    KciSoPrintClass()
    public ByteArrayOutputStream getPrintExtensionXMLFragment(String s, String s1)
    ByteArrayOutputStream bytearrayoutputstream = new ByteArrayOutputStream();
    String s2 = null;
    String s3 = null;
    String s40 ="KciCustomClass";
    byte abyte0[] = null;
    byte abyte1[] = null;
    OAApplicationModuleImpl a1=new OAApplicationModuleImpl();
    OADBTransaction dbtransaction = (OADBTransaction)a1.getTransaction();
    dbtransaction.writeDiagnostics(s40, "Sujo John"+ s,1);
    try
    //OAApplicationModuleImpl a1=new OAApplicationModuleImpl();
    //OADBTransaction dbtransaction = (OADBTransaction)a1.getTransaction();
    Statement stmt = dbtransaction.createStatement(1);
    System.out.println("Testline1");
    String str = "select attribute7, attribute8 from oe_order_headers_all where header_id = " + s + " and 'O' = " + s1;
    System.out.println("Testline2");
    ResultSet resultset = stmt.executeQuery(str);
    dbtransaction.writeDiagnostics(s40, "nessDoc method"+ s,1);
    dbtransaction.writeDiagnostics(s40, "START:Prinoc method"+ s1,1);
    //OAApplicationModule am = pageContext.getApplicationModule(webBean);
    //OracleConnection conn = (OracleConnection)dbtransaction.getJdbcConnection();
    //OracleConnection conn = (OracleConnection)dbtransaction.getLocalJDBCConnection();
    //Connection conn = (Connection)am.getOADBTransaction();
    //DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    //Connection conn = new oracle.jdbc.driver.OracleDriver().defaultConnection ();
    //Class.forName("oracle.jdbc.driver.OracleDriver");
    System.out.println("Sujo");
    //Connection conn = DriverManager.getConnection("jdbc:oracle:thin:APPS/[email protected]:1533");
    //System.out.println("Sujo2");
    //String s41 = "select shipping_instructions,attribute8 from OE_ORDER_HEADERS_ALL where header_id = " + s + " and 'O' = " + s1;
    //System.out.println("Sujo3");
    //Statement statement = conn.createStatement();
    //dbtransaction.createStatement();
    //ResultSet resultset = statement.executeQuery(s41);
    if(resultset.next())
    s2 = resultset.getString("attribute7");
    s3 = resultset.getString("attribute8");
    catch(SQLException sqlexception)
    sqlexception.printStackTrace();
    catch (Exception e)
    System.err.println("Got an exception! ");
    System.err.println(e.getMessage());
    try
    //s2 = "abc";
    if(s2 != null)
    abyte0 = s2.getBytes("UTF-8");
    //s3 = "abc1";
    if(s3 != null)
    abyte1 = s3.getBytes("UTF-8");
    bytearrayoutputstream.write("<attribute7>".getBytes("UTF-8"));
    bytearrayoutputstream.write(abyte0);
    bytearrayoutputstream.write("</attribute7>".getBytes("UTF-8"));
    bytearrayoutputstream.write("<Attribute8>".getBytes("UTF-8"));
    bytearrayoutputstream.write(abyte1);
    bytearrayoutputstream.write("</Attribute8>".getBytes("UTF-8"));
    catch(IOException ioexception)
    ioexception.printStackTrace();
    // dbtransaction.writeDiagnostics(s40, "START:PrintAM:writeBusinessDoc method"+ abyte0[0]);
    // dbtransaction.writeDiagnostics(s40, "START:PrintAM:writeBusinessDoc method"+ abyte1);
    return bytearrayoutputstream;
    Any help will be appreciated

    There is a custom extension class available for this "Print and Priview" report. You can implement that and return the SQL Query in the class so that it gets executed and adds the custom attribute information at the end of XML file and you can modify the layout to add the information. The extended java class can return "select statement" or XML data. If it returns select statement code executes the query and adds the xml data at the end or returned XML data will be added. Look for Profile "OM: Printed Document Extension Class Name"

Maybe you are looking for

  • Pricing Procedure vs Tax Procedure

    Dear all, The scenario is as follows My company purchase material from a trading company which imports the materials from other countries. In PO we have maintained import pricing procedure so that we can take the duties paid by trading company during

  • HT4993 if your screen cracks, can you get a replacement screen installed on the iphone/

    if your screen cracks, can you get a replacement screen installed on the same phone?

  • Tracking changes

    Hi There, Looking for advice here. We have budget scenario, for example Budget11, so people send budget11 number throuhg excel, then there more changes on the budget11, they need to re-send again. What is the best way to track the changes among verso

  • Application log for material master

    hi, could anyone tell me the transaction code to see the application log of material master created through IDOCs? regard

  • Reg:Pricing condition Updation

    Hi, I need to modify the sales order line item condition type. just i want to insert one new condition type. thro'background process... Please suggest which bapi can i use... thanks jb