PDF Printing using BI Publisher

Hello,
I'm using APEX 4.2 and trying to export some classic reports to PDF. I followed these directions to install BI Publisher:
http://www.oracle.com/technetwork/developer-tools/apex/application-express/configure-printing-093060.html
Entered these values in the Apex Aministration Report Settings section:
Print Server: BI Publisher
Print Server Protocol: HTTP
Print Server Host Address: http://TOSHIBAUSER-PC:9704/xmlpserver (also tried with localhost and failed)
Print Server Port: 9704
Print Server Script: /xmlpserver/convert
Back in my Classic Report, I configured these settings in the Print Attributes tab:
Response Header: Report Settings (also tried with Print Server and failed)
Print URL: f?p=&APP_ID.:7:&SESSION.:FLOW_XMLP_OUTPUT_R7671716059006280
I'm getting this error:
report error:
ORA-20001: The printing engine could not be reached because either the URL specified is incorrect or a proxy URL needs to be specified.
Can anyone tell me what I'm doing wrong? I have never configured PDF printing this way and am pretty lost.
Thanks,
John

hi Johnny98     ,
we implemeneted the same environment Apex 4.1 and BI publisher 11g,using JS script from Apex as Dynamic ACTION .
please following steps..
BI side
http://www.oraclevadakadu.blogspot.com/2012/03/oracle-bi-publisher-11g.html
I will try to give english post on this week.
in Apex side.
1.create button with dynamic action
2.create dynamic action
3.Event : Click
4.Selection type:Button
5.button: invoke BI print
6.Action: Exe JS script
7.code:JS script include passing parameter from Apex item.
Thanx,
Ram

Similar Messages

  • PDF Report Using XML Publisher

    Is there anyway to only print a field on the last page of a PDF report I know I can use
    <?start@last-page:body?> <?end body?> in an RFT report but I don't see anything in the documentation for pdf's to have one field just print on the last page....
    For example i have a purchase order report that I copied for a tif file converted it to a pdf and put the place holders on it, but when the po goes to two pages the total is on both. I would like just to see the total on the last page. I'm using pdf's because these templates are already done and all I have to do is put the place holders on them.
    Is this possible with a pdf or only rtf's or is this issue resolved in the new release of xml publisher I'm currently using 5.6.1.
    thanks for any help
    Alex

    Hi Alex
    We do not have such support for the PDF templates nor immediate plans to add this and other RTF functionality, sorry.
    You could continue to use the PDF as preprinted stationary or even scan the PDF and use it as a watermark image on an RTF template.
    Regards, Tim

  • How to inclulde digital signature in PDF outputs using XML Publisher

    I'm working on AR invoice print report which is a custom report. One of the requirements of this report is to include the digital signature in the output which is in PDF format.
    We have below code components for this custom report.
    Oracle Report (RDF) - to extract the invoice data
    RTF template - for report layout
    Bursting file - to split the output into individual PDFs
    Is there any document available to implement the digital signaure in my case?
    I'm looking for the steps to implement this in my custom report using XML Publisher.

    Take a look at the report designer's guide; section "Adding or Designating a Field for a Digital Signature" here:
    http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187.pdf
    Thanks,
    Bipuser
    If I am not mistaken, this would require using PDF templates and use of Adobe Acrobat Professional.. Maybe others can chime in with other/better options..
    Edited by: BIPuser on Aug 2, 2011 12:58 PM

  • Not getting Euro Symbol in PDF Report using XML Publisher

    Hi,
    We have developed an Oracle Report from Report Builder 6i and also a Template in RTF Format.
    We are using XML Publisher to display our XML Output in PDF Format to Users..
    There is a Field called Comments on Customer Transaction Form, where user can enter any characters and that we are querying in Report and displaying on the PDF Output.
    Currently, the user entered a Euro Character on the comments section and that was not visible to user on PDF Report and replaced by a Question Mark as below:
    "3% price reduction ?89.91, 20% marine"
    When i am Querying to the Database, i am able to see the Euro Symbol, but when i checked the XML generated on the Unix Box for the Report. I found as below:
    "3% price reduction \342\202\25489.91, 20% marine"
    So, the Euro Symbol on the database is replaced by " \342\202\254" in the XML Output and ? in the PDF Outbut.
    Please help ASAP.
    Regards
    Saurabh Jaiswal

    one way
    value set based on view (view - select level id, chr(level) cl connect by level <= 500)
    for example, chr(64) - @
    so in xml you have code of @. sample xml is
    <ROWSET>
      <ROW>64</ROW>
    </ROWSET>in rtf template pick
    <?xdofx:chr(to_number(ROW))?>
    select chr(14844588)  from dual
    €Edited by: AlexAnd on Aug 23, 2011 12:46 AM

  • Problem printing files to Adobe PDF printer using VBA

    I have an Excel project. Part of the code prints the active sheet range as a PDF file. Later code then sends the PDF file as an e-mail attachment. The Code was originally written using the free application PDFCreator and works as intended. However the client wants to use the Acrobat "Adobe PDF" printer instead.
    Each PDF must have a name as specified in the code and must be sent to a specified folder, again as specified in the code.
    The Adobe PDF printer insists on 1) using the path specified in the printer preferences and 2) naming it as the workbook name + .pdf.
    I have checked the Distiller API reference and it tells me that if a key is set, the output path and name can be controlled. However, setting the key as described does not work. The PDF printer ignores it and creates another key named as the output file with a REG_SZ value that is numeric and increments each time print is invoked.
    Attached is a screen shot of the registry entries.
    What am I doing wrong?

    I have.
    However, I think I have solved this.
    First, I am using Win 7 64 bit, so the application is not excel but c:\windows\splwow64.exe. I've modified my code so that both XP 32 and Win7 64 are catered for.
    Second, the print command I used in VBA was
    ActiveSheet.Printout ActivePrinter:= "Adobe PDF"
    It looks like that starts a different Adobe DF printer to the one that would look at the registry. If I change the code to
    ActiveSheet.Printout
    and set Adobe PDF as the default printer in control panel, the whole thing works as planned.
    All I need to do now is to set the printer to Adobe PDF within the code so the user doesn't have to do this in Control Panel. Obviously, my approach above didn't work, so what is the way to do this?
    Here's the sub routine as it stands at the moment:
    Public Sub PrintUsingAcrobat()
        Dim strOutFile As String
        Dim PDFPath As String
        Dim FileName As String
        Dim XPApplic As String
        Dim X64Applic As String
        XPApplic = Application.Path & "\excel.exe"
        X64Applic = "C:\Windows\splwow64.exe"
        Const HKEY_LOCAL_MACHINE As Long = &H80000002
        Const HKEY_CURRENT_USER As Long = &H80000001
        Dim lRC
        Dim sPath
        Dim objRegistry
        PDFPath = outpath ' outpath is a global variable set elsewhere
        strOutFile = Range("Suppliername") & ".pdf"
        FileName = PDFPath & strOutFile
        Set objRegistry = GetObject("winmgmts://./root/default:StdRegProv")
        sPath = "SOFTWARE\Adobe\Acrobat Distiller\PrinterJobControl"
        lRC = objRegistry.SetStringValue(HKEY_CURRENT_USER, sPath, XPApplic, FileName)
        lRC = objRegistry.SetStringValue(HKEY_CURRENT_USER, sPath, X64Applic, FileName)
        ActiveSheet.PrintOut
        DoEvents
    End Sub

  • Adobe PDF printer  - Use VBA??

    I am using Microsoft Access 2003 and have Acrobat 7 (Adobe PDF) and Acrobat 5 (Adobe PDF Writer) installed on my machine.   I can print to the Adobe PDF printer by using this code:
    Set Application.Printer = Application.Printers("Adobe PDF")
    DoCmd.OpenReport strReport, acViewNormal, , , acHidden
    I am trying to figure out if there is a way to use an Acrobat object to set the path and document name without user intervention (which the code above requires as a dialog pops up requesting that information).
    So, I am pretty good at figuring out how to use the various properties and methods of objects but I am just not sure WHICH objects I should be dealing with and I got lost in trying to read the SDK.
    Can anyone provide at least a push in the right direction?
    Bob
    P.S. If I posted this to the wrong forum or category, please do not just tell me that I did, but let me know where it should go.  I posted this originally to the wrong place and was told so, but I had to use a private message to the employee (who told me I had posted to the wrong place and locked the thread) in order to find out that THIS might be the proper location.

    "Adobe no longer supports Acrobat 7 (let alone Acrobat 5!!!)"
    Yeah, I know - I work for a large bank (contractor) and they move VERY SLOWLY with upgrades.

  • PDF PRINTING using Apache FOP and Oracle Containers for J2EE

    Hi,
    I am having major confusion about the pdf printing in Oracle XE and Apex 3.1.2.00.02
    It clearly states that this is an available option on the Oracle website.
    According to Apex there are two options for printing report regions.
    Standard - which is free
    Advanced - which uses BI and requires a licence
    Standard requires me to have Apache FOP (which is provided by Oracle in the Apex release) and Oracle Containers for J2EE (OC4J)
    Where my understanding of all this falls down is the part where I am downloading the Oracle Containers for J2EE and the license agreement states this cannot be used in a production system (only as a protptype). Can anyone clarify this? This is surely a required componenet and for the standard report printing which is supposed to be free.
    My problem is that I need to have a database system on a laptop that will go off site for a number of weeks. We need report printing options.
    Can anyone help with this. im desperate.
    Kind regards
    colin mclay

    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?

  • Weblogic 10.3.4 as report printer for PDF printing using apex_fop.jsp

    Hello,
    Is it possible to use the apex_fop.jsp in combination with Oracle Weblogic 10.3.4 for PDF printing?
    We have managed to get our Apex application to print PDF documents using Apache FOP with Oracle Weblogic 10.3.3 or Apache Tomcat 6 as a report printer.
    But when we are trying the Oracle Weblogic 10.3.4 server as report printer, we will get the Error 500--Internal Server Error error in the pdf.
    One of application server log shows the error "Expected Node-set in Path Expression".
    Regards,
    Mathieu Meeuwissen
    Edited by: Meeuwtje on 17-jan-2012 17:00

    Steve,
    I am using JSF2.0 and getting javax.el.ExpressionFactory NoClassDefFound issues.
    OEPE Helios
    Weblogic 10.3.3
    I have an EAR containing one WAR.
    WEB-INF/lib
    el-api-2.2jar
    el-imp-2.2.jar
    jsf-api.jar (2.1.1)
    jsf.impl.jar (2.1.1)
    jstl.jar (1.1.0-D13)
    web.xml has
         <context-param>
              <param-name>com.sun.faces.expressionFactory</param-name>
              <param-value>com.sun.el.ExpressionFactoryImpl</param-value>
         </context-param>
    EAR has
    weblogic-application.xml with
    <wls:prefer-application-packages>
    <wls:package-name>org.eclipse.persistence.*</wls:package-name>
    <wls:package-name>javax.faces.*</wls:package-name>
    <wls:package-name>com.sun.faces.*</wls:package-name>
         <wls:package-name>com.sun.el.*</wls:package-name>
         <wls:package-name>javax.el.*</wls:package-name>
    </wls:prefer-application-packages>
    I see by your post that JSF2.0 support can be solved by either deploying a shared-library or using the weblogic.Deployer utility. Unfortunately, we don't have access to change the Weblogic instance in any way. I was hoping that using the prefer-application-packages would be sufficient to use alternative classes to Weblogic's but I have not been able to get it to work for the javax.el classes. I have tried not including javax.el and the app deploys but then accessing a page produces a javax.el.ELResolver no method found for invoke. Invoke being a newer method defined in el-api-2.2.jar. If I was able to convince them to add some shared libs, what are all the jars that would be required to make this work?
    Any suggestions would be greatly appreciated.
    Thanks
    John

  • PDF printing using APEX Listener

    Hi -
    I have one report region a an apex page which displays a classic report based on a simple query. I also have a some header information above the report which are the application item information passed from the previous page. I am trying to generate a PDF report(using APEX listener), the report comes fine but it doesn't show the header information that is displayed above the report. Is there a way to do that? I tried putting some values in "Print Attributes" --> "Page Header" section but it just shows it as static text. Please provide your expertise.
    APEX version: 4.2.2
    Oracle:11gR2
    Printing Engine: Apex Listener
    Thanks,
    -Seenu

    You will need to build an Xsl document and load it into APEX..  Here is the link showing how to do advanced printing with APEX..:
    Marc Sewtz: PDF Printing with Oracle Application Express 4.2.2
    Thank you,
    Tony Miller
    LuvMuffin Software
    Ruckersville, VA

  • PDF printing using SAPSPRINT

    We want to move from SAPLPD to SAPSPRINT shortly.
    At the moment some aspects are not working and I need your input.
    We have a printer that used to print PDF documents fine with SAPLPD however its failing with SAPSPRINT.  Does this mean that with SAPSPRINT, we are mandated to use SAPPDFSPRINT or would it still work with other PCL based printers.
    The printer in question is a HPLJ5SI printer using access method U on a print server with SAPSPRINT.  I reviewed SAP notes and found that we need to have a supported XDC file in order for PDF printing to work. I couldn't find one for HPLJ5SI within the list of XDC files supplied so I added the device type HPLJ5SI and gave default XDC name as hppcl5e.xdc however it doesn't work as it still says unknown device type.
    I tried tweaking other things to make it to work but no luck. Also once I add the missing device type to an existing PCL XDC in the XDC assignment, do i need to re-create the PDF form from scratch or would it be okay if I were to re-print a PDF spool thats already there. Just wanted to get test case right here.
    The error seem to indicate problem at the core so my question is do we need to switch to SAPPDFSPRINT and if this is our only option given that we will be migrating from SAPLPD to SAPSPRINT.Any pointers here are appreciated.
    Regards
    Kalyan

    Hello Kalyan,
    Please see note 1444342.
    "You want to print forms that were generated by ADS on printers that are not
    defined with a device type in accordance with Note 685571 (that is, they are not
    assigned to an XDC file). This was not previously possible. Due to the new
    component SAPPDFPRINT, interactive forms can be printed on any Windows printer
    just like all of the other spool requests with the SAPWIN device types."
    By using SAPPDFPRINT, you do not need to assign XDC file to device type. So it is a easy way to
    print PDF on any printer.
    If you want to use XDC file and device type other than PDF1 or PDFUC, please read note  685571.
    685571 - Printing SAP Interactive Forms by Adobe
    Regards,
    Yiming

  • Win7 does not show "Adobe PDF" printer using Acrobat 8 Pro

    using Acrobat Pro 8.1.0 I cannot see or add Adobe PDF printer. I do see "Microsoft XPS Document Writer" as a printer.

    Concentrate on getting the scanner working without any Adobe software. Once you can scan to a file, any OSX program (except Adobe) that can read the file can generate PDF files via the Print command.

  • PDF Print:  Using Device Type PDF1 to output SAPscript forms

    Hi all,
    I'm trying to create a e-mail with pdf attachment using the info from the note 323736.
    I'm hable to send some mails with attachment, but I'm not hable to add the device type created in a smartform print and send automatically through e-mail.
    It gives the following error:
    "Device type PDF1 does not support page format DINA4."
    Does anyone know the possible page formats or how to enalbe DINA4 as a possible format to send via PDF?
    Any ideas?
    Regards,
    Pedro
    Edited by: Pedro Taveira on Aug 6, 2009 4:53 PM

    Hi Pedro,
    Transaction SPAD, Click 'Full Administration' then the 'Devce Types' tab.  Then display the device types.
    Find your device type in the list and choose 'Formats', this will list the formats for this device type.
    Regards,
    Nick

  • PDF Printing with BI Publisher makes empty document

    Hi all,
    We have installed the BI Publisher. And configured apex to use it as printer server.
    In Apex we created a report query. The query I exported to an xml file. And I also exported the xml schema.
    These two files I imported in Word with the BI Publisher plugin. Next I created a simple document with the word plugin and exported it as XSL-FO.
    In Apex I created a report_layout with named columns based on the xsl-fo document I created.
    Now when I go to the created report query and point to that document it will render an empty file. I get an error message telling me the file is damaged.
    The query returns data however.
    We are using Apex 4.
    Does anybody have a clue?
    Is there a way I can add some debugging in the process?
    Thanks,
    Maurice
    Edited by: maurice.niezen on Oct 6, 2010 5:12 AM

    If you are using that route, I'd try editing the xsl file before you upload it into APEX.
    I found that APEX didn't like some of the tags, so if you look at your XSL file in wordpad or similar and delete the following lines if they are there:
    <xsl:param name="_XDOCALENDAR">GREGORIAN</xsl:param>
    <xsl:param name="_XDOLOCALE">en-US</xsl:param>
    <xsl:param name="_XDOTIMEZONE">GMT</xsl:param>
    <xsl:param name="_XDODFOVERRIDE">;</xsl:param>
    <xsl:param name="_XDOCURMASKS">;</xsl:param>
    <xsl:param name="_XDONFSEPARATORS" />
    <xsl:param name="_XDOCHARTTYPE">image/svg+xml</xsl:param>
    <xsl:param name="_XDOOUTPUTFORMAT">application/pdf</xsl:param>
    <xsl:param name="_XDOSVGFONTEMBED">true</xsl:param>
    <xsl:param name="_XDOCTX">#</xsl:param>
    <xsl:variable name="_XDOXSLTCTX" select="xdoxslt:set_xslt_locale($_XDOCTX, $_XDOLOCALE, $_XDOTIMEZONE, $_XDOCALENDAR, concat($_XDODFOVERRIDE,'',$_XDOCURMASKS,'',$_XDONFSEPARATORS))" />
    You should be left something like:
    <?xml version = '1.0' encoding = 'utf-8'?>
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:ora="http://www.oracle.com/XSL/Transform/java/" xmlns:xdofo="http://xmlns.oracle.com/oxp/fo/extensions" xmlns:xdoxslt="http://www.oracle.com/XSL/Transform/java/oracle.apps.xdo.template.rtf.XSLTFunctions" xmlns:xdoxliff="urn:oasis:names:tc:xliff:document:1.1" xmlns:xlink="http://www.w3.org/1999/xlink">
    <xsl:variable name="_XDOFOPOS" select="''"/>
    <xsl:variable name="_XDOFOPOS2" select="number(1)"/>
    <xsl:variable name="_XDOFOTOTAL" select="number(1)"/>
    <xsl:variable name="_XDOFOOSTOTAL" select="number(0)"/>
    <xsl:template match="/">
    before the root tag.
    That worked for me, so worth a try.
    Jon.
    PS - Just to add that was when we were set up with standard printing rather than advanced.
    Edited by: J F Miller on Oct 6, 2010 1:33 PM

  • Issue in PDF printing using FOP

    We have configured Print server as per http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html section #5
    However when we try to print pdf, it says "Page Cannot be found"
    In the print server oc4j log, here is what we see:
    =============
    08/11/18 09:58:03 [ERROR] Logger not set
    08/11/18 09:58:03 [INFO] Using oracle.xml.parser.v2.SAXParser as SAX2 Parser
    08/11/18 09:58:03 [INFO] building formatting object tree
    08/11/18 09:58:03 [INFO] setting up fonts
    08/11/18 09:58:03 [INFO] [1]
    08/11/18 09:58:03 [WARNING] table-layout=auto is not supported, using fixed!
    08/11/18 09:58:03 [INFO] area contents overflows area in line Solicitation
    08/11/18 09:58:03 [INFO] area contents overflows area in line
    08/11/18 09:58:03 [INFO] area contents overflows area in line
    08/11/18 09:58:03 [INFO] area contents overflows area in line
    08/11/18 09:58:03 [INFO] area contents overflows area in line Proposal
    08/11/18 09:58:03 [INFO] area contents overflows area in line Proposal
    08/11/18 09:58:03 [INFO] area contents overflows area in line Project
    08/11/18 09:58:03 [INFO] area contents overflows area in line
    08/11/18 09:58:03 [INFO] area contents overflows area in line Created
    08/11/18 09:58:03 [INFO] area contents overflows area in line
    08/11/18 09:58:03 [INFO] area contents overflows area in line Project
    08/11/18 09:58:03 [INFO] area contents overflows area in line ETECH
    08/11/18 09:58:03 [INFO] area contents overflows area in line
    08/11/18 09:58:03 [INFO] area contents overflows area in line Request
    08/11/18 09:58:03 [INFO] area contents overflows area in line
    08/11/18 09:58:03 [INFO] area contents overflows area in line
    08/11/18 09:58:03 [INFO] area contents overflows area in line
    08/11/18 09:58:03 [INFO] area contents overflows area in line
    08/11/18 09:58:03 [INFO] area contents overflows area in line
    08/11/18 09:58:03 [INFO] area contents overflows area in line Stephen
    08/11/18 09:58:03 [INFO] area contents overflows area in line
    08/11/18 09:58:03 [INFO] area contents overflows area in line Serena
    08/11/18 09:58:03 [INFO] area contents overflows area in line
    08/11/18 09:58:03 [INFO] area contents overflows area in line assessment
    08/11/18 09:58:03 [INFO] area contents overflows area in line station
    08/11/18 09:58:03 [INFO] area contents overflows area in line Fillmore,
    08/11/18 09:58:03 [INFO] area contents overflows area in line Fillmore,
    08/11/18 09:58:03 [INFO] area contents overflows area in line Fillmore
    08/11/18 09:58:03 [INFO] area contents overflows area in line Fillmore
    08/11/18 09:58:03 [INFO] area contents overflows area in line Buffalo,
    08/11/18 09:58:03 [INFO] Parsing of document complete, stopping renderer
    ===============
    Is there any setting that we are missing.Any help will be appreciated.

    Mary
    I too use multiple report queries which are then converted to XML and passed to the FOP server, I'm not sure what you want is achievable in the report queries. Alternatively you can use XSL in the style sheet to conditionally display output.
    e.g.
    <fo:block font-size="8pt">
    <xsl:for-each select="//ROWSET2/ROWSET2_ROW">
    <xsl:variable name="vContactTypeName">
    <xsl:value-of select="CONTACT_TYPE_NAME"/>
    </xsl:variable>
    <xsl:if test="$vContactTypeName = 'URL'">
    <fo:block><xsl:value-of select="CONTACT_TYPE_VALUE"/></fo:block>
    </xsl:if>
    </xsl:for-each>
    </fo:block>
    Hope that helps
    Paul

  • PDF printing using javax.print

    Hi!
    I need to create an aplication that generates a PDF document and then prints it. For creating the PDF doc, I use the iText package.
    I have some problems with printing. I don't know how to print the document I generate. Could you give me a hint please? (I can print GIF docs, yet I do not know how to convert the PDF to GIF).
    Thanks in advance,
    Alex

    import javax.print.*;
    import javax.print.attribute.DocAttributeSet;
    import javax.print.attribute.HashDocAttributeSet;
    import javax.print.attribute.HashPrintRequestAttributeSet;
    import javax.print.attribute.PrintRequestAttributeSet;
    import javax.print.attribute.standard.Copies;
    import javax.print.attribute.standard.MediaSizeName;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    public class PDFfilePrinter {
    public static void main(String[] args) {
    DocAttributeSet fset = new HashDocAttributeSet();
    PrintRequestAttributeSet pset = new HashPrintRequestAttributeSet();
    String filename = "somefile.pdf"; //name of file to print
    DocFlavor docf = DocFlavor.INPUT_TYPE.PDF;
    PrintService[] services = PrintServiceLookup.lookupPrintServices(null, null);
    if (0 < services.length) {
    DocPrintJob printer = services[0].createPrintJob(); //default printer on my system
    try {
    FileInputStream fis = new FileInputStream(filename);
    Doc toprint = new SimpleDoc(fis, docf, fset);
    pset.add(MediaSizeName.ISO_A4);
    pset.add(new Copies(1));
    printer.print(toprint, pset);
    } catch (PrintException e) {
    e.printStackTrace();
    } catch (FileNotFoundException fnfe) {
    fnfe.printStackTrace();
    Here's the code I'm working with for printing. This stuff works .... in a very strange way - it prints out all sort of crazy characters. I know I am doing something wrong and I think it's all in this line:
    DocFlavor docf = DocFlavor.INPUT_TYPE.PDF;
    Should I use a different flavor? I read somewhere that the PDF file format is not entirely supported bye javax.print. Could this be the problem?
    Thanks in advance,
    Alex

Maybe you are looking for

  • Iweb image hyperlinks not working across pages

    I KNOW there are many other threads on this topic, but I can't figure it out! I am using images as my website navigation and they have stopped working on some pages when I updated it (and won't work no matter how many times I replace them or send the

  • CSS enroll problem

    I had a problem with the lan card on my Z61p laptop. I gave the laptop for service to IBM and they changed the motherboard as the lan card is istalled on it. Since then I cannot use the Client Security Solution. when I open my laptop CSS always start

  • Keywording with Proper Nouns?

    Hi, folks. I'm trying to keyword people's full names in a hierarchical structure but am having problems with the sorting feature in Bridge CS5 because I can't stack the surnames together, only the given names.  Thus, "Jane Doe" and "Jane Smith" are r

  • [SOLVED] yaourt doesnt search aur - new mirrror list

    Hi last night I discovered that yaourt doesnt search aur packages. I am guessing that it has something to do with last pacman upgrade and new mirror list. Does anybody have the same problem with yaourt and could anybody explaine, step by step , what

  • Automatically Renaming and Sorting Files

    When I first installed iTunes, I remember it asking me something about automatically sorting and finding file information for the existing music on my computer (Windows Based). I didn't want to do that at the time, but I would like to if that is inde