In cache destype=printer pdf corrupt (?), but destype=file pdf is ok

Hi all,
S.O.: SLES 10 (Novell)
Oracle Reports 10g (StandAlone)
I want execute .rdf file vía web browser, but the more important for me is printer the result by the defined printer
for example:
http://10.142.81.153:7778/reports/rwservlet?userid=gloviajava/gloviajava@livem&destype=printer&desformat=pdf&desname=cpd81200&report=3de9.rdf
But the light of printer on but nothing printed.
When destype=file the pdf resultant is OK and I can print via 'lpr -P ...'
Anything can help me ? is very important for my work , please I hope your help.
Thank in advanced.
Manuel.

Hello,
When DESTYPE=PRINTER DESFORMAT=PDF is meaningless (the output file generated by the Reports Engine Will NOT be a PDF file)
You can check what is in the file generated by the Reports Engine in the Reports Server Cache :
by default , the Reports Server cache is in $ORACLE_HOME/reports/cache
The printer cpd81200 should be defined int he file uiprint.txt .
The PPD or HPD defined for this printer should be a PPD or HPD "matching" the printer ...
Regards

Similar Messages

  • Some PDFs not working in Preview. Mac created PDFS work but windows created PDFS dont

    Some PDFs not working in Preview. I installed adobe reader and then deleted it because the software was aweful and PDFs have been haveing issues ever since. I can open up PDFs created on my Mac in preview just fine...
    But when I try and open a PDF created on a windows computer it says:
    "Please wait...
    If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document.
    You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by visiting http://www.adobe.com/products/acrobat/readstep2.html.
    For more assistance with Adobe Reader visit http://www.adobe.com/support/products/ acrreader.html.
    Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. Mac is a trademark of Apple Inc., registered in the United States and other countries. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. "
    I am not sure why where the PDF was created would make a difference but couldnt help but notice that was the difference between the PDF files that work and the ones that give that message. I can view the PDFs on a windows computer just fine and never had issues untill adobe, it seems to have messed up PDFs on my Mac and I am so frustrated with them. I have searched my computer for any remaining adobe files, deleted them and restarted my computer but I am still getting this message.

    Uninstall Adobe Reader's plug-in.
    Remove the following two files from  /Library/Internet Plug-Ins/:
    AdobePDFViewer.plugin
    AdobePDFViewerNPAPI.plugin
    Open Safari Preferences > Extensions. Do you see AdobePDFViewer? If yes. disable.
    Log out/in and test.
    Another option is to download and install this plugin. Schubert|it PDF Browser Plugin . PDF Browser Plugin 2 is free for not-for-profit activities if used at home or at educational institutions.
    http://www.schubert-it.com/pluginpdf/

  • Can you overlay two PDF documents, but use second PDF as watermark to first?

    I have two PDF documents that I want to overlay page by page. (It's a long story, but the purpose is to create an PDF cast. Livescribe Education :: Guest Blog: How To Embed Text Behind a Livescribe Pencast PDF)
    The known method to do this is basically overlaying a JPEG file on a PDF page. The process becomes extremely cumbersome if there are more than 2 pages of PDF. So I'm looking for a way to overlay one PDF file on top of another PDF file in the form of watermark.
    Is there a plug-in or app that can facilitate this?

    Open the first PDF with Acrobat Pro.
    Now use the tool that lets you insert a background.
    Select the second PDF.
    Adjust the scale of this PDF (in the dialog) as needed.
    When done consider flattening the layer.
    Be well...

  • Split a long PDF form programmatically into smaller PDF forms

    You can programmatically split forms using LC Assembler service and use the DDX. You could extract page1 from pdf1 and create a pdf, then page2 of pdf1 into a different PDF using something similar to:
    <?xml version="1.0" encoding="UTF-8"?>
    <DDX xmlns="http://ns.adobe.com/DDX/1.0/">
    <PDF result="Final.pdf">
         <PDF source="PDF1.pdf" pages="1"/>
    </PDF>
    <PDF result="Final2.pdf">
          <PDF source="PDF1.pdf" pages="2"/>
    </PDF>
    </DDX>
    To split according to Level 1 bookmarks, you can also use the PDFFromBookmarks tag.
    For example,
    <PDFsFromBookmarks prefix="stmt">
         <PDF source="doc1.pdf"/>
    </PDFsFromBookmarks>
    More info is available in the Assembler Service and DDX Reference available at http://help.adobe.com/en_US/livecycle/10.0/ddxRef.pdf.

    Sorry, but making single PDF from many smartforms is not what I want to achieve. I wold like to know how to get one PDF document made by ALC-forms.
    In my example I have many PDF documents. So, how to get (or put) them all in one PDF?
    ps: the way to get one PDF from smartforms is also here:
    "Combining Multiple Smartform Outputs Into One PDF file"
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/62ae7fcd-0b01-0010-3e9d-a54f26944450

  • How to setup in-process report server 11g on linux for destype=printer

    Currently, I'm facing following error when send RDF report directly on printer with destype=printer using run_report_object built-in
    REP-50159: The report generated successfully but distribution to destinations failed.
    REP-50157: Destination ID TESTREP failed with error An error occurred while sending the file to printer \\hostname\printername. Exit with error code 1..
    When i check on report server cache PDF file is generated /wls/asinst_1/reports/cache/\\askit\PRN01F8gFTQkG5v.pdf but job not go to printer as mention in trace rwlpr.trc file output below.
    Note: rwlpr.trc file generated by following 268295.1
    ==============================================================
    XAUTHORITY=/tmp/.gdmT93JDW
    _=/usr/bin/env
    Parameters : -P "\\askit\PRN01F8" -#1 "/wls/asinst_1/reports/cache/\\askit\PRN01F8gFTQkG5v.pdf"
    + '[' '!' 4 -gt 0 ']'
    + '[' -P = -help ']'
    ++ uname -s
    + '[' Linux = HP-UX ']'
    + PRNCMDS='lpr lp'
    + for CMD in '$PRNCMDS'
    ++ which lpr
    ++ grep lpr
    + PRNCMDPATH=/usr/bin/lpr
    + '[' '!' -x /usr/bin/lpr ']'
    + '[' -x /usr/bin/lpr ']'
    ++ basename /usr/bin/lpr
    + '[' lpr = lpr ']'
    ++ uname -s
    + '[' Linux = Linux ']'
    ++ echo -P '"\\askit\PRN01F8"' -#1 '"/wls/asinst_1/reports/cache/\\askit\PRN01F8gFTQkG5v.pdf"'
    ++ tr -d '"'
    + /usr/bin/lpr -P '\\askit\PRN01F8' -#1 '/wls/asinst_1/reports/cache/\\askit\PRN01F8gFTQkG5v.pdf'
    /usr/bin/lpr: The printer or class was not found.
    + exit 1
    =============================================================
    I didn't do any configuration in Enterprise Manager for Printer Configuration. Is this the reason? Is any thing I missed out?
    Environment Setup:
    Server Side:
    Oracle Linux 5 (No printer is setup)
    Oracle Weblogic Server 10.3.6
    Oracle FMW Forms and Report 11.1.2
    Configure: In-Process Report Server
    Client Side:
    Window 7
    Printer: Default network printer set with client
    Best Regards,
    Fani

    Hi,
    the first thing you need to check is if you are able to print from the OS using the same lpr command that reports is using and using the printer queue being used when you submitted the report request.
    Try to print any file from command line using lpr and your print queue \\askit\PRN01F8. If this does not work then that needs to be fixed from the OS standpoint before running report to printer.
    Hope it helps
    Regards, RZ

  • APEX on Oracle XE PDF printing produces: Format error: not a PDF or corrupted.

    Dear fellow Apexers and Oracle Gurus,
    I have the following configuration:
    Oracle XE 11gR2
    APEX 4.2.3.00.08
    Listener 2.0.5
    On this setup I can create workspaces and applications as I please.
    Now I want to print a PDF report.
    I have set up PDF printing to "Oracle Listener" in the "manage Instance" settings in the instance administration.
    I have created a classical report on the EMPLOYEES table (Select * from EMPLOYEES)
    and enabled PDF printing in the "Printing" area of the "Print Attributes" of the page.
    When I run the page I do get the "print" link on the bottom of the page.
    Clicking the link does produce a .PDF but showing this file triggers an error in my PDF reader: Format error: not a PDF or corrupted.
    Opening the .PDF file in a text editor reveals the corrupt content.
    %PDF-1.4
    %ª«¬
    Unknown function: gatherContextInfo
    The same setup works fine and produces the expected PDF file with the report on the following configuration:
    Oracle Vbox with Developer days image;
    DB 11gR2
    Upgraded to apex 4.2.3.00.08
    Listener 2.0.5
    Since the PDF shows "unknown function" I suspected the XE configuration to lack some of the necessary rights, maybe I forgot to configure the ACLs correctly.
    So I compared the ACL info on both configurations. Alas,.. on both machines they return the same result..
    SQL> SELECT * FROM DBA_NETWORK_ACLS
    HOST         LOWER_PORT    UPPER_PORT    ACL
    localhost    null          null           /sys/acls/local-access-users.xml
    *            null          null           /sys/acls/power_users.xml    
    SQL> select * from dba_network_acl_privileges
    ACL                                  PRINCIPAL      PRIVILEGE   IS_GRANT    INVERT
    /sys/acls/local-access-users.xml     APEX_040200    connect     true        false
    /sys/acls/power_users.xml            APEX_040200    connect     true        false 
    Anyone any idea why this works fine on the Vbox and not on the local XE configuration?
    Any hint or answer as to where the problem might be is appreciated
    TIA
    Wouter

    I'm having the same issue. I'm using Oracle XE 11gR2 as well. I've tried with APEX 4.2.2 and APEX 4.2.4. I have set up the Oracle Listener in instance settings and set the report to print and I have the same result as you. Have you had any progress yet?
    Thanks
    Jason

  • Destype=Printer; without url being redirected or popup window

    In our old client/server enviroment, our users printed some reports directly to the printer. In the Oracle 9I web server, we user web.show_document to run a report with '_blank' so that the form is not changed to the report URL. Destype=Printer is in the URL and printers are setup on our AIX Unix server. It works but our users do not want to see any popup window and want to stay in a form. A message comes up saying "Report ran successfully". The users don't want this message or the window that it is in caused by web.show_document. They just want to print without seeing anything on the screen. Is this possible?

    Hi,
    Please try with following options
    1. Enter DESNAME with in quotes as '\\rgasion\F5-copyroom east -1' and print the Report
    (or)
    2. Go To Windows Printer Setup, Change printer name to F5-copyroom_east_-1(Remove space with underscore), then try to print
    or
    3. If you printer is Shared Network printer, Open Printer Property dialog and go to Sharing page, there set share name as F5-copyroom_east_-1, then try to print
    Thanks
    Oracle Reports Team

  • Print Quote the report is in PDF but need to be new RTF template

    We have 11.5.10 apps, the Quote screen is an OAF screen.
    When clicking Print Quote the report is in PDF, They want to include a new RTF template for printing instead of PDF.
    The new RTF template is created. But what I do not know is how the quote screen will take the new template. I can use XMLP to upload the RTF template but that may not be sufficient to make it appear in the Quote screen.
    I am looking at the profile ASO:Default Layout Template. Am I headed the right way?

    Hi,
    Please refer to the following documents, it should be helpful.
    Note: 780722.1 - How to Create a Custom Print Quote Template in Oracle Quoting ?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=780722.1
    Note: 392728.1 - How to Modify the data source for the XML version of the Print Quote report
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=392728.1
    Note: 468982.1 - How To Customize The Asoprint.Xsl
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=468982.1
    Regards,
    Hussein

  • Can print PS file but not make PDF

    Printing to a PostScript printer with a customized PostScript driver in WordPerfect 5.1 for DOS is what we do every day, but when we print the same job to a PS file we can't make a PDF in Adobe Acrobat Pro 9.4. What can we do to make a PDF? Here is the error message from Distiller:
    Processing prologue.ps...
    Done processing prologue.ps.
    %%[ Error: rangecheck; OffendingCommand: setpagedevice; ErrorInfo: InputAttributes --nostringval-- ]%%
    Stack:
    -dict-
    -save-
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    If I knew what to edit in the PS file to make it print a PDF, that would be one workaround. But I'm very curious why our printer (HP LaserJet 4050 with a Level 2 PostScript emulator) will print a file that Distiller won't process. Here is the only place in the PS file that mentions setpagedevice:
    /manualfeed true put usertime 5000 add {dup usertime lt {pop exit} if} loop <</InputAttributes <<31<< /PageSize [612 792] /MediaType (Standard) >>/Priority []>> >>setpagedevice << /PageSize [612 792] /MediaType (Standard) >> setpagedevice _bp 0 13200 10200 _ornt /PlantinR 400 _ff
    0 13200 10200 _ornt
    "612 792" is, of course, the page size in points
    Trying to make the PDF from the the PS file that was meant for another PostScript printer (HP LaserJet 2200D), we get the same Distiller error message. This time the PS file contains:
    letter <</InputAttributes <<-1<< /PageSize [612 792]  /MediaType (Standard) >>/Priority []>> >>setpagedevice << /PageSize [612 792]  /MediaType (Standard) >> setpagedevice _bp 0 13200 10200 _ornt /PlantinR 400 _ff
    0 13200 10200 _ornt
    This passage from the 2nd attempt has much in common with the first PS attempt. What does Distiller mean by the InputAttributes having "nostringval"? What stringval would work?
    By substituting this from an uncustomized driver that does work,
    letter statusdict begin true setduplexmode false settumble end _bp 0 13200 10200 _ornt /PlantinR 400 _ff
    0 13200 10200 _ornt
    and by removing an offending command BRst, a PDF is created. But it doesn't have any of the special fonts that were downloaded. Still, that's progress.

    Thank you. The first line of the PS file is "%!PS-Adobe", so I conclude that the origin of the uncustomized PostScript driver was Adobe; WordPerfect Corp. supplied it to purchasers of their software. Uncustomized (except for new Type 3 fonts), the PostScript driver still works splendidly for creating PS files that are easily distilled into PDFs. We only use Adobe software for this purpose.
    By editing parts of the problem PS file I am just now able to get the PDF. But it requires replacing the following on every page:
    letter <</InputAttributes <<-1<< /PageSize [612 792]  /MediaType (Standard) >>/Priority []>> >>setpagedevice << /PageSize [612 792]  /MediaType (Standard) >> setpagedevice _bp 0 13200 10200 _ornt /PlantinR 400 _ff0 13200 10200 _ornt
    with this:
    letter statusdict begin true setduplexmode false settumble end _bp 0 13200 10200 _ornt /PlantinR 400 _ff0 13200 10200 _ornt
    I will continue working these codes. It ought to be possible to get paging codes that are less laborious to replace or otherwise get working, and obviously some of the codes can be eliminated.
    We're not in a position to give up our highly customized driver for mathematical logic printing on paper until a volume of historical text is finished. Smoother produced PDFs must be possible for an electronic edition.
    The other snag I mentioned, "BRst", came from a text file of "pskeys" that was to be downloaded with the job. It works when I simply insert pskeys.txt into the PS file.

  • I need to able to print a pdf that is locked.  It has fields to fill in but then to save a copy I need to "print" to PDF not save as a pdf because that is not an option with the document.  Is there a way to do this?

    The PDF has fields to fill in but then to save a copy I need to "print" to PDF not save as a pdf because that is not an option with the document.  Is there a way to do this?  HELP!

    Sorry I thought  was just a one off, it would be no use for large volumes.
    Do you not have this avaiable in the print menu in Preview with these documents?
    I have also found a link on the Adobe web site that discusses that this facilty is enabled by the creater of the PDF.
    http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd61510979419 5ff-7e0d.w.html
    If you do a web search there are various claims on how to save a protected PDF, I have'nt a way to test the proceedures. I would want a copy of any forms that I sent off, not sure why they protect them in this way, there must be a reason.

  • I am having trouble printing a PDF document. Whenever I click print nothing happens but when I am printing documents from Word, Excel etc they print without a problem. I've tried printing as image but that did not work. I uninstalled Adobe Reader XI and d

    I am having trouble printing a PDF document. Whenever I click print nothing happens but when I am printing documents from Word, Excel etc they print without a problem. I've tried printing as image but that did not work. I uninstalled Adobe Reader XI and downloaded Adobe Reader X instead and that still doesn't work. I have Windows 7.

    Hello,
    Please follow the link to troubleshoot the printing issues with Adobe Reader:- Troubleshoot PDF printing | Acrobat, Reader.
    Regards,
    Nakul

  • Firefox will show PDF's but prints blank pages. Other browsers are fine, safe mode has no effect.

    Currently on an HP laptop, Win8, printing to a HP Color Laser, no previous problems; all of a sudden, PDF's are printing blank pages. I can see the page fine. Safe mode without any addons has no change. I printed my taxes out and had no problems.
    I've used IE (shudder) an been able to print PDF's fine. I have no PDF software itself on the computer, just using the browsers native support. EXTREMELY FRUSTRATING. Searching shows problems loading PDF's, but my problem is printing PDF's. Using version 29 of Firefox. Anyone got any tips or clues how to hunt this down? Really close to introducing my computer to Mr. sledgehammer.

    Thanks, appreciate the links for PDF driver add ons, this will be my last resort if nobody else can figure it out. I don't use Acrobat because of all their bloatware and hidden installs. I still would like to know why Firefox started printing blank pages in PDF's, but can still open the PDF's, very frustrating. Seems like a few other people are having the issue as well.

  • Gradient boundary appears printed, but not on PDF?

    Hey guys! Hope you can help me out with this.
    I'm exporting a PDF from InDesign. The PDF looks fine, but when I print it it appears as if a gradient border has a stroke applied. In InDesign I've confirmed that the stroke is 0, but I'm still getting a light black line when printed. Also, it appears to only print from our high quality color printer -- when I print it from an old black/white one there is no line. Can anyone think of why this might be?
    Thanks!
    Ben

    I can also confirm the problem here on my Adobe PostScript 3 printer using Acrobat 7, 8, and 9. The problem goes away if I turn on the "Print as Image" option in Acrobat's Advanced Print dialog. If your black and white printer is not a PostScript device, this is effectively doing the same thing. (Note that I'm not suggesting "Print as Image" as a good solution since it can change the color output, can take along time to print, and if you are sending the file to someone else for production, it might be difficult to guarantee that they will do the same.
    The line occurs at the bottom edge of a raster image which was created by the Adobe Transparency Flattener to simulate your gradient in a (flattened) PDF 1.3. I'd suggest either trying PDF 1.4 or higher. If that's not acceptable for whatever reason, I'd suggest making sure that the gradient fill goes all the way to the bottom of the page AND making the gradient fade to something other than white (e.g., 0C, 0.5 M, 1.0Y, 0K). Hopefully, that will cause the raster image created by the flattener to extend all the way to the bottom of the page, and put the nasty line off the page...

  • URL not found error when DESTYPE=printer !!

    When I am trying to send a print request to the report server with DESTYPE=printer and DESNAME=printer path, I am getting the following report server error:
    "Error: the requested URL was not found or cannot be served at this time. Oracle Reports Server CGI - The reprots server engine terminated abnormally".
    When I try with DESNAME=a different printer, it works fine. I am absolutely 100% positive that the printer path I am providing is correct. I need to print on the printer where I am getting an error because that printer supports different page sizes. I have PAGESIZE=14X8.5 set. The printer where I am not getting an error does not support pages bigger than 8.5X11.
    Any ideas ? Again am I missing any settings on the report server. One thing I noticed is that the printer where I am having the above error has spaces in its name, eg. (\\rgasion\F5-copyroom east -1) where as the other printer does not have any spaces in its name. I noticed that when I type in an http request on the web page, the spaces are being subsituted with '%20'.
    Thanks in advance.

    Hi,
    Please try with following options
    1. Enter DESNAME with in quotes as '\\rgasion\F5-copyroom east -1' and print the Report
    (or)
    2. Go To Windows Printer Setup, Change printer name to F5-copyroom_east_-1(Remove space with underscore), then try to print
    or
    3. If you printer is Shared Network printer, Open Printer Property dialog and go to Sharing page, there set share name as F5-copyroom_east_-1, then try to print
    Thanks
    Oracle Reports Team

  • My Publisher 2007 Font Times document printed to Adobe X Printer has 150% clear display of PDF but not quite as clear at 100%

    (1) HP 2311X LED Monitor and monitor LED HP Pavilion 27XI LED, Windows 8.1 on HP ENVY 700-qe computer system: (2) Windows XP Dell Computer Inspiron 530 Model: DCMF with NVIDIA Video Card GeoForce 8400 with Monitor Dell LCD model S2409Wb (3) I am using Publisher 2007 to print to Adobe Pro version X  PDF printer to produce a PDF.  We produce one PDF set up for 5.5X8 set up in printers spread and another PDF set up for readers spread.  At 100% on both computer systems the print on the screen is not as clear (just a little like when an inkjet runs low on ink-some parts of the printed letters aren't as distinct as when viewed at 150%.  We are using the Times Font.  Clear Type computer enabled on both the Windows 8.1 system and the XP system displays.  I tried using Publisher 2013 to produce a PDF and it seemed just as good at 150% and a little clearer at 100%.   The PDFs are displayed on a web page for people to download.  The web page is www.cbcb.org – a good booklet to look at on the first web page is “Appointed Times”.
    What is going on here?  The document has been viewed on the above two computers with three monitors and results are the same.   With the Publisher 2007 I was printing to an installed Adobe Printer in the printer dialogue box to produce the PDF and with the Publisher 2013 I was creating the PDF by using the "SAVE AS" option.
    Would appreciate some pointers on what is going on.

    This is a pretty unusal error that i dont even think Adobe has an answer to. Either A.) They are really bad with keeping all their customer case information or B.) They know this is something they have no answer to so they are giving us the run around. It just doesnt make sense that it will work with excel and powerpoint now and not word. Only thing i have not tried is reloading Office...It may be something to attempt. If anything comes to mind i would appreciate it. Thanks in advance.

Maybe you are looking for

  • Sort order in iTunes (sort by album)

    Hi! What could be the cause that iTunes in this case: http://homepage.mac.com/bhager/sortierung.png doesn't sort the tracks in correct order when sorting by album? In the other cases apparently it works fine. Thanks, Bensch

  • Upgrade Acrobat 9 pro vs. new product

    In checking various web sites they actually quote the cost of the Acrobat 9  pro full product as substantially less expensive than the full version.   Does anyone know what the disadvanteges would be to go with the full version vs. the upgrade?

  • Can't write file on server using Servlet

    Dear programers, I have written a little method that creates a simple file. This method works fine when I execute it on my PC but it doesn't work when the servlet execute it. For example: public void test(){ FileOutputStream fileHTML = null; String h

  • Check lot

    Hi, We have one check lot of check number 010101 to 015100. But after some months coincidently new check lot has come form same bank with same numbers. System does not allowed to create new check lot for same number. Please suggest how to create.

  • Tab content is empty when tab is dragged

    I have two TabPanes which can move tabs each other. This is the code of the TabPane which receives the dragged tabs from the user: tabPane.setOnDragDropped(new EventHandler<DragEvent>()             @Override             public void handle(DragEvent e