Actually PRINT (i.e. spool to a printer) a PDF stored in the DB as a BLOB

Hi Folks.
I have got APEX to generate PDF files for me based on a shared components query & report template. These are stored in the database as BLOB.
Is there a way to send these BLOB PDF files directly to a printer?
I don't want to have to export the files to the server file system and then have the user manually select them from there for printing. Ideally I want the users to select the documents for printing in the UI and these then get spooled to the printer.
If anyone has a suggestion/steer for me, I'd love to hear it.
Many thanks
Simon.
Application Express 3.1.1.00.09
Database 10.2.0.3.0
BI Publisher 10.1.3.3.2

Hi Tyler
OK, here's where I'm at...
Got SoapUI 2.0.2
Creating a new project
Setting initial WSDL to http://xx.xxx.x.xx:9704/xmlpserver/services/PublicReportService?wsdl
(Real IP substitued with 'x' for security)
'Create Requests' - Checked
'Create Project File' - Checked
When I press 'OK' I get an error message stating...
"com.eviware.soapui.support.SoapUIException: Error importing wsdl"
A bit more info.
If I enter the following into my browser address bar...
http://xx.xxx.x.xx:9704/xmlpserver/services/PublicReportService
I get...
PublicReportService
Hi there, this is an AXIS service!
Perhaps there will be a form for invoking the service here...
And If I enter...
http://xx.xxx.x.xx:9704/xmlpserver/services/PublicReportService?wsdl
I get...
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - ; nested exception is:
     oracle.xml.parser.v2.XMLDOMException: Implementation does not support the object requested.
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: oracle.xml.parser.v2.XMLDOMException: Implementation does not support the object requested.
faultActor:
faultNode:
faultDetail:
     {http://xml.apache.org/axis/}hostname:xxXXXX
Am I missing something?
Kind regards
Simon.

Similar Messages

  • Printer stuck in spooling after first print

    Hello,
    I have a new laptop in the office with an HP ColorLaserJet CM2320nf MFP printer connected to our network. 
    The drivers installed without issue. After every reboot, the first document I choose to print will print fine from any program.
    Then any subsequent print from *any* program I try to make will get stuck in 'spooling', and even crash the program I'm in. 
    I've tried a completely clean install of the drivers and the reinstall produced the exact same results. 
    Is this a known issue and what are some suggestions to fix? 
    Running Windows 7 Professional 32 Bit 
    Many thanks in advance

    When in the dock, right-click the printer icon and choose Auto Quit.
    Joe

  • PDFs won't print all pages; spool disappears in printer

    I've got the latest and greatest of acrobat pro on mac os x 10.5.7.  I'm printing a 2 MB PDF, that's 28 pages.  For the life of me... I can't get it (or any document) to print more than 4 pages.  I've tried printing from multiple computers, rebooting machines, the job will disappear out of the print monitor spool.  The Printer I have is Konica Minolta 5550 connected via ethernet... I wasn't sure if this was related to Acrobat or the Printer, so I decided to print a 10 page indesign document... printed flawlessly...

    Met with IT. tried to install a native driver (as opposed to a generic postscript).  Same problem.  There's a solution that sits outside of Acrobat... Mac OS X "Prevew", prints the doc flawlessly.  I'm not sure what else to do. I've even tried some advanced settings to print as image, where it takes a long time to flatten each page, then print.. no pages will print. I'm inclined to say it's a memory issue between the Mac and this printer, but perplexed because there is no issue with "Preview"...

  • GLM - Spool management - Slow printing standard  - High Volume Printing??

    I've seen a couple OSS notes referencing performance on Spool management for GLM, but I need to ask about HVP.. I was told this was the only way to allow the printing of sequence or serial number processing to print quicker..
    Here is my issue.  We have used serial numbers symbols on our labels with the following configuration to allow the label to print in sequential order based on the number of labels needed.
    Meaning if we have 10 labels to print, we use this serial number symbol to print 1 of 10, 2 of 10, 3 of 10, etc...
    Here is the symbol code we have on our template.
    @TD_LBLSRN(ID=02EHS_SERNO1)  of @TD_SRNEND(ID=02EHS_SERNO1)
    Now by doing this, it slows the printing of the label considerably. Without this, labels print 1 every 2 seconds or so, but with the serial number sequence, it prints 1 label every 20-30 second and we print thousand of labels at a time.  So it takes a really long time.. The issue is the labels and the serial number sequence is being spooled up and basically printing a label after WWI process the 1 of 10, then processes 2 of 10, then etc...
    How can we speed this up?  I heard HVP, but this solution is extremely expensive.. Is there any other solution?

    Hello Keith,
    GLM replicates the static part of the label and adds after wards the sequence number to each generated page. This is needed; because GLM uses the MS Windows standard print technology which does not foresee optimized sequence numbering. The advantage is that it will work for all printer types with a MS Windows printer driver but the disadvantage is the increasing data volume and the longer processing times.
    The HVP functionality is available for thermo transfer printers of Zebra, Pago, Tec or printers which can understand the ZPL printer language. The HVP is part of the GLM pre-defined service from SAP since January.
    The HVP functionality will pass the sequence number parameters to a special printer driver which uses special functionality of the printer hardware to do the sequence numbering. The printer driver load the static part of the label to the printer first and send then only the sequence number as a dynamic part for each copy. So finally this will reduce the data volume nearly to one copy of your label.
    I donu2019t think that there is really a good technical alternative to HVP at the moment but some MS Windows printer drivers have the possibility to send hardware commands in advance of a print job. This might be an option to initiate a sequence number counter on the printer hardware an doing the numbering in that way. I never tried it in this way but this is the only option without HVP I see at the moment.
    Best regards
    Michael Veit

  • Print Excel to Spool

    Hi Everybody,
    I am printing Excel Sheet using the code below.
    CREATE OBJECT H_EXCEL 'EXCEL.APPLICATION'.
    SET PROPERTY OF H_EXCEL  'Visible' = 0.
    CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
      EXPORTING
        TEXT   = TEXT-008
      EXCEPTIONS
        OTHERS = 1.
    CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
    CALL METHOD OF H_MAPL 'OPEN' EXPORTING #1 = PATH.
    CALL METHOD OF H_EXCEL 'ActiveSheet' = H_MAP.
    CALL METHOD OF H_MAP 'PrintOut' .
    FREE OBJECT H_EXCEL.
    FREE : H_EXCEL,H_MAPL,H_MAP,H_ACT.
    This directly print the excel on the printer.
    But my requirement is to send it to the spool and print it form there.
    Can someone tell me how to do that?Please help.
    Thanks,
    Sneha Singh

    HI Sneha,
    Why not create a smartform or simply use WRITE statement.
    1. Smartform should be created & pass PRINT IMMEDIATELY = 'X'
    2. Create WRITE Statements inside NEW-PAGE PRINT ON.. & NEW-PAGE PRINT OFF.
    Best regards,
    Prashant

  • Spool  List not printing in Background

    Hi,
       When i try to execute the report in background in development system i can able to see the spool list, whereas when i try to execute the same report in testimg server(may be with more data) i can not see the spool list but the job is in finish status.
    Please can i know the reason for the same.
    Thanks & Regards,
    Sudheer.

    Hi!
    This may be because you started the program with the option, not to create new spool request, or to delete the spool request immediately.
    When you run your program in background, check the printer options also.
    Regards
    Tamá

  • How to Print List to spool but skip the print parameter window?

    Dear all,
      I am coding a program for print list into  spool.
    But every times I run the program there must pop up a print parameter window, after I click the 'Continue' button,then the list print to spool.
      Is there some way that I can just run the program and print to spool directly?
                               Thank you for your kindness help~~~
    Message was edited by: jin yan

    Hi,
    If it is a report program then, use this code.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING DESTINATION           = 'LP01'
                COPIES                = COUNT
                LIST_NAME             = 'TEST'
                LIST_TEXT             = 'SUBMIT rep... TO SAP-SPOOL'
                IMMEDIATELY           = 'X'
                RELEASE               = 'X'
                NEW_LIST_ID           = 'X'
                EXPIRATION            = DAYS
                LINE_SIZE             = 79
                LINE_COUNT            = 23
                LAYOUT                = 'X_PAPER'
                SAP_COVER_PAGE        = 'X'
                COVER_PAGE            = 'X'
                RECEIVER              = 'SAP*'
                DEPARTMENT            = 'System'
                NO_DIALOG             = 'X'
      IMPORTING OUT_PARAMETERS        = PARAMS
                VALID                 = VALID.
    IF VALID <> SPACE.
      SUBMIT RSTEST00 TO SAP-SPOOL
        SPOOL PARAMETERS PARAMS
        WITHOUT SPOOL DYNPRO.
    ENDIF.
    Hope This Info Helps YOU.
    <i>Reward Points If It Helps YOU.</i>
    Regards,
    Raghav

  • Smartform Printing : Error in spool C call: Error from TemSe

    Hi! everybody,
    I am stating my problem as follows : I have to print a bar-code sticker of size 10 X 7 cms. I have worked on bar-codes before this also. This time the output from a smartform is to be given to a ZEBRA TLP 2844 printer. I initially encountered problems in printing. The data does not fit on to the page.
    After a lot of searching I found that ZEBRA was a partner of SAP and that a special device type needs to be created for output from a ZEBRA printer. I did this two times. Each time my steps were as described under.
    To create the device type I did the following :
    1. I finally found the driver from the ZEBRA website from http://www.zebra.com/id/products/global/en/utilities/sap_device_types.UtilityFile.File.tmp/Zebra_SAP_Device_Types.zip From this I uploaded the driver for 203 DPI zebra printer with IBM code 850 font file name "YZB200.PRI" into the transaction SA38.
    2. Then I created a new device ZEB10 in SPAD after assigning my format to the device.
    Thereafter, I tried to print my sticker. During this procedure, on selection of the new device type, the fonts automatically changed to ARIAL in the print preview. When I give the print command (Spool request : Print immed = X, Delete after output = X & New spool request = X) it gives an error message Error in spool C call: Error from TemSe.
    Since the output had not been issued, I opened the spool request to view its TemSe characteristics. Here I found
    Spool Attributes
    Output Device    ZEB10
    Format           ZTT               Format
    Doc. Category    SMART
    Recipient
    Department
    Deleted On       19.01.2011
    Authorization
    Output Attributes
    No. of Copies   1
    Priority              5
    SAP Cover Page Do not print SAP cover page
    OS Cover Sheet  Print as set at printer
    Requested           0
    Processed           0   With Problem                             0
                            With Error (Not Printed)                 0
    Storage Mode Print
    TemSe Attributes
    Object name           SPOOL0000013836
    Data type             ????????????
    Character set         0 -
    > Character set of dev type = 1162
    Number of parts       0
    Record format
    Size in bytes         0
    Storage location
    On seeing SP01
          Spool no.              Type                 Date        Time   Status   Pages               Title
           13836      Smartforms(OTF) 11.01.2011  07:32       +          0      SMART LP01 USERID
    I hope this data helps you help me. Please ask for more data if you wish. Also, I have searched vastly for this error on the net  have already come across the link http://help.sap.com/saphelp_45b/helpdata/en/d9/4a8f9c51ea11d189570000e829fbbd/frameset.htm but to no use. On the SDN, I have not found a similar thread and that is why I decided to post this problem here, hoping to find a solution. Kindly help.
    Regards,
    Manas

    Hi Manas,
    I am facing the same issue for one of my clients.
    Can you please share the solution with me if you have come out with it.
    Regards,
    Nirmal.K

  • Print smartforms for service order with printer, not a spool in CRM WebUI

    Dear Experts!
    We have a long list of different print forms for a service order. We would love to have a list of these forms appearing when clicking on "Print" button to choose from.
    We have made appropriate settings in SPRO (CRM -> Basic Functions -> Actions -> Actions in Transaction -> Change Actions and Conditions -> Define Action Profiles and Actions & Define Conditions). Option "Print Immediately" is set, and the Output Device is set to local printer. So now we have the following results:
    - When clicking "Print Preview", a window appears where one of the possible forms may be selected to be shown as PDF.
    - When clicking "Print", one of the forms is being moved to spool. So, you may only enter the spool in GUI and send the document to printer.
    There is only one help topic about printing, that says:
    Prerequisites
    Actions are displayed on the Print pushbutton if the following criteria are met:
    -The print action is set as relevant for the toolbar
    - A print smart form is defined as the processing type
    - The action is set to Execute immediately
    - The action is inactive, that is, it is set to be executed manually
    Please, give us a hint on how to make customizing to send document right to the printer.

    Hi Alex,
    This Business Add-In (PRINTER_DETERM_PPF) is used in the Actions (CRM-BF-ACI) component. It enables you to determine a printer more flexibly than the standard Customizing activity allows you to. For example, if you want to print an e-mail confirmation from a local printer in your office, and not from the usual printer for your entire department, you can use this add-in to do so.
    Get back to me for a more info.
    Hope this helps.
    Cheers, Satish

  • Purchase order print priview and spool print output are different.

    Hi Friends,
    there is problem with purchase order print priview and spool print output are different.
    mean : in me23n .. for a perticular po .. in po priview the TAX VALUES value is 120 coming..
    when i am giving print with spool.. the amount value is showing  TAX VALUE
    is 443..why it is showing wrong..
    this is for perticular output type.
    why TAX VALUES are showing different in print view and
    spool print.
    help me.
    regards,

    Hi Neil,
    thanks for your reply.
    but the valiadtions are happening in standard functional module PRICING.
    it is realted script(medruck)...but there is no code point for spool or printer side..
    and the issue is realted one PO OUTPUT TYPE..
    it is sap standard debugging... when i am debugging the functional module PRICING.
    the values are coming dynammically.
    help me.
    regards,

  • Program to Print Preview from Spool

    Hello gurus,
    I hope you guys could help me out...my requirement is to write an ABAP program that receives a spool number and displays its print preview to the user from there user can choose to print or delete the spool number
    Any advices ?:)

    Hi ..
    Call this FM to generate the Print preview from SPOOL
        CALL FUNCTION 'RSPO_OUTPUT_SPOOL_REQUEST'
          EXPORTING
            spool_request_id = hrqident
          EXCEPTIONS
            OTHERS           = 0.
    <b>REWARD IF HELPFUL</b>

  • Print an existing spool in ABAP program.

    Hi Experts, 
    I have a problem to print an existing spool. 
    I need print many an existing spools in ABAP program 
    - I used the SHDB and call transaction with BDC data but work only for 1st. 
    - I tried use the RSPO_RPRINT_SPOOLREQ function but don't work.

    I resolved my own problem.
    I use the function RSPO_OUTPUT_SPOOL_REQUEST...
    The only parameters to this functions was spool_request_id  - ID spool.
    Thanks for  help!

  • All Labels in the Smartform  should be printed under one spool request ?

    Hi All,
    I need to print the labels with some data .At a time I have to print 10 labels with the same Spool request. I have required data in one internal table .I am looping the internal table and printing the label.In this case every time control leading to Print prview, and when i click on PRINT button then only It is leading to the Spool.For each print it is creating a new spool .
      But My requirement is , I need all the labels should be printed under only one spool .And I can see the print preview only once , and  if I click on print  button 10 labels(depending on the records in internal table) should be printed .Cotrol should not come again to the Print popup .
    Thanks,
    Suresh Kumar D.

    Hi,
    As per your requirement, if you want to print 10 labels, in same spool request, design your smart form like that,
    I mean design 10 labels in your smart forms.
    I hope this is easy solution.
    Regards,
    Sreenu.

  • I want read PDF file from SAP directory and create a spool request or print

    Hi all,
    I want read PDF file from SAP directory and create a spool request or print the pdf through SAP. Can any body  help me in this.
    Also please write to me if its possible to open PDF from SAP directory to adobe pdf reader.
    Thanks in advance,
    Sunny

    Hi Sunny,
    Check these links.
    http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
    http://www.erpgenie.com/sap/abap/pdf_creation.htm
    http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
    http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
    http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • How to get SapScript and Smartform printed in one spool request?

    Hello experts,
    I want to print the production order package in one spool request.
    Print program consists of Smartform and SapScript.
    First page is in landscape format with barcode(Smartform) and the rest is in portrait format(Sapscript).
    In SAP documentation is written that it is possible for several Smartforms to be printed in one spool request.
    Is it possible for 1 Smartform and 1 SapScript called from a single program to be printed in one spool request?
    I have tested it with calling first the Smartform control-no_close= 'X' without success.
    Can anyone tell me if this is possible and how?
    Thank you.
    Kind regards,
    Danijela

    Hi
    In the driver program .
    *"Selection screen elements............................................
    SELECTION-SCREEN BEGIN OF BLOCK block  WITH FRAME.
    PARAMETERS:
    p_script   RADIOBUTTON GROUP rad1,
    p_smartform RADIOBUTTON GROUP rad1,
    SELECTION-SCREEN END OF BLOCK block.
    *"Selection screen elements............................................
    SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME.
    PARAMETERS:
    p_single RADIOBUTTON GROUP rad2,      " All the spool request
    p_ind    RADIOBUTTON GROUP rad2.
    SELECTION-SCREEN END OF BLOCK block1. " Single spool request
    If p_script EQ 'x'.
    w_form = 'Y_SCRIPT'.
      Elseif p_smartfom EQ 'X'.
       w_form = 'Y_SMARTFORM'.
    ENDIF.
    call function 'SSF_FUNCTION_MODULE_NAME'.
    Call function 'SSFCOMP_OPEN'.
    w_control-no_open   = ' '.
        w_control-no_close  = ' '.
    *"Single spool request..................................................
        IF p_single EQ 'X'.
          w_control-no_open   = 'X'.
          w_control-no_close  = 'X'.
        ELSE.
    *"Individual spool request.............................................
          IF w_flag NE '1'.
            w_control-no_open  = 'X'.
            w_control-no_close = ' '.
            w_flag = 1.
    CALL FUNCTION '    '-----> smartform function module.
    CALL FUNCTION 'SSFCOMP_CLOSE'.
    Regards,
    Sravanthi

Maybe you are looking for