Printing with FOP within BC4J

Hello,
does anyone get a FOP integration to work within a BC4J application (Jdev 9.0.3)?
My issue:
When starting my PrintProcess class from a stand-alone class(static void main) everything works fine (incl. creation of a PDF document).
The same method called within my BC4J application causes
a nullpointer-Exception while transforming the same XML.
I double-checked the sort order of my selected libraries, but with no success.
Here is the stack trace:
04/02/20 15:57:49 Tutalii: D:\development\fop-0.20.5\lib\fop.jar archive
04/02/20 15:57:49 [INFO] [1]
04/02/20 15:57:49 java.lang.NullPointerException
04/02/20 15:57:49      at oracle.xml.jaxp.JXTransformer.reportXSLException(JXTransformer.java:769)
04/02/20 15:57:49      at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:342)
04/02/20 15:57:49      at hvbg.common.printer.HvbgPDFPrinter.erzeugenPDF(HvbgPDFPrinter.java:82)
Does JDeveloper use a different XML parser when running the application on the embedded OC4J server?
How can I set-up the embedded server to use the required XML parsers from XALAN (if this is the error) instead of this from Oracle?
I appreciate every tip,
Stefan

Hello All, we are developing an application to list in PDF format the contents of a data base. We are using FOP and it works perfectly with a TomCat server in a PC, but when running it in BC4J it gives an almost identical error you guys describe in your mails. But we get an additional one . See below :
05/11/28 10:03:01 pdf_procesarPDFbbdd.test?w_p_con_numcon=05000649&x_p_idses=ac141412ce562fb15917cbc48bd89ba8afc527dcd43
XSL-1110: (Fatal Error) Invalid StreamResult set in TransformerHandler.
05/11/28 10:03:03 Error de transformerE
05/11/28 10:03:03 Input: XML (/opt/ias/ias904/j2ee/home/applications/exp28112005/exp28112005/PDFs/data.xml)
05/11/28 10:03:03 Stylesheet: /opt/ias/ias904/j2ee/home/applications/exp28112005/exp28112005/PDFs/pdfGen.xsl
05/11/28 10:03:03 Output: PDF (/opt/ias/ias904/j2ee/home/applications/exp28112005/exp28112005/PDFs/ResultXML2PDF.pdf)
05/11/28 10:03:03 Transforming...
05/11/28 10:03:20 Tutalii: /opt/ias/ias904/j2ee/home/applications/exp28112005/exp28112005/WEB-INF/lib/fop.jar archive
05/11/28 10:03:20 [INFO] [1]
05/11/28 10:03:20 LOG_PRODUCTION:28/11/2005-10:03:20-28/11/2005-10:03:20-Error executing XML operation:(pdf_procesarPDFbbdd,null)
05/11/28 10:03:20 Exception follows:
05/11/28 10:03:20 java.lang.NullPointerException
05/11/28 10:03:20      at oracle.xml.jaxp.JXTransformer.reportXSLException(JXTransformer.java:769)
05/11/28 10:03:20      at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:342)
05/11/28 10:03:20      at informesPDF.XML2PDF.convertXML2PDF(XML2PDF.java:112)
05/11/28 10:03:20      at informesPDF.processarPDF._processXML(processarPDF.java:189)
05/11/28 10:03:20      at org.leaf.XMLOperation.perform(XMLOperation.java:163)
05/11/28 10:03:20      at org.leaf.LEAFManager.doOperacion(LEAFManager.java:804)
05/11/28 10:03:20      at org.leaf.LEAFManager.doPost(LEAFManager.java:279)
05/11/28 10:03:20      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
05/11/28 10:03:20      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
05/11/28 10:03:20      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
05/11/28 10:03:20      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
05/11/28 10:03:20      at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
05/11/28 10:03:20      at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:257)
05/11/28 10:03:20      at informesPDF.GenerarDatosServlet.doPost(GenerarDatosServlet.java:174)
05/11/28 10:03:20      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
05/11/28 10:03:20      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
05/11/28 10:03:20      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
05/11/28 10:03:20      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
05/11/28 10:03:20      at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
05/11/28 10:03:20      at org.leaf.util.HttpUtil.redirect(HttpUtil.java:207)
05/11/28 10:03:20      at org.leaf.util.HttpUtil.redirect(HttpUtil.java:286)
05/11/28 10:03:20      at org.leaf.util.HttpUtil.redirect(HttpUtil.java:241)
05/11/28 10:03:20      at org.leaf.impl.ForwardOperation.perform(ForwardOperation.java:86)
05/11/28 10:03:20      at org.leaf.LEAFManager.doOperacion(LEAFManager.java:804)
05/11/28 10:03:20      at org.leaf.LEAFManager.doPost(LEAFManager.java:279)
05/11/28 10:03:20      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
05/11/28 10:03:20      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
05/11/28 10:03:20      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
05/11/28 10:03:20      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
05/11/28 10:03:20      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
05/11/28 10:03:20      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
05/11/28 10:03:20      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
05/11/28 10:03:20      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
05/11/28 10:03:20      at java.lang.Thread.run(Thread.java:536)
I guess the second error should be solved changing the system parameter to set xerces as the XML parser, but what about the error
XSL-1110: (Fatal Error) Invalid StreamResult set in TransformerHandler.
Has anyone got this eror in a BC4J ? Could anyone please help us ?
thanks
Francisco

Similar Messages

  • Printing with fop.war (ora-06502)

    Dear forum users,
    i need help with printing with fop comes within apex.
    I get error ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    select length(dbms_xmlgen.getxml('select print_kopf.key,
    print_kopf.print_kopfid,
    print_kopf.parameter2,
    print_kopf.indexnr,
    print_kopf.logo_mimetype,
    print_kopf.formularid,
    print_kopf.formular_text,
    print_kopf.Firma_Anschrift,
    print_kopf.KL_001,
    print_kopf.KV_001,
    print_kopf.KL_002,
    print_kopf.KV_002,
    print_kopf.KL_003,
    print_kopf.KV_003,
    print_kopf.KL_004,
    print_kopf.KV_004,
    print_kopf.KL_005,
    print_kopf.KV_005,
    print_kopf.KL_006,
    print_kopf.KV_006,
    print_kopf.KL_007,
    print_kopf.KV_007,
    print_kopf.KL_008,
    print_kopf.KV_008,
    print_kopf.KL_009,
    print_kopf.KV_009,
    print_kopf.KL_010,
    print_kopf.KV_010,
    print_kopf.KL_011,
    print_kopf.KV_011,
    print_kopf.KL_012,
    print_kopf.KV_012,
    print_fuss.FL_001,
    print_fuss.FV_001,
    print_fuss.FL_002,
    print_fuss.FV_002,
    print_fuss.FL_003,
    print_fuss.FV_003,
    print_fuss.FL_004,
    print_fuss.FV_004,
    print_fuss.FL_005,
    print_fuss.FV_005,
    print_fuss.FL_006,
    print_fuss.FV_006,
    print_fuss.FL_007,
    print_fuss.FV_007,
    print_fuss.FL_008,
    print_fuss.FV_008,
    print_fuss.FL_009,
    print_fuss.FV_009,
    print_fuss.FL_010,
    print_fuss.FV_010,
    print_fuss.FL_011,
    print_fuss.FV_011,
    print_fuss.FL_012,
    print_fuss.FV_012,
    print_fuss.FL_013,
    print_fuss.FV_013,
    print_fuss.FL_014,
    print_fuss.FV_014,
    print_fuss.FL_015,
    print_fuss.FV_015,
    print_fuss.FL_016,
    print_fuss.FV_016,
    print_fuss.FL_017,
    print_fuss.FV_017,
    print_fuss.FL_018,
    print_fuss.FV_018,
    print_fuss.FL_019,
    print_fuss.FV_019,
    print_fuss.FL_020,
    print_fuss.FV_020
    from dhw.print_kopf,dhw.print_fuss
    where print_kopf.print_kopfid=print_fuss.print_kopfid
    order by print_kopf.print_kopfid,print_kopf.indexnr')) XML from dual;
    result: 7154
    I have deployed fop.war with apache tomcat. When i reduce the select, it will work.
    After searching against this error i found that the length should be lower than 32k.
    So i have tested my select with this above and the regular length is 7154.
    So, what reason throws this error ?
    Any ideas ?
    Thanks for help.
    Frank

    no not yet with Application Server.
    I have tried to compare the settings to another installation with a separeted oc4j as described in the howto. But at the moment i found no mistakes.
    If i call the url adresse like:
    http://localhost:18101/fop/apex_fop.jsp
    i get:
    500 Internal Server Error
    Servlet error: java.lang.ClassNotFoundException: fop.apex__fop
    I installed it another time with these settings:
    Web Anwendung= .../fop.war (selected war file from apex install directory)
    Anwendungsname= fop
    URL zuordnen= /fop
    I would like to know if its possible to use the fop.war out of apex install directory with the Application server? In the standalone version (as described in howto) it works. But if you install it there you don't need to define an URL.
    Is the URL /fop correct or what do i have to insert there?

  • PDF Printing with FOP 0.94

    Hi,
    are there any examples about printing apex report with FOP 0.94?
    Thanks,
    Sergio

    Hi!
    I am trying to get this solution working on a LINUX system using TOMCAT 6.0.18 rather than OC4J which we don't have a license for. I have tried both FOP 0.94 and 0.95 and seem to get similar problems. Here is the error message:
    org.apache.jasper.JasperException: An exception occurred processing JSP page /apex_fop.jsp at line 28
    25: // Setup XSLT
    26: System.setProperty("javax.xml.transform.TransformerFactory","org.apache.xalan.processor.TransformerFactoryImpl");
    27: TransformerFactory factory = TransformerFactory.newInstance();
    28: Transformer transformer = factory.newTransformer(new StreamSource(new java.io.StringReader(request.getParameter("template"))));
    29:
    30: // Set the value of a <param> in the stylesheet
    31: transformer.setParameter("versionParam", "2.0");
    Stacktrace:
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    root cause
    java.lang.NullPointerException
         java.io.StringReader.<init>(StringReader.java:33)
         org.apache.jsp.apex_005ffop_jsp._jspService(apex_005ffop_jsp.java:92)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    Any hints, tips, suggestions, etc. gratefully welcomed!
    Dave Venus

  • PDF Printing with FOP/Apache Tomcat/J4LFOPServer in windows

    Hi everyone,
    I have been learning to create pdf report with Apex 4.2 and BI Publisher 10 which I have been successful with. Now I like to learn how to create pdf reports using FOP thinking of the customers who will not spend money on BI Publisher. I have gone through the documents and procedures described in Java 4 Less. http://www.java4less.com/apache/fop.php and http://www.java4less.com/fopdesigner/fodesigner.php?info=apex. Configured Apex instance setting accordingly.
    For default layout a tabular pdf report is created.
    I have created an xsl-fo file named Formatted_report.fo on same query and xml file from report query with BI Desktop. But when I try to print a formatted output with Formatted_report.fo report layout it does not work(J4LFOPServer ). but same layout with .rtf template works fine (BI Publisher Print Server).
    Please help
    Hasan Al Mamun
    Programmer/Assistant Systems Analyst
    Bangladesh Bank
    Dhaka, Bangladesh
    Edited by: 913230 on Dec 15, 2012 9:37 AM

    hi,
    if you use the J4lFOPServer as you write, you can set it in debug mode as described here:
    http://www.java4less.com/apache/fop.php?info=faq#debug
    you will then see the XML data and the FO data in the server window. Maybe you can see there if there is an error and that can help you fixing it.
    Jon

  • I cannot print PDF files within Firefox. I can with Internet Explorer.

    I cannot print PDF files within Firefox. I can with Internet Explorer.

    https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox
    https://support.mozilla.com/en-US/kb/Opening+PDF+files+within+Firefox

  • Apex with XE10g/Tomcat 6.0.13 PDF Print with Apex  FOP.WAR

    Apex with XE10g/Tomcat 6.0.13 PDF Print with Apex fop.war/apex_fop.jsp
    Hello,
    Excuse me bad english.
    I have a problem with Oracle XE and Printing from Reports over Tomcat 6.0.13.
    I have update Oracle XE with Apex 3.1 and it works fine.
    Now i have tried to Print a report to PDF. So i have deployed the FOP.WAR from Apex Utilities under Tomcat.
    I see in Tomcat Manager http://localhost:8888/manager/html/list that the FOO
    has been deployed and is running.
    If i try to print then i get this Message down to this page.
    Can anybody give me a hint to solve this problem???
    Hint
    To resolve the problem i have installed Oracle OC4J with same Port and deployed
    the same foo.war file.
    Then works and all printing from Oracle Apex work fine and okay.
    So i thing the Apex and Oracle work correct.
    But we have a small Application so i would prefer to work with Tomcat a application Server.
    Becaus of previous Errors have copied some *.jar files to C:\tomcat6.0.13\lib
    but i thing this is not the Problem.
    18.03.2007 18:12 546.765 xml.jar
    18.03.2007 18:07 634.772 xmlmesg.jar
    18.03.2007 18:14 1.238.899 xmlparserv2.jar
    10.06.2007 22:59 674.005 xquery.jar
    18.03.2007 18:11 3.059 xsqlserializers.jar
    18.03.2007 18:14 194.691 xsu12.jar
    10.11.2005 13:13 7.043.169 tools.jar
    .... and preinstalled files
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: java.lang.IllegalStateException: getOutputStream() has already been called for this response
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:429)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    java.lang.IllegalStateException: getOutputStream() has already been called for this response
    org.apache.catalina.connector.Response.getWriter(Response.java:604)
    org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:198)
    org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:125)
    org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:118)
    org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:186)
    org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:118)
    org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:77)
    org.apache.jsp.apex_005ffop_jsp._jspService(apex_005ffop_jsp.java:120)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    ------------------------------------------------------------------------

    at the end of the apex_fop.jsp put the follow code just before the driver.run(); line:
    out.clear();
    out = pageContext.pushBody();
    and explanation of why this works is here:
    http://forums.sun.com/thread.jspa?threadID=5307942

  • Need instruction on how to print with HP Officejet 6210

    this is with a powerbook G4 1.5, OS 10.4.5, and an HP Officejet 6210 with newest drivers (released 8/06).
    I've used an HP PSC950 for years, connected to my AEBS with USB, using Felix's instructions for setting up the foomatic/hpijs driver, always worked great. Once in a while it would go out on me, rarely, and i'd reinstall the driver and it would work again.
    Several months ago, i was trying to print something on Mapquest and i gave too many commands at once and the system got confused and ever since then, it won't print wirelessly, reinstalling the driver didnt' help.
    Also, i'm not sure i'm adapting Felix's instructions to the new OS which doesn't exactly match the instructions.
    Anyway, haven't had wireless printing in months. Finally tonight, i went out and got a new printer, the HP Officejet 6210, first checking and finding it on the compatability list, both Felix's list and HP's list.
    I set it up, it works fine with direct computer/printer USB connection.
    I just don't know how to set up the Mac to print with the 6210. I have the 6210 connected to the AEBS with USB cable. I dont know what else to do.
    I went to an HP page where it gives step by step instructions for USB to Airport instructions.
    http://h10025.www1.hp.com/ewfrf/wc/document?lc=en&cc=us&docname=c00592751&produc t=421991&dlc=en&lang=en
    Step one and two are OK. Step 3 says:
    "Turn on the printer and verify that the wireless mode is enabled. If you need more information on how to enable the wireless mode, see the User Manual which shipped with the printer."
    I have no clue about how to verify that the wireless mode is enabled. In the index of the 6210 User Manual there is not a word about 'wireless.' The word 'network' isn't in there either. Under 'Connection' it doesn't mention anything about wireless printing. So i'm not really able to do this step.
    I tried to do the other steps but if they are talking about the Airport pull down menu in Step 4, there is no printer listed there. I tried to follow step 5 but it leads nowhere.
    Is there some way to set up the Mac the way i set it up for the foomatic/hpijs driver for the PSC 950, so that i can select 10.0.1.1 in the printer menu and print? I tried going into the set up utility and chose Add and chose internet IPP printing and wanted to choose the HP 6210 driver but it wasn't available. There was an HP 6200 series foomatic/hpijs driver--what does that mean? Am i supposed to use that? I chose that and tried to print from 10.0.1.1 but in Print Jobs it just says "10.0.1.1 is busy, will retry in 30 seconds." In other words, it doesn't work. This is what happened when i tried to get the PSC 950 working again too.
    Anyway, the HP instructions don't have anything to do with any of this. They just say to make sure the wireless mode is on and then go to Safari and choose Bonjour and various other things that when i try them, they aren't available as choices.
    I know that someone on these forums was able to use Bonjour to print with their laptop so it must be possible (with Windows however).
    http://discussions.apple.com/thread.jspa?messageID=1494092&#1494092
    Plus HP says they tested the connection with Mac OS and it works. So it must just be a matter of some knowledge i am lacking that would get it working.
    If the printer won't work, i have to return it within 14 days so I need to get on it and try to determine if it will work.
    Could there be a problem with my AEBS, which would explain why i was never able to get my PSC950 to print wirelessly again after that crash on Mapquest?
    Do i need to reinstall the OS?
    I seriously don't think this printer has a wireless mode, otherwise it would be mentioned in the manual. I ran through the menu, tools and preferences (on the printer)--nothing about wireless mode. But why should it need a wireless mode if it's connected by USB cable to the AEBS? Isn't this just a matter of setting up the Mac software to print with Airport?

    i have duplicate posts because when i tried to post the comments on 'question answered', i got a red error message saying i had violated no posting within 30 seconds of the last post. I carefully counted out 30 seconds and then waited some more, but i got the same error when i tried to post it again. so then i clicked on the Reload or Refresh browser button, "are you sure you want to send this page again?" yes. then i tried sending the answer comments again and it posted, a long with two duplicates.
    What ever happened to the Edit and Delete post buttons that used to be available on this site, for a short time after posting?

  • Using a Zebra LP-2844 Printer with Paypal/eBay?

    As we are trying to streamline our online business, we purchased a label printer with thermal cabiblities to save on ink. Little did we know that it would be a gigantic nightmare. Our first expeirence was with a Brother printer, which turned out to be not compatible with eBay. Decided with the Zebra after reading some great reviews, and it turns out it isn't natively supported by Zebra either.  However, I have read of people that are using it successfully.
    To install it, I just plugged it in and used the Native Zebra EPL2 drivers that are included with Mavericks OS.
    However, now that I'm trying to actually print something with Paypal, I can't get the labels to print correctly. It won't all fit on one label, even if I change the setting to equal the label size of 4 x 6.
    I did some research about CUPS, but am unsure if I'm supposed to use it to install ADDITIONAL drivers, or if it's just a way to tweak settings that aren't available in system preferences. I changed the default setting to 4 x 6 within CUPS, but it still doesn't fit on the labels in Paypal.
    I've spent days now trying to get printing set up more efficently, and cannot figure this out. It is a huge nightmare.
    Any suggestions (is there ANY native supported thermal printer that works with eBay paypal?), should I use Endicia, is that a better option? Should I try installing additional drivers, if so from where? I'm just stumped at this point and in a little over my head.

    You might have to partition your drive on your MAC and add Windows OS as a second operating system, then add Google Chrome to Windows. I beleive you have to reboot to go between the two OS's.

  • I would like to print out the icon and title of each of my apps to another document for printing and sharing within my family

    I would like to print out the icon and title of each of my IOS apps to another document for printing and sharing within my family.  My son has my old iPod touch so I erased it so he could put whatever games he wants to play on that I used to play with.  It is difficult to download every game at one time because there is too much to download at one time.  I have many hundreds of apps.  One way I found was to create a screen grab of each page in iTunes  then open it in Preview contact sheet but that is really tiny unreadable image of each screen.  I also tried importing a screen shot of the contact sheet into Paint 2 and magnifying it on several pages but that is really blurry.  The ideal solution would be to import the icon and text to another app or to provide a print list of apps solution within iTunes.

    Create iPad screen shots by briefly pressing the home and on/off buttons together.  You will hear a shutter click sound and find a screen shot on your iPad's Camera Roll.  You can then print these screen shots as you would any iPad photos.
    UPDATE: I assumed you had an iPad.  Hopefully your iOS device does have an on/off and home button and is capable of producing screen shots.

  • File name to print with your image (PS3)

    Hi,
    I'm working on about 20ish photoshop images that have a specific name to match up to a diagram, so when I print them I need the file name lable to appear on the print with it. Additionally when I send them off to clients, I need to have that file name lable visable on the pg of the pdf while looking at the image so they know which one is which. The collected multi pg pdf needs to be under 3megs (5 mgs max) so it is easily emailable.
    I'm trying to find an automated or an easier way to do this than what I am doing one by one now. I tried to set up a PS action which I would batch to all open files but, becuase of the two step print dialogue it gives me an error saying all the settings weren't recorded, thus it doesn't work.
    What I'm doing now:
    1. Cmd+P to print, in the print dialogue under the "output" drop down I have "Labels" checked
    2. Hit print, then my printer driver dialogue box pops up, then in the lower left corner I click the button "PDF" and "Save as a PDF"  (This produces an acceptable quality pdf at a sm size)
    3. I'm able to save it by the file name with .pdf extension and specify the folder to save it into.
    4. Repeat 20ish times for each file
    5. In Acrobat create a pdf out of multiple files
    6. Then make a print of all of them together for myself
    7. Email to client
    Can anyone help me figure out a way to stream line this procedure, there must be a way, this is way to time consuming?
    Thanks in advance!

    Thanks Dave but that is a very restricting way of doing this. Anyway I have worked it out.
    Get script "AddFilename20pt.jsx" from http://www.jkost.com/photoshop.html
    Place script in scripts folder in SC5
    restart PS
    Use script within an action to size and place the file name where you want over the image. Bevel emboss, drop shadow do what you want with it.
    It is found under > File > Scripts > AddFilename20t
    Done.

  • Apex 4.2.2 PDF Printing with Apex 2.0 Listener

    We recently installed Apex 4.2 with the Apex 2.0 Listener and can successfully print interactive reports and classic reports to PDF.  I viewed Mark Sewtz PDF Printing with Apex 4.2.2 and saw how he is using third party tools to format reports.  We have also looked into the Jasper Report Integration Toolkit, but have only got it working on the Tomcat environment, not WebLogic.
    I'm trying to download a classic report in PDF format with our logo displayed at the header.  In the print attributes section, there is a section for header.  I've tried adding the following in the header section:
    <img src = "http://hr.unm.edu/common/images/unm_dept_logo.gif">
    No Logo Prints
    #APP_IMAGES#unm_dept_logo.gif
    Prints in header:
    wwv_flow_file_mgr.get_file?
    p_security_group_id=3930016164431413%26p_flow_id=106%26p_fname=unm_dept_logo.gif
    #WORKSPACE_IMAGES#unm_dept_logo.gif
    Prints in header: /i/unm_dept_logo.gif
    I've also added the logo in the report region, prior to the columns printing, but no logo downloads to PDF.
    Does the Apex Listener only render text?  Is there any way to get the logo to print in the header without using a third party tool?  Any suggestions are greatly appreciated.  Thanks!

    Hi,
    There are different options to include images in your PDF exports. What's important to understand though is that with the PDF export functionality we separate the formatting from the actual data. So the formatting is defined in your RTF or XSL-FO templates and the data is stored in the XML that APEX generates based on your report data. We have several formatting options exposed on the print attributes pages, i.e. you can define page formatting, dimensions, fonts, colors, etc - all of these are applied to what we call generic XSL-FO templates. Those templates are generic in that they can be used with different reports, having variable numbers of columns and variable column names. Those formatting attributes can not be used however with named column templates, such as those that you generate with BI Publisher or those third-party tools I talked about in my Blog.
    So if you want to use these formatting options, you need a generic report layout - which you get out of the box using the built-in layout. But you also have the option to create your own generic report layout (see Shared Components -> Report Layouts). When creating a custom generic report layout, you'll get a copy of the built-in layout as a starting point. Once created, you can manually modify this layout to meet your needs. As you edit this template, you'll find a number of #....# substitution strings. This is what APEX uses at runtime to fill in your formatting values as well as to assemble your generic layout based on your result set.
    Now one way to include your own image would be to add an image reference to this generic report layout. You can't use the page header or footer attributes on the print attributes page for that because the FOP rendering engine does not understand or translate HTML. It renders XSL-FO. So to add your own image reference, you need to use XSL-FO mark-up. If you want to add an image to your page header, look for the #PAGE_HEADER# substitution string in the "Page Template" attribute of your generic report layout. You should be able to find the following:
    <fo:inline xsl:use-attribute-sets="page-header">
        #PAGE_HEADER#
    </fo:inline>
    Now assuming you have a file stored in your local images directory on localhost, you could add the following external graphic reference:
    <fo:inline xsl:use-attribute-sets="page-header">
        <fo:external-graphic src="http://localhost:8080/i/cloud.gif" content-height="scale-to-fit" height="30px"  content-width="150px" scaling="non-uniform"/>
        #PAGE_HEADER#
    </fo:inline>
    Once you're done with your chanages, save the report layout and edit your report. Go to the print attributes and select your generic report layout and then run your report page and export the PDF. Provided the APEX Listener is able to find this external image reference, it will now be included above your report in your PDF document.
    Regards,
    Marc

  • Printing with presets

    Hello Community,
    i want to print from AI through a script. No problem so far, but always the windows standard printer is used. But i want to use another printer for some printings, or use other presets. There are several named printer presets defined in my AI, "Standard", "OKI_C_9500", "OKI_C_9650" and so on.
    After a search i found a solution to print with presets from Indesign, but not from Illustrator. In AI are no aceesible "PrinterPresets" like in Indesign.
    So how i can print with named presets from AI? Other solution could be just to change the active printer within the script for the actual printing.
    Best regards
    Torsten

    Hi,
    yes this is it. After i changed my Computer i lost the PDF "illustrator_scripting_reference_javascript". And in the "ExtendScript Toolkit" Folder it is just "JavaScript Tools Guide CS4" and "Adobe Intro to Scripting.
    Now i found the PDF´s again :-)
    Thanks a lot
    Torsten

  • MG5350 and Greyscale printing with black.

    Hello, I have a Pixma MG5350 and am wondering if there is a way I can print in greyscale using only the black ink?
    Like alot of pritners I have had before when I select the "greyscale" option and print it converys all the colors on the page into shades of gret but it still uses all the color cartridges to print those shades.
    I know printing with only black will be of a lower quality but i'm not converned with that, and in alot of the pages I actually find using the colors to print the greys annoying as i'm reading this B&W document but i'm seeing these cyan and magent specs all over the place where it's trying to print a light color instead of just black specs.
    This is quite annoying as I only print B&W text documents with the occassional B&W graphic in them yet i'm having to constanlty waste money replacing the color cartirdges.
    I know it will use some of the ink when the printer comes on and cleans the heads etc but i'm almost replacing the color cartirdges as often as the black one which is just rediculous.
    Some printers I have used have a "black only" option you can check that will not use the color however I see no option for that in the settings. Is there some way that I can print in greyscale without having to waste color ink?

    Welcome to The Canon Forums, and thank you for your question! We appreciate your participation, however we need to let you know that your product seems to be a model that is not supported by our team here at Canon USA. The Canon Forum is hosted and moderated within the United States by Canon USA. We are only able to provide support for Canon products manufactured for the US market. If you live outside the United States, please click here and select your country or region for your support needs. Feel free to discuss Canon products sold outside of the United States, but please be aware that you will not receive support directly from Canon USA.

  • SAPF150D-Dunning Notice Print - With Update of Line Items and Master Record

    When I am running this program SAPF150D(Dunning Notice Print - With Update of Line Items and Master Records) with a variant containing run date, runc id, update mode, pimmed & pcount; the job is failing to execute. It is giving message like,
    "The field symbol is no longer assigned because there was an attempt makde previously in a Unicode program to set the field symbol using ASSIGN with offset and/or length specification. Here, the memory addressed by the offset/length specification was not within the allowed area."
    "GETWA_NOT_ASSIGNED_RANGE" "SAPF150D" or "F150DFS0" "SORTFELDER_ERMITTELN"

    Hi,
    Search for routine FORM SORTFELDER_ERMITTELN
    in SAPF150D.
    Put a breakpoint in statement
    ASSIGN (T047F-FELDN) TO <H1>.
    in above routine and debug to the point where error is occuring.
    Most likely there is a mismatch in the length assigned to some field FELDN in table T047F.
    In that case, simply change the T047F-LENGT field accordingly in change mode.
    Cheers,
    Vikram
    Edited by: Vikram Jalali on May 27, 2008 5:56 PM

  • Problems with FOP

    Hello everybody,
    I have some problems with FOP...
    I want to create pdf outputs and I want to use FOP to convert reports into pdf`s.
    The documentation says that you have to install OC4J, but I can`t find the directorys to unzip the FOP files!
    I installed the OC4J standalone version...
    It is wrong?
    What should I install? J2EE?
    Sorry, but I am new at this topic...
    I hope you would help me!
    Thanks,
    Tim

    Kevin,
    quote from the FOP homepage ( http://xmlgraphics.apache.org/fop/ ):
    FOP (Formatting Objects Processor) is the world's first print formatter driven by XSL formatting objects (XSL-FO) and the world's first output independent formatter. It is a Java application that reads a formatting object (FO) tree and renders the resulting pages to a specified output. Output formats currently supported include PDF, PCL, PS, SVG, XML (area tree representation), Print, AWT, MIF and TXT. The primary output target is PDF.
    FOP (Formatting Objects Processor) is basically a mechanism to transform an XML stream of data (e.g. the pure data of a page rendered using HTML DB) into an arbitrary output format, i.e. PDF.
    ~Dietmar.

Maybe you are looking for

  • ITunes freeze 10.9.2 and is not responding

    when I open Itune, it freeze and I have to force quit it. anyone know how to get around this?

  • Bad video playback in all formats

    I thought it was bad Netflix streaming but I put a DVD in and the same thing! The motion is glitchy like bad stop-motion animation. Anyone have any ideas?

  • Un able create runtime systems in CMS - landscape configrator

    Hi All, when i am trying to create track in that runtime system i am receving following error CBS (URL http://<host>:58000/tc.CBS.Appl/archiveapi2/) authorization exception: User not authorized to log into build server. ( Service call exception; nest

  • Get error when running startscen.sh

    I got the following error when I ran startscen.sh on a Linux system. There is no probem to run it through GUI on window. I did change odiparams.sh to change configuration. I use ORACLE 11g database and the driver is oracle.jdbc.driver.OracleDriver. A

  • [Developer 10 Forms 9i] How to display a value in a PopList?

    Hi, I have a PopList that is populated by a record group. However, when the block is in Insert mode, I would like to display the current value for this record in the fied. The code: :variable := select column from table where database id = current id