Creation of PDF Files

I have Adobe Acrobat Pro 9.  I would like to utilize this program similar to a third party PDF Creator program that I have that is starting to experience issues.  Does Adobe Acrobat 9 or subsequent versions allow for the creation of a PDF file by combining print jobs into one file before creating the actual file?  I know you can create individual files from each of the sources (Word, Excel, etc.) and then merge but that is more work than is needed.  Would just like to combine print jobs and then save as one file.

Steve's method is probably the best. There are ways to use Distiller to combine print jobs. I think it required creating customized postscript startup files, but it has been ages since I have seen any posts on how to do this. [Probably going back to Acrobat 3 or 4]. Aandi Inston who used to participate regularly would have been able to tell you how to do this in a flash [no pun intended].
Combining PDFs is the easiest way to do what you want. You could probably create a script that would combine all of the pdfs sitting in a folder if that would make things easier.

Similar Messages

  • Creation of pdf-files from a VBA programming of a database application

    In a kind of form letter practice through a modular programming in Microsoft Access individual invoices created as PDF files shall be sent as serial e-mails.
    Example: After a seminar, for example 50 people shall receive individual invoices with invoice number and the respective address.
    After creation we don’t want the pdf-documents to be displayed on the screen. It should be automatically transferred through our MS-Access-programming to Outlook for serial e-mails.
    The functionality of the automation is positioned in a VBA module (Visual Basic for Application) of a MS Access form.
    At this point Acrobat PDF should be controlled by MS-Access VBA programming (and not manually by the user).
    To implement such an automatic, we need a documentation of the interfaces for the later in the text referred Acrobat objects, which can be addressed in the MS-Access VBA Programming.
    References in Microsoft Access:
    Adobe Acrobat 10.0 Type Library
    Acrobat Access 3.0 Type Library
    Acrobat Distiller
    Objects according to Microsoft Access Object Browser:
    AcroApp
    AcroAVDoc
    AcroAXDoc
    AcrobatAccessLib
    ACRODISTXLib
    AcroHiliteList
    AcroPDDoc
    AcroPoint
    AcroRect
    AcroTime
    Among the listed objects and their properties and methods, we need a comprehensive description.
    Are there special *. DLL or *. chm or *. hlp - files
    which can be addressed by MS-Access directly to automatically generate PDF files?

    Google the following:
    Software\Adobe\Acrobat Distiller\PrinterJobControl\
    I have done this using a Report I designed in MS Access, you basically print to the 'ADOBE PDF' printer. No need to use any of the References you listed.
    I loop thru a recordset of Customer IDs and generate my reports. I do the Outlook piece after I have generated the pdf files.
    My Access report has no RecordSet, it is set on the fly, using the following:
    Private Sub Report_Open(Cancel As Integer)
    Me.RecordSource = sqlReport
    End Sub
    sample code:
    sub genReports
    Dim lRC
    Dim sReg
    Dim emailPath As String
    Dim accessPath As String
    Dim strKey As String
    Dim rsCust As New ADODB.Recordset
    Dim rsRecs As New ADODB.Recordset
           emailPath = currentproject.path & "\email\"
           accessPath = SysCmd(acSysCmdAccessDir)
           accessPath = accessPath & "MSACCESS.EXE"
           strKey = "Software\Adobe\Acrobat Distiller\PrinterJobControl\"
            Set sReg = GetObject("winmgmts://./root/default:StdRegProv")
           'PrinterJobControl key
           lRC = sReg.CreateKey(HKEY_CURRENT_USER, strKey)
           'query to get Customer IDs     
           rsCust.Open "qryReportCust", CurrentProject.Connection, adOpenStatic
           Do Until rsCust.EOF
            strCust =rsCust!CustID
            'sqlReport is a function that uses CustID as parameter
            rsRecs.Open sqlReport, CurrentProject.Connection, adOpenStatic
            If Not rsRecs.BOF Then
               lRC = sReg.SetStringValue(HKEY_CURRENT_USER, strKey, _
                                         accessPath, emailPath & strCust & ".pdf")
                DoCmd.OpenReport "rptCustomerInvoice", acViewNormal
            End If
            rsRecs.Close
            Set rsRecs = Nothing
       rsCust.MoveNext
        Loop
       rsCust.Close
    end sub

  • Server side creation of pdf files for users

    Im looking for a way for users of my website to save their data as a .pdf file on their hard drive.  I want to be able to do this seemlessly for them on my end and not require them to have a client-side .pdf creator like PrimoPdf of something similar.
    Is there a way to do server-side pdf file creation for my users?
    Thanks!
    PS: This is a Java website and a linux server.

    You could utilize Apche FOP (http://xmlgraphics.apache.org/fop/) project for that purpose.
    In my company we've used that to convert IBM Lotus Notes documents into PDF via some XML/XSL intermediate layer.
    On the other hand - while in theory you could run Acrobat Pro on your server in embedded mode and call that server via some layer even from Java clients - I think that is not allowed by Adobe Acrobat Pro license. If you could run it embedded on your server - then you could try to prepare your specific plugins for it with Acrobat SDK and then you'll achieve what you need in required PDF creation.

  • FAQ: Creating PDF Files from FrameMaker v.6 & earlier Documents -- Why you should not use "save as PDF"! -- Windows & MacOS Only!

    An issue that has come up over and over again on several FrameMaker and Acrobat/PDF email lists as well on the corresponding Adobe User-to-User forums is that of creation of PDF files. FrameMaker 5.5.6 and 6 have what looks like a convenient feature that is supposed to allow you to create PDF files via simply saving the document as a PDF file. I have gone on record as advising end-users not to use this approach for reliable creation of PDF files from FrameMaker documents under Windows and MacOS with FrameMaker 6 and earlier. Why do I most vociferously offer this advice and why doesn't the problem get fixed? And how SHOULD you create PDF files from FrameMaker?
    GOOD NEWS
    I will start with the good news. The "next major version" of FrameMaker will indeed have "save as PDF" re-implemented in a manner that it will be as reliable as printing to the "Acrobat Distiller" printer instance under Windows or the "Create Adobe PDF" desktop printer under MacOS. I am personally working with the FrameMaker development organization to make sure this really happens and is fully and properly tested and debugged! Furthermore, this next major revision of FrameMaker, unlike FrameMaker 6, will come with a Distiller installer that will properly install the "Acrobat Distiller" printer instance under Windows and the "Create Adobe PDF" desktop printer on the Macintosh (of course assuring that the latest PostScript driver is also automatically and correctly installed).
    DON'T USE "SAVE AS PDF"
    But what's wrong with "save as PDF" as currently implemented?
    The following are some of the SYMPTOMS reported over the last few years by FrameMaker users that were traced back to use of "save as PDF" under FrameMaker:
    (1) No PDF file is produced at all, possibly with a log file showing not-readily apparent PostScript errors during distillation.
    (2) The PDF file "loses" color in images. All or some images (raster, bitmap images, NOT vector artwork) appear in the PDF file in grayscale.
    (3) The resultant PDF file is on the wrong paper size, i.e., the document's logical page size does not match the output page size as seen in Acrobat or Acrobat Reader.
    (4) Some or all text in the resultant PDF file is blotchy looking or overly bold.
    (5) Some or all text in the resultant PDF file cannot be searched or indexed.
    (6) Some or all text in the resultant PDF file appears in Courier or in some other substitution font.
    (7) Interword or intercharacter spacing is a bit irregular in the resultant PDF file.
    (8) Content is missing in the margin areas of the page, i.e. you cannot do full-page bleeds.
    (9) Some or all page content is missing (other than margin areas).
    (10) Relatively inefficient PDF is generated.
    If this list by itself isn't enough for you, please note that some of these symptoms are very subtle and may escape attention when the PDF is first viewed or printed. Oftimes, it is when one attempts to manipulate the PDF file in Acrobat or repurpose its content or even view or print on a system other than the one on which the PDF file was created, that some of these symptoms make themselves obnoxiously visible (or invisible in some cases I won't make any bad jokes here about graphic examples!).
    It is important to understand that FrameMaker does NOT have its own native ability to create PDF. Any and all PDF created from FrameMaker documents is actually done by creating PostScript via the PostScript driver and having the Acrobat Distiller create PDF from that PostScript. The only exception to this is creation of PDF via the Acrobat PDFWriter driver, which is likewise not recommended (see below).
    In order for "save as PDF" to work correctly, FrameMaker must do the equivalent of calling Printer Setup and selecting the "Acrobat Distiller" printer instance under Windows or the "Create Adobe PDF" desktop printer under MacOS followed by setting the driver's options correctly for paper size, page range, etc., followed by sending the proper commands to the driver to create PostScript.
    Contrary to popular belief, PostScript as generated by the Windows and MacOS PostScript drivers is VERY device-dependent. The information in the PPD file associated with a printer driver instance provides critical parameters for generation of PostScript including:
    Whether the printer supports color (Acrobat Distiller does)
    What PostScript language level is supported (Acrobat Distiller 4.x and Acrobat Distiller 5.x are both PostScript language level 3)
    Whether native TrueType support is available (Acrobat supports native TrueType as Type 42 fonts)
    Available binary communications (Acrobat Distiller supports pure binary and ASCII, but NOT TCP, TBCP, or PJL)
    Resident fonts (Acrobat Distiller doesn't really have resident fonts)
    Available paper sizes and custom paper size availability (Acrobat Distiller supports a wide range of predefined sizes and continually variable "custom" sizes up to 200" by 200")
    Margins / printable areas (for PDF and the Acrobat Distiller, there are no margins in which imaging is not permitted)
    Device resolution (Acrobat Distiller can be set to any value from 72 to 4000 dpi; as a convenience, the Acrobat Distiller PPD provides a series of values for use by the driver. Since there is no inherent "resolution" of a PDF file, this parameter is used only for purposes of allowing PostScript programs that query for such a value to be satisfied and for the driver to be able to communicate this value to the operating system and/or application as required.)
    Paper handling (totally irrelevant to Acrobat Distiller if input or output tray selection via "setpagedevice" is found in the PostScript stream, it is ignored by Acrobat Distiller)
    Thus, if the wrong printer driver instance is selected (i.e., it isn't associated with the Acrobat Distiller PPD file) or that driver instance is improperly configured, improper PostScript will result and one or more of the symptoms described above can occur. As currently implemented, FrameMaker depending upon version will not necessarily choose the correct printer driver instance and/or correctly parameterize the print job via driver setup options. In fact, FrameMaker 5,5,6 might even try to generate PDF via calling a PCL driver, FAX driver, or even a non-PostScript inkjet printer!
    DON'T USE PDFWRITER
    The Acrobat PDFWriter is a relic of older versions of Acrobat. In fact, it is no longer installed by default in the "easy install" or the "typical install" of Acrobat 5. It hasn't really be updated since Acrobat 3 and only supports PDF 1.2. It is a GDI (Windows) / QuickDraw (MacOS) driver that directly generates PDF without any intermediary PostScript. Since it is not a PostScript printer driver, applications cannot pass through EPS graphics and/or PDFMark information (used for a wide variety of purposes by FrameMaker). For EPS graphics, most applications will send the low resolution TIFF (or PICT) EPS header in lieu of the PostScript text, if they send anything at all, to the driver. Forget about links, structure, or any other PDF "goodies." Expect that PDFWriter will fully "bite the dust" in the next major version of Acrobat.
    SO HOW DO I GENERATE PDF FILES FROM FRAMEMAKER 6 & EARLIER?
    The ONLY method that is really reliable for producing PDF files with FrameMaker 6 and earlier requires the generation of PostScript via a properly set printer driver instance associated with the Acrobat Distiller PPD and distillation of the resultant PostScript by Acrobat Distiller.
    Case 1: FrameMaker and the Full Acrobat 4.05 or Acrobat 5.0x Products
    PDF file from a "chapter" -- print directly to the Acrobat Distiller printer instance (Windows) or the Create Adobe PDF desktop printer (MacOS) already installed by Acrobat. If you check the "Acrobat data" option, then make sure to UNcheck the "print to file" option that gets set at the same time. As a result, the driver will automatically send the generated PostScript to the Distiller for you and delete the intermediate PostScript when done.
    PDF file from a "book" -- print directly to the Acrobat Distiller printer instance with the "print to file" option checked (Windows) or the Virtual Printer desktop printer (MacOS) associated with the Distiller PPD (see details below under Case 2/MacOS). You will need to manually process the resultant PostScript file through the Distiller (or use a "watched folder" arrangement).
    In both the above sub-cases, the default driver options generally will be OK, but check on paper size and communication protocol (Use pure binary, not ASCII, for optimal performance AND no CTRL-D characters under Windows. Make sure to set Level 3 only and Binary under MacOS. Font inclusion "All" for Acrobat 4.05 and "None" for Acrobat 5 under MacOS.). With Acrobat 4.05, make sure you preset the Distiller to use the joboptions you want. With Acrobat 5, you can set this on a job-by-job basis via the driver printer setup interface (or print dialog on MacOS).
    Case 2: FrameMaker 6 and the Bundled Acrobat 4.05 Distiller
    Windows -- Create a new printer driver instance using the latest version of the Adobe Universal PostScript Driver Installer, downloadable from Adobe's web site AND the Acrobat Distiller PPD file (located in the XTRAS subdirectory of the Distiller directory). This driver instance should be set to print to the local port named "FILE:". Name this driver instance as "Acrobat Distiller". The default driver options generally will be OK, but check on paper size and communication protocol (use pure binary, not ASCII, for optimal performance AND no CTRL-D characters). Make sure you preset the Distiller to use the joboptions you want. Print directly to this Acrobat Distiller printer instance. Make sure that the "print to file" option is checked. You will need to manually process the resultant PostScript file through the Distiller (or use a "watched folder" arrangement).
    MacOS -- Install the latest version of AdobePS 8.7.x, downloadable from Adobe's web site. In FrameMaker, go to Page Setup and select the "Virtual Printer" and go to the "Virtual Printer" window pane. Select the Acrobat Distiller PPD file (located in the XTRAS subfolder of the Distiller folder). Print directly to the "Virtual Printer" (Make sure to set Level 3 only, Binary, and font inclusion "All".). Make sure you preset the Distiller to use the joboptions you want. You will need to manually process the resultant PostScript file through the Distiller (or use a "watched folder" arrangement).
    Case 3: Acrobat 3
    Acrobat 3 is not officially supported for the latest OS versions and I personally would no longer recommend its use for generation of PDF files given that Acrobat 5.0.5 is the current version of Acrobat.
    - Dov

    You're asking a lot of ancient Acrobat to work with an Office that never existed when it was made. "Just updated my office suite" is a massive change, and Window 8 didn't exist at that time either...

  • Creation of Note in PDF file generated from Output Server

    I would like to be able to force Output Server to create a Note (in expanded format) on a PDF file. I see the bookmark information in the manual, however I was not able to locate any documentation referencing the note tool. Is this possible? If so, can someone provide a brief example of a command that would need to be passed through the data stream to generate a note on a PDF document?

    Unfortunately, Output Server doesn't allow you to create PDF comments. The best you could probably do is generate a PDF and then create an XFDF that references that PDF and also contains your comments. Check the Adobe PDF Developer's site for information on XFDF.
    Regards,
    Rob McDougall
    Indigo Pacific Ltd.

  • PDF file creation from spool

    Hi
    I amtrying to create  a spool request for the PDF file.
    Ihave Xstring type data in my program, which is input for PDF file.
    by using  RSPO_OPEN, RSPO_WRITE,RSPO_CLOSE function modules.. it is creating  a spool  with RAW data type.
    but I have to create SPOOL with PDF format.
    Can soemone help to generate PDF file from XML or RAW data format to PDF?

    I have a requirement to create a PDF file from the attachments on any business object (such as PO, Sales Order etc). In short, I need to create a PDF file out of fnd_lobs.file_data
    Any roadmap with example ?? Anybody ??Please see these docs.
    How to Load Attachments Via API into Service Requests? [ID 394811.1]
    Attaching A File To An Object via A Public API [ID 281130.1]
    Upload Image over 32k into PER_IMAGES from FND_LOBS as Blobs. [ID 462967.1]
    Thanks,
    Hussein

  • PDF File Creation from FND_LOBS - Any Clues !!!

    Hi All,
    This is interesting !!!
    I have a requirement to create a PDF file from the attachments on any business object (such as PO, Sales Order etc). In short, I need to create a PDF file out of fnd_lobs.file_data
    Any roadmap with example ?? Anybody ??
    Thanks,
    Neil

    I have a requirement to create a PDF file from the attachments on any business object (such as PO, Sales Order etc). In short, I need to create a PDF file out of fnd_lobs.file_data
    Any roadmap with example ?? Anybody ??Please see these docs.
    How to Load Attachments Via API into Service Requests? [ID 394811.1]
    Attaching A File To An Object via A Public API [ID 281130.1]
    Upload Image over 32k into PER_IMAGES from FND_LOBS as Blobs. [ID 462967.1]
    Thanks,
    Hussein

  • Pdf file creation

    I need to convert large pages files, a book, into embedded font pdf files for submitting to a printer.
    is acrobat distiller needed? is it a part of acrobat? do I need the pro version? thanks so much. I am very new to this.

    Depends upon your version of Mac OS. And whether you have Acrobat 9.2.0. Up to X.5.8 Yes.  And you would have to use the AdobePDF Printer to actually create the PDF's.
    For Snow Leopard, no.  There is this article although on an InDesign site, Click here. It relates to the proper method of creating PDF's from Acrobat with Acrobat 9.2.0 and  Snow Leopard (X.6.x)

  • PDF file creation using backend package

    How to create a PDF file using Oracle 10G Backend Package?

    Write something like this to a file and you have your PDF created from the database:
    %PDF-1.3
    1 0 obj
    <</CreationDate (D:20101018093136)/Creator (AS-PDF 0.2.0 by Anton Scheffer)/Producer (running on Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product)>>
    endobj
    2 0 obj
    <</Type/Font/Subtype/Type1/BaseFont/Helvetica/Encoding/WinAnsiEncoding>>
    endobj
    3 0 obj
    <</ProcSet [/PDF /Text]
    /Font
      <<
        /F1 2 0 R
      >>
    >>
    endobj
    4 0 obj
    <</Type/Pages/Kids [
    6 0 R
    /Count 1
    /MediaBox [0 0 595 842]
    >>
    endobj
    5 0 obj
    <<
    /Length 86 >>
    stream
    BT /F1 12 Tf ET
    BT 28.35 744.85 Td (Some text written from database backend.) Tj ET
    endstream
    endobj
    6 0 obj
    << /Type /Page
    /Parent 4 0 R
    /Contents 5 0 R
    /Resources 3 0 R
    >>
    endobj
    7 0 obj
    <</Type/Catalog/Pages 4 0 R/OpenAction [0 /XYZ null null 1]>>
    endobj
    xref
    0 8
    0000000000 65535 f
    0000000010 00000 n
    0000000193 00000 n
    0000000284 00000 n
    0000000364 00000 n
    0000000452 00000 n
    0000000593 00000 n
    0000000680 00000 n
    trailer
    << /Root 7 0 R
    /Size 8
    >>
    startxref
    760
    %%EOFAnton
    P.S. div class="jive-quote" div class="jive-quote" /div /div should be read as >> The forum software messes things up
    And no, I don't write this PDF-stuff with a text editor, I have written a small package (less than 1000 lines) which does that for me.
    Something like PL_FPDP, http://www.erasme.org/PL-FPDF,1337
    Edited by: ascheffer on Oct 18, 2010 11:41 AM

  • PDF file creation & Markup Management

    Hi,
    I need to generate automatic pdf files from native application (for ex., from any CAD Software) in SAP. How to do it.
    Please also give some details about markup management in SAP.
    Regards,
    Madhu

    Hi,
    in addition to that, there is also the SAP conversion server as a part of SAP PLM. This is a generic platform, that provides capabilities to start batch programs for conversion on a dedicated server in the background for example after a status change or a check-in.
    These batch programs are usully delivered ready to use by the CAD Integration partners like Cideon (for Autodesk) or Cenit (for Dassault), but you could also write an own MS-DOS batch or VB Script.
    So via the CAD Direct integration the CAD original files are then saved in SAP via the KPRO and the DMS, and the viewables (JT or PDF) are then generated automatically after check-in.
    For Markup of PDF files via the built in Viewer please have a look at note 610837. Other formats, which are supported by the viewer, can be redlined directly.
    Best regards,
    Martin
    Message was edited by:
            Martin Bachmann

  • PDF file creation and reading

    I want to read pdf file and generate two pdf files from it after processing in J2SE5. Please suggest ways to do it and if possible with an example.

    I am really surprised how few people can use Google.
    Did you know that a search for [list of java libraries PDF|http://www.google.co.uk/search?hl=en&client=firefox-a&rls=org.mozilla:en-GB:official&hs=Dyp&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=list+of+java+libraries+PDF&spell=1] returns as its first result a web page containing a list of [libraries that can read & write PDF files|http://schmidt.devlib.org/java/libraries-pdf.html]?

  • Tamper proof or noneditable PDF file creation from smartforms.

    Experts,
    We have requirement to create PDF file from smartforms that should be tamper proof.
    As we know there any many PDF to word convertors tools are in market.
    So PDF file should not be copied and not converted in word (should be tamper proof and non-editable).
    So do we have solution with in SAP only to achieve above requirement ?
    Please take your time answering, I'm not the kind of person that demands an answer really quickly, because that would be a bit rude.
    Message was edited by: Matthew Billingham - "hurry up" text replaced.

    Dear Jelena,
    True PDF is non-editable, but we can copy PDF content or even we can use tool to convert into word/docx format. for basically we are using information.
    Orignal source will never change.
    Let me explain you example.
    Let say i have converted invoice (smartform) into PDF and send to X person.
    Now X person can convert PDF into word format.
    X person did some changes in word and converted back to PDF (miss use of orignal data/PDF file).
    So requirement is that X person should not copy PDF content (Ctrl + C) and X person should be restrcited from converting to word.
    Acrobat/Adobe has this feature but this is external (need to use some third pary tool)
    Can this requirement accomplished within SAP only or include some Adobe package (class & method in SAP ).

  • Cannot print PDF files: "/usr/lib/cups/filter/pdftops failed"

    Hi
    I have a HP Deskjet D1460 printer (crap, i know ). I'm using hplip 3.11.1 drivers and CUPS 1.4.6hplip 3.11.1.
    Today i wanted to print a pdf file, and my printer just silently refused to work, like they always do I did some log-scavenging, and found this rather long one:
    E [11/Feb/2011:12:44:36 +0100] [Job 24] Job stopped due to filter errors; please consult the error_log file for details.
    D [11/Feb/2011:12:44:36 +0100] [Job 24] The following messages were recorded from 12:44:30 to 12:44:36
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Adding start banner page "none".
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Queued on "Deskjet_D1400" by "kaszak".
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Auto-typing file...
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Request file type is application/pdf.
    D [11/Feb/2011:12:44:36 +0100] [Job 24] File of type application/pdf queued by "kaszak".
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Adding end banner page "none".
    D [11/Feb/2011:12:44:36 +0100] [Job 24] job-sheets=none,none
    D [11/Feb/2011:12:44:36 +0100] [Job 24] argv[0]="Deskjet_D1400"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] argv[1]="24"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] argv[2]="kaszak"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] argv[3]="przelew.pdf"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] argv[4]="1"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] argv[5]="finishings=3 number-up=1 page-ranges=1 job-uuid=urn:uuid:82dc9ff4-9df7-3643-7cb5-87d5084f99f5 job-originating-host-name=localhost time-at-creation=1297424670 time-at-processing=1297424670 AP_D_InputSlot="
    D [11/Feb/2011:12:44:36 +0100] [Job 24] argv[6]="/var/spool/cups/d00024-001"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[1]="CUPS_DATADIR=/usr/share/cups"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[6]="CUPS_SERVERROOT=/etc/cups"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[7]="CUPS_STATEDIR=/var/run/cups"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[8]="HOME=/var/spool/cups/tmp"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[10]="SERVER_ADMIN=root@localhost"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[11]="SOFTWARE=CUPS/1.4.6"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[12]="TMPDIR=/var/spool/cups/tmp"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[13]="USER=root"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[15]="CUPS_ENCRYPTION=IfRequested"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[16]="IPP_PORT=631"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[17]="CHARSET=utf-8"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[18]="LANG=pl_PL.UTF-8"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[19]="PPD=/etc/cups/ppd/Deskjet_D1400.ppd"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[20]="RIP_MAX_CACHE=8m"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[21]="CONTENT_TYPE=application/pdf"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[22]="DEVICE_URI=hp:/usb/Deskjet_D1400_series?serial=TH7B13311X04Y2"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[23]="PRINTER_INFO="
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[24]="PRINTER_LOCATION="
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[25]="PRINTER=Deskjet_D1400"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[26]="CUPS_FILETYPE=document"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] envp[27]="FINAL_CONTENT_TYPE=printer/Deskjet_D1400"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Started filter /usr/lib/cups/filter/pdftops (PID 2793)
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Started filter /usr/lib/cups/filter/foomatic-rip-hplip (PID 2794)
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Started backend /usr/lib/cups/backend/hp (PID 2795)
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Started filter pdftops (PID 2796)
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Started filter pstops (PID 2797)
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Page = 612x792; 18,36 to 594,783
    D [11/Feb/2011:12:44:36 +0100] [Job 24] slow_collate=0, slow_duplex=0, slow_order=0
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Before copy_comments - %!PS-Adobe-3.0
    D [11/Feb/2011:12:44:36 +0100] [Job 24] %!PS-Adobe-3.0
    D [11/Feb/2011:12:44:36 +0100] [Job 24] %%LanguageLevel: 3
    D [11/Feb/2011:12:44:36 +0100] [Job 24] %%DocumentSuppliedResources: (atend)
    D [11/Feb/2011:12:44:36 +0100] [Job 24] %%DocumentMedia: plain 596 842 0 () ()
    D [11/Feb/2011:12:44:36 +0100] [Job 24] %%BoundingBox: 0 0 596 842
    D [11/Feb/2011:12:44:36 +0100] [Job 24] %%Pages: 1
    D [11/Feb/2011:12:44:36 +0100] [Job 24] %%EndComments
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Before copy_prolog - %%BeginDefaults
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Before copy_setup - %%BeginSetup
    D [11/Feb/2011:12:44:36 +0100] [Job 24] foomatic-rip version $Revision=3.0.2.131$ running...
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Parsing PPD file ...
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Added option ColorSpace
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Added option Resolution
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Added option PageSize
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Added option Model
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Added option PrintoutMode
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Added option Quality
    D [11/Feb/2011:12:44:36 +0100] [Job 24] *cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip-hplip"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] *cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip-hplip"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Added option PageRegion
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Added option ImageableArea
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Added option PaperDimension
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Added option Font
    D [11/Feb/2011:12:44:36 +0100] [Job 24]
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Parameter Summary
    D [11/Feb/2011:12:44:36 +0100] [Job 24] -----------------
    D [11/Feb/2011:12:44:36 +0100] [Job 24]
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Spooler: cups
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Printer: Deskjet_D1400
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Shell: /bin/sh
    D [11/Feb/2011:12:44:36 +0100] [Job 24] PPD file: /etc/cups/ppd/Deskjet_D1400.ppd
    D [11/Feb/2011:12:44:36 +0100] [Job 24] ATTR file:
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Printer model: HP Deskjet d1400 Series hpijs, 3.11.1
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Job title: przelew.pdf
    D [11/Feb/2011:12:44:36 +0100] [Job 24] File(s) to be printed:
    D [11/Feb/2011:12:44:36 +0100] [Job 24] <STDIN>
    D [11/Feb/2011:12:44:36 +0100] [Job 24]
    D [11/Feb/2011:12:44:36 +0100] [Job 24] GhostScript extra search path ('GS_LIB'): /usr/share/cups/fonts
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Pondering option 'finishings=3'
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Unknown option finishings=3.
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Pondering option 'number-up=1'
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Unknown option number-up=1.
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Pondering option 'page-ranges=1'
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Unknown option page-ranges=1.
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Pondering option 'job-uuid=urn:uuid:82dc9ff4-9df7-3643-7cb5-87d5084f99f5'
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Unknown option job-uuid=urn:uuid:82dc9ff4-9df7-3643-7cb5-87d5084f99f5.
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Pondering option 'job-originating-host-name=localhost'
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Unknown option job-originating-host-name=localhost.
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Pondering option 'time-at-creation=1297424670'
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Unknown option time-at-creation=1297424670.
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Pondering option 'time-at-processing=1297424670'
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Unknown option time-at-processing=1297424670.
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Pondering option 'AP_D_InputSlot='
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Unknown option AP_D_InputSlot=.
    D [11/Feb/2011:12:44:36 +0100] [Job 24]
    D [11/Feb/2011:12:44:36 +0100] [Job 24] ================================================
    D [11/Feb/2011:12:44:36 +0100] [Job 24]
    D [11/Feb/2011:12:44:36 +0100] [Job 24] File: <STDIN>
    D [11/Feb/2011:12:44:36 +0100] [Job 24]
    D [11/Feb/2011:12:44:36 +0100] [Job 24] ================================================
    D [11/Feb/2011:12:44:36 +0100] [Job 24]
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Reading PostScript input ...
    D [11/Feb/2011:12:44:36 +0100] [Job 24] --> This document is DSC-conforming!
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Found: %RBINumCopies: 1
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Job claims to be DSC-conforming, but "%%BeginProlog" was missing before first line with another "%%Begin..." comment (is this a TeX/LaTeX/dvips-generated PostScript file?). Assuming start of "Prolog" here.
    D [11/Feb/2011:12:44:36 +0100] [Job 24]
    D [11/Feb/2011:12:44:36 +0100] [Job 24] -----------
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Found: %%BeginProlog
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Found: %%EndProlog
    D [11/Feb/2011:12:44:36 +0100] [Job 24]
    D [11/Feb/2011:12:44:36 +0100] [Job 24] -----------
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Found: %%BeginSetup
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Found: %%BeginFeature: *PageSize Letter
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Option: PageSize=Letter --> Setting option
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Found: %% FoomaticRIPOptionSetting: PageSize=Letter
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Option: PageSize=Letter --> Setting option
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Found: %%BeginFeature: *PrintoutMode Normal
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Option: PrintoutMode=Normal --> Setting option
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Found: %% FoomaticRIPOptionSetting: PrintoutMode=Normal
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Option: PrintoutMode=Normal --> Setting option
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Found: %%BeginFeature: *Quality FromPrintoutMode
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Option: Quality=FromPrintoutMode --> Setting option
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Found: %% FoomaticRIPOptionSetting: Quality=@PrintoutMode
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Option: Quality=FromPrintoutMode --> Setting option
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Before page loop - %%Page: 1 1
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Copying page 1...
    D [11/Feb/2011:12:44:36 +0100] [Job 24] pagew = 576.0, pagel = 747.0
    D [11/Feb/2011:12:44:36 +0100] [Job 24] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
    D [11/Feb/2011:12:44:36 +0100] [Job 24] PageLeft = 18.0, PageRight = 594.0
    D [11/Feb/2011:12:44:36 +0100] [Job 24] PageTop = 783.0, PageBottom = 36.0
    D [11/Feb/2011:12:44:36 +0100] [Job 24] PageWidth = 612.0, PageLength = 792.0
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Found: %%EndSetup
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Inserting PostScript code for CUPS' page accounting
    D [11/Feb/2011:12:44:36 +0100] [Job 24]
    D [11/Feb/2011:12:44:36 +0100] [Job 24] -----------
    D [11/Feb/2011:12:44:36 +0100] [Job 24] New page: 1 1
    D [11/Feb/2011:12:44:36 +0100] [Job 24]
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Found: %%BeginPageSetup
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Inserting option code into "PageSetup" section.
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Found: %%EndPageSetup
    D [11/Feb/2011:12:44:36 +0100] [Job 24] End of page header
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Stopping search for page header options
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Found: S
    D [11/Feb/2011:12:44:36 +0100] [Job 24] --> Output goes directly to the renderer now.
    D [11/Feb/2011:12:44:36 +0100] [Job 24]
    D [11/Feb/2011:12:44:36 +0100] [Job 24]
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Starting renderer
    D [11/Feb/2011:12:44:36 +0100] [Job 24] renderer PID kid4=2802
    D [11/Feb/2011:12:44:36 +0100] [Job 24] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="deskjet 3320" -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=1 -dIjsUseOutputFD -sOutputFile=- -
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Starting process 2803: "gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=6..."
    D [11/Feb/2011:12:44:36 +0100] [Job 24] JCL: <job data>
    D [11/Feb/2011:12:44:36 +0100] [Job 24]
    D [11/Feb/2011:12:44:36 +0100] [Job 24] PID 2796 (pdftops) exited with no errors.
    D [11/Feb/2011:12:44:36 +0100] [Job 24] prnt/hpijs/hpijs.cpp 650: WARNING: color pen has low ink
    D [11/Feb/2011:12:44:36 +0100] [Job 24] STATE: +marker-supply-low-warning
    D [11/Feb/2011:12:44:36 +0100] [Job 24] GPL Ghostscript 9.00: Unrecoverable error, exit code 1
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Process 2803 ending: "gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=6..."
    D [11/Feb/2011:12:44:36 +0100] [Job 24] renderer return value: 1
    D [11/Feb/2011:12:44:36 +0100] [Job 24] renderer received signal: 1
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
    D [11/Feb/2011:12:44:36 +0100] [Job 24] error: Nie ma takiego pliku ani katalogu (2)
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Cleaning up ...
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Killing process 2802 (KID4) with signal 15
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Process dying with "Caught termination signal: Job canceled", exit stat: 0
    D [11/Feb/2011:12:44:36 +0100] [Job 24] error: Przerwany potok (32)
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Cleaning up ...
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Killing process 2801 (KID3) with signal 15
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Process dying with "Caught termination signal: Job canceled", exit stat: 0
    D [11/Feb/2011:12:44:36 +0100] [Job 24] error: (0)
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Cleaning up ...
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Process dying with "Caught termination signal: Job canceled", exit stat: 0
    D [11/Feb/2011:12:44:36 +0100] [Job 24] error: Przerwane wywołanie systemowe (4)
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Cleaning up ...
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Killing process 2802 (KID4) with signal 15
    D [11/Feb/2011:12:44:36 +0100] [Job 24]
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Closing foomatic-rip.
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Killing process 2802 (KID4) with signal 9
    D [11/Feb/2011:12:44:36 +0100] [Job 24]
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Closing foomatic-rip.
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Killing process 2801 (KID3) with signal 9
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Caught termination signal: Job canceled
    D [11/Feb/2011:12:44:36 +0100] [Job 24]
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Closing foomatic-rip.
    D [11/Feb/2011:12:44:36 +0100] [Job 24] prnt/backend/hp.c 839: ERROR: null print job total=0
    D [11/Feb/2011:12:44:36 +0100] [Job 24] PID 2797 (pstops) crashed on signal 13!
    D [11/Feb/2011:12:44:36 +0100] [Job 24] End of messages
    D [11/Feb/2011:12:44:36 +0100] [Job 24] printer-state=3(idle)
    D [11/Feb/2011:12:44:36 +0100] [Job 24] printer-state-message="/usr/lib/cups/filter/pdftops failed"
    D [11/Feb/2011:12:44:36 +0100] [Job 24] printer-state-reasons=marker-supply-low-warning
    E [11/Feb/2011:12:45:56 +0100] [Job 22] Stopping unresponsive job!
    E [11/Feb/2011:12:49:41 +0100] [Job 24] Stopping unresponsive job!
    To be honest, it looks more like a Chinese poem rather than error log. I found this part the most disturbing:
    D [11/Feb/2011:12:44:36 +0100] [Job 24] STATE: +marker-supply-low-warning
    D [11/Feb/2011:12:44:36 +0100] [Job 24] GPL Ghostscript 9.00: Unrecoverable error, exit code 1
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Process 2803 ending: "gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=6..."
    D [11/Feb/2011:12:44:36 +0100] [Job 24] renderer return value: 1
    D [11/Feb/2011:12:44:36 +0100] [Job 24] renderer received signal: 1
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
    D [11/Feb/2011:12:44:36 +0100] [Job 24] error: Nie ma takiego pliku ani katalogu (2)
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Cleaning up ...
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Killing process 2802 (KID4) with signal 15
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Process dying with "Caught termination signal: Job canceled", exit stat: 0
    D [11/Feb/2011:12:44:36 +0100] [Job 24] error: Przerwany potok (32)
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Cleaning up ...
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Killing process 2801 (KID3) with signal 15
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Process dying with "Caught termination signal: Job canceled", exit stat: 0
    D [11/Feb/2011:12:44:36 +0100] [Job 24] error: (0)
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Cleaning up ...
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Process dying with "Caught termination signal: Job canceled", exit stat: 0
    D [11/Feb/2011:12:44:36 +0100] [Job 24] error: Przerwane wywołanie systemowe (4)
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Cleaning up ...
    D [11/Feb/2011:12:44:36 +0100] [Job 24] Killing process 2802 (KID4) with signal 15
    Anyone had such problems before? Just don't tell me this cursed device demands a sacrifice from freshly produced virgin paper sheets to chew on.
    Other non-pdf documents print succesfully.

    just got hit with thie same error on my canon printer, and I was told I should try reinstalling the printer (not sure if that's meant for the driver or the actual printer in CUPS, but I intend to try both...

  • Viewing attachments to PDF files in Preview

    Hi all,
    Sometimes files are attached to PDFs so that the attached file (spreadsheet, movie, whatever) comes along with the PDF. It's easy to see the attached files using Acrobat Reader (you click on the paperclip icon), but I can't figure out how to see them in Preview. Is this possible? Please note that I am talking about attachments within PDF files, not PDFs attached to emails!
    Thanks in advance,
    wrathkeg

    I have exactly the same problem with PDFs containing bitmaps created by Illustrator CS3 (and CS4) -- the bitmap appears as negative.
    It has to do with the compression method used for the bitmaps in the Adobe PDF creation. If it is JPEG or JPEG2000 the problem occurs, if it's ZIP or no compression, the image is fine.
    If have reported this to Apple as a bug already.
    10.6.2 has NOT fixed this behaviour.

  • Writing a java program for generating .pdf file with the data of MS-Excel .

    Hi all,
    My object is write a java program so tht...it'll generate the .pdf file after retriving the data from MS-Excel file.
    I used POI HSSF to read the data from MS-Excel and used iText to generate .pdf file:
    My Program is:
    * Created on Apr 13, 2005
    * TODO To change the template for this generated file go to
    * Window - Preferences - Java - Code Style - Code Templates
    package forums;
    import java.io.*;
    import java.awt.Color;
    import com.lowagie.text.*;
    import com.lowagie.text.pdf.*;
    import com.lowagie.text.Font.*;
    import com.lowagie.text.pdf.MultiColumnText;
    import com.lowagie.text.Phrase.*;
    import net.sf.hibernate.mapping.Array;
    import org.apache.poi.hssf.*;
    import org.apache.poi.poifs.filesystem.*;
    import org.apache.poi.hssf.usermodel.*;
    import com.lowagie.text.Phrase.*;
    import java.util.Iterator;
    * Generates a simple 'Hello World' PDF file.
    * @author blowagie
    public class pdfgenerator {
         * Generates a PDF file with the text 'Hello World'
         * @param args no arguments needed here
         public static void main(String[] args) {
              System.out.println("Hello World");
              Rectangle pageSize = new Rectangle(916, 1592);
                        pageSize.setBackgroundColor(new java.awt.Color(0xFF, 0xFF, 0xDE));
              // step 1: creation of a document-object
              //Document document = new Document(pageSize);
              Document document = new Document(pageSize, 132, 164, 108, 108);
              try {
                   // step 2:
                   // we create a writer that listens to the document
                   // and directs a PDF-stream to a file
                   PdfWriter writer =PdfWriter.getInstance(document,new FileOutputStream("c:\\weeklystatus.pdf"));
                   writer.setEncryption(PdfWriter.STRENGTH128BITS, "Hello", "World", PdfWriter.AllowCopy | PdfWriter.AllowPrinting);
    //               step 3: we open the document
                             document.open();
                   Paragraph paragraph = new Paragraph("",new Font(Font.TIMES_ROMAN, 13, Font.BOLDITALIC, new Color(0, 0, 255)));
                   POIFSFileSystem pofilesystem=new POIFSFileSystem(new FileInputStream("D:\\ESM\\plans\\weekly report(31-01..04-02).xls"));
                   HSSFWorkbook hbook=new HSSFWorkbook(pofilesystem);
                   HSSFSheet hsheet=hbook.getSheetAt(0);//.createSheet();
                   Iterator rows = hsheet.rowIterator();
                                  while( rows.hasNext() ) {
                                       Phrase phrase=new Phrase();
                                       HSSFRow row = (HSSFRow) rows.next();
                                       //System.out.println( "Row #" + row.getRowNum());
                                       // Iterate over each cell in the row and print out the cell's content
                                       Iterator cells = row.cellIterator();
                                       while( cells.hasNext() ) {
                                            HSSFCell cell = (HSSFCell) cells.next();
                                            //System.out.println( "Cell #" + cell.getCellNum() );
                                            switch ( cell.getCellType() ) {
                                                 case HSSFCell.CELL_TYPE_STRING:
                                                 String stringcell=cell.getStringCellValue ()+" ";
                                                 writer.setSpaceCharRatio(PdfWriter.NO_SPACE_CHAR_RATIO);
                                                 phrase.add(stringcell);
                                            // document.add(new Phrase(string));
                                                      System.out.print( cell.getStringCellValue () );
                                                      break;
                                                 case HSSFCell.CELL_TYPE_FORMULA:
                                                           String stringdate=cell.getCellFormula()+" ";
                                                           writer.setSpaceCharRatio(PdfWriter.NO_SPACE_CHAR_RATIO);
                                                           phrase.add(stringdate);
                                                 System.out.print( cell.getCellFormula() );
                                                           break;
                                                 case HSSFCell.CELL_TYPE_NUMERIC:
                                                 String string=String.valueOf(cell.getNumericCellValue())+" ";
                                                      writer.setSpaceCharRatio(PdfWriter.NO_SPACE_CHAR_RATIO);
                                                      phrase.add(string);
                                                      System.out.print( cell.getNumericCellValue() );
                                                      break;
                                                 default:
                                                      //System.out.println( "unsuported sell type" );
                                                      break;
                                       document.add(new Paragraph(phrase));
                                       document.add(new Paragraph("\n \n \n"));
                   // step 4: we add a paragraph to the document
              } catch (DocumentException de) {
                   System.err.println(de.getMessage());
              } catch (IOException ioe) {
                   System.err.println(ioe.getMessage());
              // step 5: we close the document
              document.close();
    My Input from MS-Excel file is:
         Planning and Tracking Template for Interns                                                                 
         Name of the Intern     N.Kesavulu Reddy                                                            
         Project Name     Enterprise Sales and Marketing                                                            
         Description     Estimated Effort in Hrs     Planned/Replanned          Actual          Actual Effort in Hrs     Complexity     Priority     LOC written new & modified     % work completion     Status     Rework     Remarks
    S.No               Start Date     End Date     Start Date     End Date                                        
    1     setup the configuration          31/01/2005     1/2/2005     31/01/2005     1/2/2005                                        
    2     Deploying an application through Tapestry, Spring, Hibernate          2/2/2005     2/2/2005     2/2/2005     2/2/2005                                        
    3     Gone through Componentization and Cxprice application          3/2/2005     3/2/2005     3/2/2005     3/2/2005                                        
    4     Attend the sessions(tapestry,spring, hibernate), QBA          4/2/2005     4/2/2005     4/2/2005     4/2/2005                                        
         The o/p I'm gettint in .pdf file is:
    Planning and Tracking Template for Interns
    N.Kesavulu Reddy Name of the Intern
    Enterprise Sales and Marketing Project Name
    Remarks Rework Status % work completion LOC written new & modified Priority
    Complexity Actual Effort in Hrs Actual Planned/Replanned Estimated Effort in Hrs Description
    End Date Start Date End Date Start Date S.No
    38354.0 31/01/2005 38354.0 31/01/2005 setup the configuration 1.0
    38385.0 38385.0 38385.0 38385.0 Deploying an application through Tapestry, Spring, Hibernate
    2.0
    38413.0 38413.0 38413.0 38413.0 Gone through Componentization and Cxprice application
    3.0
    38444.0 38444.0 38444.0 38444.0 Attend the sessions(tapestry,spring, hibernate), QBA 4.0
                                       The issues i'm facing are:
    When it is reading a row from MS-Excel it is writing to the .pdf file from last cell to first cell.( 2 cell in 1 place, 1 cell in 2 place like if the row has two cells with data as : Name of the Intern: Kesavulu Reddy then it is writing to the .pdf file as Kesavulu Reddy Name of Intern)
    and the second issue is:
    It is not recognizing the date format..it is recognizing the date in first row only......
    Plz Tell me wht is the solution for this...
    Regards
    [email protected]

    Don't double post your question:
    http://forum.java.sun.com/thread.jspa?threadID=617605&messageID=3450899#3450899
    /Kaj

Maybe you are looking for

  • No video when emailing video clip?

    I took a video on my iPhone and want to email it to a friend. I did download it to my desktop iMac. Here are the things I've already tried. 1.  I edited the clip in iPhoto and tried to email it from there, but that is not supported. 2.  I then export

  • Preventing Password Characters from being Displayed

    I know this question has been asked and answered about a billion times but I can't seem to find any definitive answer as to how it will be addressed or if there are any plans to address it in the future. We all know that when an iPad, iPhone, or iPod

  • How to synchronize more than 5 apple devices on a macbook?

    we have 8 apple devices (2 iPhone, 2 iPad, 2 iPodtouch, 2 iPod) and can't synchronise them all on a single apple account. how to install a second apple account? thanks for you help

  • I can't open  my mail on my mac

    I was trying to "clean up" my mail. Now i can't even open my mail icon on my imac.

  • Sent via message at bottom

    At the bottom of each email I send from my BB, it reads:  Sent via BlackBerry by AT&T I would like to remove that line.  How do I do that?  Thanks!