PDF to print via APEX earphone


I'm trying to set up printing via the listener of the APEX and I am struggling to understand it.  I currently use an Oracle HTTP server as the web server for APEX.  I installed the listener of the APEX and configured.  If I connect via the listener of the APEX, a PDF works fine.  If I connect through the Oracle HTTP server, I get an error with a PDF file.  I have to communicate with the listener of the APEX for the printing of the PDF?  I thought that I could configure the listener of the APEX for the printing of the PDF on the backend and still connect via an Oracle HTTP server.  I use APEX APEX receiver 2.0.5 and Oracle DB 11.1.0.7 4.2.3.

So do you have other questions?  If this isn't the case, then please connect it as a closed question and award points as see fit you...

Thank you

Tony Miller

Software LuvMuffin

Tags: Database

Similar Questions

  • The value of PDF file printed via the script name

    Hi people!

    I have a little problem with the generation of a PDF file. First my Workflow:

    I have an InDesign document with 6 pages. This document is merged with a databasefile containing 100 records. After it is merged, we need to generate a PDF file. This PDF file is opened in acrobat. In the document, I am looking for one ID for each record so I can split the document to 100 files (each with 6 pages) and name by the ID that I found.

    The Acrobat script is finished and functional. I thought: the InDesign script is over, too. But I was wrong-. -.

    I merged the databasefile with the document and it has exported to PDF. But after export, we noticed that the Acrobat script isn't finding the adressheader where ID is in. The script only noticed the text after this header. The result is, as get-Acrobat always 'null' as ID

    If print us the PDF with our PDFprinter, the header could be read by our script of Acrobat. I don't know why this is... But now, I changed the script to print the files through our PDF printer. Unfortunately I can not set a name for my exported file - do you know if it is possible to print PDF files without asking for confirmation after each other as well as with a via script name?

    Here you can see the old writing for InDesign and after her, the sript Acrobat. Maybe I made a mistake by generating my PDFexport and have no need to use the printer?

    INDESIGN SCRIPT:

    /**
    * invite filebrowser and stores the name and path of the file in variable
    */
    var sourceDocument = File.openDialog ("Bitte Indesign-Dokument Park", "*.indd", false);

    /**
    * stores the only prefix of file name to use as the new file name
    */
    newName var = sourceDocument.name.substr (0, sourceDocument.name.length - 5);

    /**
    stores in folder where the file is stored
    */
    var dbSourceFolder = sourceDocument.parent + "/"; "

    /**
    * guests for databasefile, where production is expected to begin
    */
    var dbstartfile = File.openDialog ("Start-Datenbankdatei of Bitte Park", "*.txt", false);

    /**
    * Gets databasefile basename
    */
    var dbstartfilename = dbstartfile.name.slice (0, dbstartfile.name.search(/_Teil+/));

    /**
    * Gets number of first databasefile
    */
    var i = dbstartfile.name.slice (dbstartfile.name.search(/_Teil+/) + 5) .slice (0, -4);

    /**
    * generates the path and name of the first databasefile to use
    */
    var dbSource = dbstartfile;

    /**
    * set PDF preset to generate PDFS
    */
    var PDFPreset = app.pdfExportPresets.item ("GAG - PDF");

    /**
    * stop throwing alerts
    */
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;

    message will be thrown if databasefile is not existing
    If (dbSource.exists == false) {}
    reboot to launch alerts
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;
    Alert ("File" + dbSourceFolder + dbprefix + "_Teil" + i + ".txt konnte nicht werden found! \n\rBitte starten Sie den procedure Rubis und Sie die right Datenbankdatei one enter.");
    }
    another process begins
    else {}
    even if (dbSource.exists == true) {}
    Opens the document indesign source without displaying
    mergeDocument = app.open (File (sourceDocument), false);
    defines what databasefile should be used for data merging
    mergeDocument.dataMergeProperties.selectDataSource (File (dbSource));
    starts the file database and the indesign document merging
    mergeDocument.dataMergeProperties.mergeRecords ();
    document generated in PDF export
    app.activeDocument.exportFile (ExportFormat.pdfType, File(sourceDocument.parent+"/"+newName+"_Teil"+i+".pdf"), false, PDFPreset);
    farm open indesign document
    mergeDocument.close (SaveOptions.no);
    i ++ ;

    change the name of the database file to get the next file
    dbSource = File(dbSource.parent+"/"+dbstartfilename+"_Teil"+i+".txt");
    }
    }
    reboot to launch alerts
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;
    Alert ("PDF-Generierung sky!");

    SCRIPT ACROBAT:


    /**
    * Path where files should be saved
    * Special characters like spaces must be preceded of--------.
    * If you want to change the folder, use the following form:
    * ' / DriveLetter/foldername /... /LastFolderName/.
    * Be careful not to forget the / before and after the location
    */
    filepath var = "/ c/pdf_split_test / ';

    /**
    * Number of display pages - do not hesitate to change
    */

    pageType = app.prompt var ("Please die Seitenzahl der presentations one gewunschte.", "");
    Alert (PAGETYPE);

    /**
    to search for regular expression
    */

    var idNumber = / 08\d\d\d\d\-\d\d\d\-\d\d\d\d\d-\d\d\d-\d\d/g;

    /**
    * If possible this function gets the number sought as string
    *
    @param string of revenge that is to be found in the document
    * @return null if rematch is not found or a string if the rematch is
    */

    function ExtractFromDocument (reMatch) {}
    try {}
    var Out = new Object();
    for (var i = 0; i < 1; i ++)
    {
    numWords = this.getPageNumWords (i);
    var PageText = ' ';
    for (var j = 0; j < 30; j ++) {}
    var Word = this.getPageNthWord (i, j, false);
    PageText += Word;
    }
    var strMatches = PageText.match (reMatch);
    If (strMatches == null) continue;
    }
    Return strMatches;
    } catch (e)
    {
    App.Alert ("processing error:" + e)
    }
    }

    /**
    * tries to load given filename (excerpt number)
    *
    @param string file name of the file that should be checked
    @param n number of iterate when checking files
    * @return true if the file exists or false otherwise
    */

    function checkIfFileExists (filename, n) {}
    var existingDoc = false;
    try {}
    If (n == 0) {}
    var checkDoc = app.openDoc(filepath+filename+"-000.pdf");
    } else {}
    var checkDoc = app.openDoc(filepath+filename+"-000_"+n+".pdf");
    }
    checkDoc.closeDoc ();
    existingDoc = true;
    } catch (e) {}
    }
    If (existingDoc == true) {}
    n = n + 1;
    n = checkIfFileExists (filename, n);
    }
    return n;
    }

    var pageAmount = this.numPages;
    for (i = 0; I < pageAmount; i + pageType) {}
    var filename = ExtractFromDocument (idNumber);
    fileExistence = checkIfFileExists (filename, 0);
    If (fileExistence! = 0) {}

    this.extractPages ({nEnd:(pageType-1), cPath: filepath + filename + "-000_" + fileExistence + ".pdf"});
    } else {}
    this.extractPages ({nEnd:(pageType-1), cPath: filepath + filename + ""-000.pdf ""});
    }
    this.deletePages ({nStart:0, nEnd: pageType-1});
    }

    Hello

    I have a little problem with the generation of a PDF file. First my Workflow:

    I have an InDesign document with 6 pages. This document is merged with a databasefile containing 100 records. After it is merged, we need to generate a PDF file. This PDF file is opened in acrobat. In the document, I am looking for one ID for each record so I can split the document to 100 files (each with 6 pages) and name by the ID that I found.

    Why you are not exporting 6 pages PDF directly from InDesign?

    Robin

    www.adobescripts.co.UK

  • PDF, Application of the APEX printing

    I want to use the PDF Methoeds in my APEX application but I have questions, get the APACHE FOP installed. What I need to download the software for a standalone oc4j or can I use the one already built into Oracle?


    Install and configure Apache FOP
    On the web page at:
    http://www.Oracle.com/technology/products/database/application_express/HTML/configure_printing.html#05

    It indicates a checked version of work. What I need to download and install this version and then follow the instructions or is it possible to use the oc4j integrated in the database software?

    I believe that this is the first but would like confirmation on that.

    Follow the instructions here
    http://carlback.blogspot.com/2007/03/Apex-cocoon-PDF-and-more.html

  • Problem with report PDF - external (Apache FOP) - APEX 5.0 + ADR 3.0 + Tomcat 7

    Hello

    I have a problem with the pdf reports.

    I tried to make the steps of Apache FOP missing Oracle Apex installable for 5.0 and 5.0.1 APEX APEX

    It's something wrong with my settings 'external (Apache FOP)'.

    When I download the report I .pdf file.

    I can't open this file with the reader of pdf, but Notepad ++ open it.

    In the first line is: "ORA-20001: the print engine could not be reached because the URL is incorrect or a proxy URL must be specified."

    I have:

    • APEX 5.0 (c:\apex)
    • ADR 3.0.1 (c:\OracleREST-
      • files apex.xml, apex_al.xml, apex_pu.xml and apex_rt.xml are in C:\OracleREST\pathtoconfig\apex\conf,
      • defaults.XML, fop.xml are C:\OracleREST\pathtoconfig\apex)
    • Apache Tomcat 7.0.64 (C:\apache-tomcat-7.0.64)
    • Apache FOP 2.0 (C:\ApacheFOP\fop-2.0) - I don't now how to bind with APEX, ADR and Tomcat

    My fop2pdf.jar file is located in C:\apache-tomcat-7.0.64\webapps\apex\WEB-INF\lib

    If I use ADR as print server is OK, but I need to use non-English characters.

    Can you help me? Please

    AGM

    P.S. I'm sorry for my English, I hope you understand me

    Hi AgaSz,

    AgaSz wrote:

    I have a problem with the pdf reports.

    I tried to make the steps of Apache FOP missing Oracle Apex installable for 5.0 and 5.0.1 APEX APEX

    It's something wrong with my settings 'external (Apache FOP)'.

    When I download the report I .pdf file.

    I can't open this file with the reader of pdf, but Notepad ++ open it.

    In the first line is: "ORA-20001: the print engine could not be reached because the URL is incorrect or a proxy URL must be specified."

    You use DB Oracle 11g or later? If so, you must enable Network Services to use the configured Print Services.

    Reference: The last point mentioned here: PDF of print on demand Express 3.1 and above

    My fop2pdf.jar file is located in C:\apache-tomcat-7.0.64\webapps\apex\WEB-INF\lib

    If I use ADR as print server is OK, but I need to use non-English characters.

    You should not use "External Apache FOP", but you can "Oracle REST Data Services" as an option "print server". But, you should open the ords.war file and replace the Apache FOP associated jar files so that it supports non-English characters.

    You crossed the aforementioned following threads in the thread:

    Recently, I met the following threads:

    3. ASK : if I agree that Apache FOP comes with ADR supports the Base-14 fonts and it's more issue ADR as Oracle APEX, but it will help you qualify for Oracle APEX + ADR as users of at least the next version ADR print server comes with Apache FOP 1.1 and the xmlgraphics - commons-1.5.jar. This will help the people setting up fonts and support for complex Scripts for example, Arabic, Hebrew, hindi and Southeast Asian scripts using Apache FOP comes with ADR as "print server".

    Kind regards

    Kiran

  • Cannot print via Epson WF-6590

    One of my users can't print continuously on our printer Epson WF-6590. The device is hard plugged into our network, the firmware is up to date and everyone in the office can print, except for a single user. It allows to print one or two times before either an error of communication or message filter has failed is displayed. It's a very intermittent problem, and more often than otherwise, this occurs when a host of jobs present one after the other.

    I have tried tons of troubleshooting steps. So far, include:

    resetting the printing system

    * Add the printer via the latest Epson PS driver

    adding the device by IP and Hello

    * permissions of the drive checked and repaired

    * updated with the latest OS (10.11.6)

    Any help would be greatly appreciated.

    Rob

    Have you tried to replace the network cable from the Mac of the router or whatever it is connected.

    Try it with a cable that you know works.

  • PDF file print symbols instead of letters/numbers

    Hello

    PDF file prints (square) symbols instead of letters/numbers. I've tried different printers, assume that is not a defect in the print settings that the problem occurs with all used printers. What can I do? Would appreciate a step by step description possible solutions. Thank you.

    Open the application book fonts. Select all the fonts, and then select "Validate fonts" in the file menu.

    Additional instructions can be found here: the basics of the Mac: font - Apple Support book

  • HP Photosmart B110a: HP Photosmart B110a cannot print via wifi after upgraded to windows 10 notebook

    Before I updated to windows 10,

    I can print via wifi.

    But now I can't.

    the error says that there is some connection problems.

    But I could not understand what is wrong.

    We need to make a configuration under windows 10?

    Thank you

    Hi ma1210,

    Given that this problem occurred after the upgrade to Windows 10 I think your best option would be to uninstall the printer driver and reinstall Windows 10 drivers for the printer. You can download Windows 10 drivers for this printer by going to HP support at www.support.hp.com site - then enter your product information IE HP Photosmart B110a... change the Windows 10 operating system, download the driver and install it. According to me, which should solve the problem. All the best...

  • I get "printer does not ' when I try to print via WiFi. Everything seems to be set up properly

    I went through setting up to print via WiFi.  When I try to print I get printer not responding do not.  When I boot I have a message "the printer is online."  I get a box showing that I am low on ink.  I can use the features of scanning from my laptop.  I can't print.

    I have a printer Canon MX882

    Lloyd

    Hi Lloyd,

    Thanks for posting this question in the Microsoft Community.

    To provide a proper resolution, I would need more information on your side.

    1. what operating system is installed?

    2. what security software is installed?

    3. don't you make changes to the computer before this problem?

    Follow these methods.

    Method 1.

    This tutorial is designed to help you identify and fix common printer problems in Windows, including print errors, print spooler errors, and other issues that could prevent you from printing.

    Solve printer problems: http://windows.microsoft.com/en-us/windows/printer-problems-in-windows-help#fix-printer-problems=windows-7&v1h=win8tab1&v2h=win7tab1&v3h=winvistatab1&v4h=winxptab1

    Method 2.

    We can refer to this article and check if that helps.

    Why can I not print? : http://windows.microsoft.com/en-us/windows7/why-cant-i-print

    Feel free to post your request here on the Forums of Windows, we would be happy to help you.

  • Impossible to print via USB using my iMac running 10.6.8 Officejet 4635

    I bought this printer all in one HP Officejet 4635 yesterday and are unable to print via USB.  I have an iMac running OS 10.6.8.  Until I'veI tried all of the suggestions that I could find on these forums (ex: downloaded the latest driver, disconnect/reconnect the power to disconnect/reconnect usb, delete and 'Add PRINTER' again, etc...) The computer does not recognize the printer, but displays "Unable to send print data" after I click on print.  I know that the printer works very well because I was able to send the document directly to his personal email address.   Help, please!

    Hello! Welcome to the @DanLA forums

    I have seen your post about how you can't use your Officejet 4635 with your iMac running 10.6.8. I understand that you have already tried troubleshooting, so please ignore all the steps that you have already tried in the list of my own suggestions below. If you still can not connect then, think of give us a call. I'll leave the details below.

    1. Mac OS X: how to reset the printing system
    2. Repair disk permissions
    3. Restart your Mac
    4. Reinstall the complete driver: 4630 Officejet HP e-All-in-One Printer full feature software and drivers series
    5. Try another USB cable
    6. Look for an update of the Firmware: get the latest Firmware and updates
    7. Make sure that the printer is plugged directly into the wall, avoiding bars power and surge protectors. This ensures that the printer is full on and can help.

    Please contact our technical support at the 800-474-6836. If you do not live in the United States / Canada region, please click the link below to get help from your region number. http://WWW8.HP.com/us/en/contact-HP/WW-phone-assist.html

    Good luck!

  • Unable to connect to the printer via IP address

    I changed my ISP (internet service provider) and therefore changed routers - now unable to connect to the printer.
    I put a static IP address on my HP Photosmart B110a printer before we changed to ISP because there are connection problems. When we were setup to the ISP again, we are unable to connect to the printer, such as the printers IP 192.168.1.12
    The new network ISP IP range is 192.168.0.xx and printers address IP is out of the network.
    I can print via the USB cable but I can't return to my printers GUI by entering 192.168.1.12 return the printer back from the static IP address.
    A hard reset for this printer would be appreciated.
    Thank you very much.

    Hello
    I solved the problem. The answer was staring face heres so my solution for someone who has had similar problems.
    I didn't dig up the old router that affects the 192.168.1.xx IP network and then connected my PC, connected my printer then connected printers user interface through the static IP address, I assigned earlier. Changed to automatic IP. Connected my new router (which assigns the IP addresses of 192.168.0.xx) to my PC and printer. Everything is now OK.
    Thank you.

  • printing through RDP remotely on the local printer via \\tsclient\ &#60; printershare &#62;

    Hi all!

    We have a customer who wants to print RDP remote at a local level
    AIO printer is connected. the printer is unable to print on the TS00x
    port - driver problem.

    now, we found, is it possible to print directly on the unc path of the
    printer when it is shared on the network.

    problem now is that the customer accesses the RDP session through a
    Web site while being not connected via VPN or something like that.

    attempted to map the printer via \\tsclient\
    local drives, if I select them to be shared to the remote system. the
    printer is not visible.

    When I try to connect to the printer in a command prompt with

    NET print \\tsclient\

    I get the not found network path.

    The printer is there because

    NET print \.<>

    works.

    in general - is it possible that I am doing?
    If so, what am I doing wrong?

    Thank you people.
    Markus

    Hi cRd_X,

    Try to do the following.

    http://support.Microsoft.com/default.aspx?scid=kb;en-us;q302361

    To resolve this issue automatically, click the fix it button or link. Click run in the file download dialog box and follow the steps described in the fix it Wizard.

    Solve this problem
    Microsoft Fix it 50180

    Shawn - Support Engineer - MCP, MCDST
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • 1102w won't print via USB

    We have a 1102w currently used via USB.  It works perfectly with the macbook from my wife and my computer laptop windows 7.

    I have a macbook pro with the OSC v 10.9.5 and went through the routine to add printer, but when I print I can see that the document will print to the queue, the print queue empties but the printer does not print the document, the blue light flashes but no printing... any help in getting this problem would be greatly appreciated.

    Hi @richardskelt ,

    I see by your post that you can't print via a USB connection on the computer of 10.9, but you can print on the Macbook and the Windows 7 laptop. I will do my best to help you with this problem.

    Connect the printer directly to the Mac USB cable and run the updates Apple to install the printer.

    Verify that the correct driver for the printer name is listed.

    Click on the Apple menu, click System Preferences. Click on Printers & Scanners, highlight the name of the printer on the left side and right side of the screen it should show the name of the printer. (P1102w)

    If the full name of the printer is not correctly, delete and add the printer name back from the list. Click on the sign - to remove the driver and then click on the + sign to add the driver might have to drop-down list to select the name of the printer to add a click.

    Test the printer.

    If you're still having problems, follow these steps:

    Fix permissions of the drive on the Mac:

    Close all applications.

    In the Apple menu, click OK, click Applications, and then click utilities.

    Double-click disk utility.

    Highlight your hard drive / partition on the left.

    Click on check and then repair disk permissions.

    Restart the computer...

    Reset the printing system:

    Note: This will remove all printers in the print and Fax/Scan, any printer deleted can be re-added later by clicking the sign plus (+) symbol.

    Click the Apple icon, and then click System Preferences.

    Click on Printers & Scanners.

    Make a right click (or Ctrl + click) in the left white side panel, and then click Reset printing system.

    Click OK to confirm the reset.

    Type the name and the correct password.

    Click OK to reset the printing system.

    Then click on the + sign to add the driver, you may need to click the drop down menu to select the name of the printer, and then click the Add button.

    Test the printer again.

    If you need help, let me know.

    Good day!
    Thank you.

  • We can connect HP1000 J110 printer via bluetooth

    We can connect HP1000 J110 printer via bluetooth

    No,

    The printer is a USB printer only.

    You can find the specifications of Connevtivity below:

    http://support.HP.com/us-en/document/c02231304

    Shlomi

  • C6280, win7 cannot print via active network with VPN

    Hi, I have 2 PCs, one Vista, one on Win7. With Vista, I can print over the network.

    Also, via USB on the win7 PC I can print.

    But I can't print via active on the Win7 with VPN network. Without VPN, it works.

    I had several problems with the installation of the SW. Finally it worked (I think I had to turn my VPN connection)

    It recognizes the printer, the State says: ready, but when I print, I get an error after a while.

    When I stop the VPN, I can print.

    I tried to load the patch for Win 7 (recommended on HP circuit (printer disappears), but what it says that I don't have the SW right?)

    any idea?

    Hi ReneH,

    I am pleased to hear that the problem has been resolved. Have a wonderful day.

  • my hp lazer jet p1102w printer resume printing via airprint when not available

    Hello

    I have the hp lazer jet p1102w printer. I've upgraded to the latest firmware.

    What is not available in the printer paper and I reload, it does not resume printing via airprint in my ipad.

    especially when I want to print on both sides. I can't resume printing. What should I do?

    Hello

    Once you have loaded paper in the tray, open and close the printer cover. who will resume the print job and complete it.

    Shlomi

Maybe you are looking for