PDF Printing Issue (Converting to Spool and back to PDF)

Hi,
I have a document which has minimum of 25 pages. This document is designed using BSP. When i print this document in DEV this is printed without any issue, but when we print in QA this doesn't print and keeps going on and on and finally we get session time out.
And now we got some information that this issue occurs because of Memory Management. So now we have to convert the data first to spool and from the spool we have to convert the same to PDF and then try to print.
I have no idea about the spool. So could someone help me regarding this.
Thanks in advance.

Try building your code with FM " CALL FUNCTION 'GET_PRINT_PARAMETERS'
you will have to submit your program and then
Read spool from table tsp01.
refer to the SAP help demo code below.
DATA: number           TYPE tbtcjob-jobcount,
      name             TYPE tbtcjob-jobname VALUE 'JOB_TEST',
      print_parameters TYPE pri_params.
CALL FUNCTION 'JOB_OPEN'
  EXPORTING
    jobname          = name
  IMPORTING
    jobcount         = number
  EXCEPTIONS
    cant_create_job  = 1
    invalid_job_data = 2
    jobname_missing  = 3
    OTHERS           = 4.
IF sy-subrc = 0.
  SUBMIT submitable TO SAP-SPOOL
                    SPOOL PARAMETERS print_parameters
                    WITHOUT SPOOL DYNPRO
                    VIA JOB name NUMBER number
                    AND RETURN.
  IF sy-subrc = 0.
    CALL FUNCTION 'JOB_CLOSE'
      EXPORTING
        jobcount             = number
        jobname              = name
        strtimmed            = 'X'
      EXCEPTIONS
        cant_start_immediate = 1
        invalid_startdate    = 2
        jobname_missing      = 3
        job_close_failed     = 4
        job_nosteps          = 5
        job_notex            = 6
        lock_failed          = 7
        OTHERS               = 8.
    IF sy-subrc <> 0.
    ENDIF.
  ENDIF.
ENDIF.
Regards,
Nikhil

Similar Messages

  • I had paid for service to sign pdf, write text on pdfs and convert to word and back etc. Its now asking me to pay for a new service to be able to convert pdf to word, what is going on here?

    I had paid for service to sign pdf, write text on pdfs and convert to word and back etc. Its now asking me to pay for a new service to be able to convert pdf to word, what is going on here?

    Hi,
    I checked your account, your Export PDF service has been expired on Sep 24, 2014.
    Kindly contact our chat support: http://helpx.adobe.com/x-productkb/global/service-b.html
    Regards,
    Florence

  • Printing Issues with HP D145 and multiple users from G5

    Hi - I've a HP D145 All-In-One connected via USB to a G5 (as described below). The machine has multiple accounts on for different members of my family. The printer is directly connected to the G5 via USB connection but is shared with other Macs. Printing has become increasingly difficult, and we now have the following problems:
    1. Printing will only work from the administrators account.
    2. Printing periodically (daily, generally after a few hours of use) stops from the administrators account
    Solutions tried:
    a. Check set up for the non-administrators accounts....Looks OK for printing
    b. When printing stops - I've tried repairing the permissions with the Disk Utility. This no longer works.
    c. Run Printer Setup Repair (with option to repair all user accounts) - Works for the administrators account providing the computer and printer are restarted, otherwise no effect.
    d. Reinstalling the software - No effect
    It’s beginning to look like I need to replace this printer with one that works.
    You can help me in two ways - how to solve the printer problems, or alternatively suggest a colour All-in-One printer that can work with multiple accounts and does not have the problems mentioned above.
    Many thanks in advance,
    Regards,
    Melvyn

    Below I've copied the fix HP proposed and some additional information that they have sent me.
    1. The proposed fix that we could not make work:
    Hello Melvyn,
    Thank you for contacting HP Total Care.
    Simply reinstalling the software will not be enough to solve the
    problem. Try these steps to resolve the issue at hand:
    From the Administrator account:
    Double-click on the Macintosh Hard Disk.
    Open Applications.
    Click and drag Hewlett Packard Folder to the trash.
    Close all windows.
    Double-click on the Macintosh Hard Disk.
    Open the Applications folder.
    Open the Utilities folder.
    Double-click on Process Viewer/Activity Monitor
    If Activity Monitor does not appear:
    Choose Monitor in the toolbar across the top.
    Check Show Activity Monitor.
    Ensure the Activity Monitor shows "All Processes", instead of "My
    Processes".
    Single-click and quit each of the applications starting with HP, using
    the Stop Sign that says "Quit Process" beneath it.
    Close Activity Monitor.
    Double-click Macintosh Hard Disk.
    Open the Library folder.
    Open the Preferences folder.
    Click and drag either HP AIO Preferences or Hewlett Packard Preferences
    to the trash.
    Remove the HP Registry file.
    Go back to the Library folder.
    Open the Printers folder.
    Remove the HP folder
    Double click Macintosh Hard Disk.
    Open the Users folder.
    Choose the User logged into.
    Open the Library folder.
    Open the Preferences folder.
    Click and drag either HP AIO Preferences or Hewlett Packard Preferences
    to the trash.
    Click and drag files beginning with com.hp to the trash.
    Click and drag files beginning with HP to the trash.
    Double-click the Macintosh Hard Disk.
    Open the Applications folder.
    Open the Utilities folder.
    Double-click Printer Setup Utility.
    Delete any HP All-In-One printers listed (click the printer name to
    highlight it, then click the Delete button on the printer list)
    Repeat process for all HP All-In-One Printers.
    Remove HP Director/Image Zone from dock by dragging to the trash.
    Restart the Macintosh.
    Empty the Trash.
    From each user account:
    Double click Macintosh Hard Disk.
    Open the Users folder.
    Choose the User logged into.
    Open the Library folder.
    Open the Preferences folder.
    Click and drag either HP AIO Preferences or Hewlett Packard Preferences
    to the trash.
    Click and drag files beginning with com.hp to the trash.
    Click and drag files beginning with HP to the trash.
    Double-click the Macintosh Hard Disk.
    Open the Applications folder.
    Open the Utilities folder.
    Double-click Printer Setup Utility.
    Delete any HP All-In-One printers listed (click the printer name to
    highlight it, then click the Delete button on the printer list)
    Repeat process for all HP All-In-One Printers.
    Remove HP Director/Image Zone from dock by dragging to the trash.
    Restart the Macintosh.
    Empty the Trash.
    From the Administrator account:
    Download and install the latest software for this product. You can
    obtain this software from the following link:
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?lc=en&cc=us⟨=en&os=219& product=64992&dlc=en&softwareitem=oj-35225-1
    From each user account:
    Double-click the Macintosh Hard Disk.
    Open the Applications folder.
    Open the Utilities folder.
    Double-click Printer Setup Utility.
    Click Add, ensure you are in the Default Browser.
    Select the HP All-In-One Printer.
    Click Add at the bottom-right corner of the screen.
    Set this printer as the default.
    You should now be able to print from all accounts.
    Sincerely,
    2. The reasons why it may not have worked:
    We need to be sure that you are fully logging out of one account and
    then back into the next. The fast user switching feature of the Mac OS
    can create problems with our printer drivers. For this reason, fast user
    switching is not supported by HP.
    The other issue we may be running into would be the Mac OS itself. Over
    the past few months the Mac OS has gone through several updates. When
    the 10.4.4 version was released it created some issues with our existing
    software. An updated version of our software has been developed which
    works well with 10.4.4 and higher, but it is not available for this
    printer.
    It may be that as each new OS update is installed on your computers that
    the issue becomes worse. If you are running the Mac OS 10.4.3 or lower
    then the version 7.3.1 of our software should work fine. If it is 10.4.4
    or higher there will be some issues as the new OS versions do not seem
    to like the older drivers.
    I would have to recommend retrying the full uninstall the Derek had
    outlined. This time however, just install the downloaded 7.3.1 software
    from our web site for the D145. Once it has been installed we need to
    test it fully without adding the scanjet software. I am hoping that
    without both version of our software installed it may work better.
    This should resolve the issue. If you need further assistance, please
    reply to this message and we will be happy to assist you further.
    3. The repsonse to questions on switching and OS X 10.4.4
    You are correct, since you are running the 10.4.4 I cannot guarantee
    that the older software version will allow full functionality. It should
    allow for printing and as long as you avoid the fast user switching,
    when trying to print, it should keep working well.
    I understand the convenience of fast user switching but you will have to
    log completely out of one user, and then log properly into the next
    before you can expect the printer to function.
    I would still recommend trying the steps I had outlined as it really is
    the only thing you can do that may work.
    G5, 2 GHz dual processor, 2Gb RAM, 500GB Hard disk   Mac OS X (10.4.3)   Clarification of the issues from HP

  • Print issue with Photoshop CS4 and Officejet 6500

    I have a Windows 7 Business 64 bits desktop computer. After  installing the Officejet Pro 6500 multifunctional drivers all was  working OK. Images were being printed nice and with the correct size  using Windows print option. After installing Adobe CS4 suite, all images  printed from windows or Photoshop have incorrect size (photoshop prints  it smaller, about 33%, and on upper left corner of the sheet).
    Photoshop sucks but Illustrator print fine. The only way I can print  at the good size in Photoshop, it's when I select Microsoft XPS  document writer as printer and print from there... Not very user friendly !!!
    And  yes, it was always the HP Officejet 6500 E709n fax selected by default  by Photoshop instead of  HP Officejet 6500 E709n !
    Is anybody can say if it's an HP issue or an Adobe issue ??? Why Illustrator print fine and Photoshop don't ???
    Thank's  in advance.

    Deleting the fax printer  associated with this device to allows correct printing is not an  acceptable alternative for me.
    If it is a printer issue, why I can print correctly from Illustrator ???
    dec9 wrote:
     Or: you can go into windows and select a default printer or then the one you use to print with in PS. Then when you are ready to print in PS select the printer. See if that works.
    That's my normal configuration then I can't change nothing when all is ok.
    Thank you very much for your answer ! Maybe anybody have an other solution or explanation.
    Thank's for your patience.

  • Converting to word and back to pdf?

    Search for: Search Adobe ExportPDF 
    If I purchase this application to convert PDF to Word, will it then allow me to convert the (edited) Word document BACK TO PDF format?  Thanks.

    Good day,
    No, ExportPDF only has the ability to convert documents from PDF to Word.  To convert from PDF -> Word, then from Word -> PDF, you'll want to consider our CreatePDF service.  Alternatively, you may want to look at Adobe Acrobat, which has this capability too.
    Kind regards,
    David

  • Printing Issue on a MacPro and Lion

    When using any Apple prgram, such as Pages, Numbers, Text, etc. and I try to print to my laser printer from my MacPro I get an error and the following message:
    You don’t have permission to write to the folder that the file “Untitled” is in. You can duplicate this document and edit the duplicate. Only the duplicate will include your changes.
    Even duplicatiing doesn't seem to solve the issue plus I don't always get the dialog. The insteresting thing is I don't have this issue; however, when I print to my ink jet printers. I also don't have an issue printing to the laser printer when using my new iMac or my MacBook Pro - only seems to happen with my MacPro. I have hunted around but can't seem to find the problem.
    All three Mac's are running Lion and the same software.
    Any ideas??
    Thanks
    Sky.

    +1. Can I ingest AVCHD into an Intel mac, convert it to Pro Res or AIC and then transfer it on an external drive to a G5 for editing?+
    Use FCP6 (Easy set up>choose DVCPROHD and use the specific settings of your source material i.e 720p24 etc. ) , Create a new bin and set it as the new logging bin open Log&Transfer after you connect your camera through FW and FCP will ingest your media as ProRess (in Log & Transfer window you can chek this in preferences>click thr gear button on left of the viewer), just make sure that your external drive is connected and that you choosed it as your scratch disk (Final Cut Pro> system settings).
    +2. Is there any format or way that the ingested AVCHD can later be transferred and edited on a G5?+
    DVCPRO HD is what I use.
    gig

  • Weird printing issue between reader 7 and 9

    Hi, I just was made aware of an issue by one of my users, regarding printing a PDF file.  I recently replaced his computer, both the old one and the new one are XP Pro SP3, the old one has reader 7, the new one has 9.  The file in question is laid out legal (8.5x14) landscape and I believe it was created in Acrobat 4.x.  It's a production schedule, roughly 10 pages.  The left half side of each page has a list of items, and the right half has checkboxes for our manufacturing process.  The guy printing the file is in shipping, and he just needs the left half of the page and is trying to print it as letter portrait.  Under reader 7, we are clicking File, Print, set it to No scaling, uncheck Auto-Rotate and Center.  If you look in the preview window, you see the legal/landscape page, but there is a white letter/portrait box over the left side of the page, and the right side is grayed out.  Click OK, and that's what it prints.  This is good.
    Now, in reader 9, if we do all the same things and print the file, what prints is the right half of the page, which is grayed out in the preview.  This is happening on his new computer (xp pro sp3, reader 9) as well as on my box (win7 ult, reader 9) and happens on multiple printers.  Only thing I see different is the reader version.  Has anyone else ran into this?
    Thanks in advance,
    Duane Pittman

    Hi,
    Could you please send the test document to shilpi at adobe dot com for us to investigate the issue at our end?
    Thanks,
    -Shilpi

  • Printing issue between macbook pro and windows 7 pc

    I am trying to print from my macbook pro to an HP printer, scanner and copier all in one unit. It worked perfect with my old xp pc but with the windows 7 I can't get them to communicate with each other. I was told by geek squad at best buy that I probably need to get a different router. they suggesed airport. My would like to know which one I need. I want to print to the printer that is attached to my windows 7 machine from my macbook pro. I also have couple other xp machines that are used from time to time and I need to be able to print from them as well. any suggestions??? frustrated in Birmingham

    One more comment. Wired connection seem to be stable neither. I have ping running to the Windows computer and after a couple of minutes, it gets broken.
    However if I have both WiFi and cable connection to the home router and disconnect from cable (after ping is broken), I get the network to the Windows comptuer back. Nothing serious on the network change, I just get 192.168.1.x instead of 192.168.1.y as IP).
    During this network switch I do nothing with the Windows computer.
    This is not valid if I want to connect to the Windows computer via Microsoft sharing (smb://192.168.1.x), then it immediately breaks the connection. Can't get it back until Windows is restarted.
    Getting lost...

  • Printing issue with microsoft word and excel

    I open Microsoft 2004 Word and Excel separately and clicked on File / Open....not responding and so force quite. I went to Finder and opened the file directly and It did. But when I clicked Print, the print page doesn't show up. I closed the file. I opened other softwares and tried the Print and Save as PDF and it worked. I booted several times and reinstaled the Microsoft 2004 from original disk and did updates up to 11.6.3 versions. I rebooted again and still the same problem. Please help !

    If you applied the Security Update from a few days ago it sounds like you are affected with this problem:
    http://9to5mac.com/2012/02/03/latest-apple-updates-also-messing-with-rosetta-pow erpc-apps-like-quicken/

  • Printer issue with 10.6 and Dell All in One 968W

    The Dell All in One 968W is basically a Lexmark 9500 series with a Dell badge. Dell do not support OSX but Lexmark have previously supplied a driver that works and allows me to print on the Dell printer.
    However with 10.6 OSX will no longer support the Dell printer. I have tried using the supplied Lexamrk 9500 series dirvers with no luck, and I have tried going to back to the older Lexamrk dirver. The error message suggests that I need to get an updated driver from Lexmark. Lexamark do no yet provide this.
    Has anyone found a solution to this problem?

    Hi
    Have you find any solution????
    Lexmark has a lastest driver the 9500SeriesWebInstaller1.0.1.dmg released the 09/15/09 but it doesn't detects the printer
    if we delete the default snow leopard driver for lexmark and install this new????

  • IP Printing Issue -- Unable to connect and print

    I'm trying to print to a network printer that's connected by cable to my wireless router using IPP. The error message reads "Unable to connect to IPP host." The IP address I used for the printer was obtained from the printer test page. I also specified "generic postscipt printer" in the printer setup utility window. My printer and network info as follows:
    Printer -- HP LaserJet 4MV
    Router -- Linksys Wireless G
    Computer -- Powerbook G4, OSX.4
    I've reset the printers in the Printer Utility to use the latest version driver for the HP. I can browse using my PBk so my wireless connection is working (in fact the PBk is in the same room as the router). Any suggestions would be very much appreciated.

    I don't have a manual for the printer and I'm not aware of a print server being included in the hardware. The printer is simply a HP LaserJet 4MV which has a I/O card installed with local talk, 10Base-T, parellel, and BNC connections. I'm using the 10Base-T connection to my router.
    On the test page printout, it lists several things one of which is "Server Name" but it's blank with no entry. Under the heading "Mode" the entry reads "Queue Server." Don't know if any of this is relevant.

  • How to print page in front and back in scripts

    hi,
    I want to know to know the how to print a page in front and back.

    HI Ragavendra
    set this
    <b>Print mode is D</b>
    With Print mode, you can specify single- or double-sided printing for a page. You can choose from the following values:
    <b>D </b>The page is printed on the first side of a sheet in duplex mode. If another mode was previously active, then the printer is switched to duplex mode with the start of the pageand continues in this mode.
    and other Print mode options are
    <b>Print mode</b>
    With Print mode, you can specify single- or double-sided printing for a page. You can choose from the following values:
    <b>' '</b> Currently active printing mode continues unchanged.
    <b>S </b>The page is printed in simplex mode. That is, the printer should print on only one side of the paper. If another mode was previously active, then the printer is switched to simplex mode with the start of the page.
    <b>D</b> The page is printed on the first side of a sheet in duplex mode. If another mode was previously active, then the printer is switched to duplex mode with the start of the pageand continues in this mode.
    <b>T </b>The page is printed on the first side of a sheet in tumble duplex mode. That is, the printer prints on both sides. The page on the second side is always inverted, so that the footer of the second page is printed opposite the header of the first page.
    If another mode was previously active, then the printer is switched to tumble duplex mode with the start of the page and continues printing in this mode.
    Print modes are currently supported for printers that use the PCL-5 language. These are printers that are defined with the following SAP device types: HPLJ_II, HPLJIIID, HPLJ4, LX4039, SNI20XX8.
    See the spool system (transaction SPAD) to check on how your printers are defined.
    The print controls for these functions are SPMSI (begin simplex printing); SPMDU (begin duplex printing); SPMTU (begin tumble duplex printing); SPMFS (print on first side of sheet in duplex or tumble duplex mode); and SPMBS (print on second side of sheet in duplex or tumble duplex mode).
    Regards Rk

  • Convert ABAP Spool to PDF and display in BSP

    Hello SDNers,
    I have a requirement to display an R/3 report in Portal as PDF. I have chosen the route of creating a BSP which will show the report as PDF.
    I will then create a BSP iView in Portal pointing to this application.
    I am following the weblog /people/sap.user72/blog/2004/11/10/bsphowto-generate-pdf-output-from-a-bsp
    and few SDN forums:
    Display result of standard report RPTEDT00 within BSP
    Re: PDF Output
    I am new to BSP development and I am not able to put all the pieces of code together.
    I would really appreciate if you can help me put the pieces together and help me out with this.
    More details:
    This custom report displays the summary of Benefits Cost Accounting (by PERNR and current year).
    Once the report is run, I would like to get hold of the spool and convert the spool to PDF.
    In my BSP I would like to get the spool (or the binary of the PDF) and display the report as PDF in the BSP application.
    I have created the BSP application using the code given in the above weblog.
    I am not sure how to proceed further with the requirement.
    Looking forward for your suggestions and help.
    Thanks,
    Kalyan

    Hi kalyan,
    go thru this wiki and you will have what you need all at one place. the piece you might want to look at is ABAP spool to PDF. It even contains complete code.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bsp/pdf
    hope this helps.

  • I need help in converting PDF to PS and back to PDF

    I am using the ghostScript distiller for PS to PDF file conversions. I need to know if I can make it convert from PDF to PS and back to PDF while optimizing the PDF in the process using the pdfopt.bat. I believe that changes need to be made to idcrefinery.cfg to allow for this conversion (Using an inbound refinery "IBR" to convert certain file types to PDF when checked in through a content server). My need is to be able to optimize PDF files upon checkin to the content server. Any tips, guidance, or ANY help would be greatly appriciated.
    Thank you,
    Roger

    Sounds like a question for GhostScript users, not Acrobat users.

  • Printing or Converting to PDF and outputting in current folder?

    Hi all,
    I've got a bunch of Word docs in a bunch of different folders and I'm looking for an easy way to convert them to PDF without much intervention.  I can go into my Adobe PDF printing preferences and specify each folder before I select all the Word docs and print them, but then I have to change the output folder each time.  I'm looking for a way to specify it to just output the PDF to the current folder by default and not bring up a dialog box to rename the file.
    Is there an easy way to do this?  I have docs separated into about 50-100 different folders.  I'd like to just point it to the root folder and click print or convert, but if I have to go into each folder individually, select all and print/convert then that would be more acceptable than the way we have to do it currently.
    Thanks for your time!

    BobLevine wrote:
    Won't do much good if it's a just an image saved as EPS. Of course if it's an Illy EPS that would be the best route.
    Bob
    Quite so, but transparency implied vector to me.

Maybe you are looking for

  • ME57 - Assign and Process PR

    Hi Guys, I need to setup below two fileds active, when go in to TCode ME57 1. Assigned Purchase Requiesitions 2. Released Requisitions only How to setup / config settings ? Thanks, Sankaran

  • Null Pointer Exception in "Documents" page after creating a Coll. room

    Hi,   I am new to KMC. we are on EP7 SP5.   I have created a collaboration room template.. and created a ROOM (say CommunityRoom) via this Room template...   I have referred the following document: <a href="http://sdn.sap.com/irj/servlet/prt/portal/p

  • What should be done to recover the database?

    Hi all, While backing up the database, the computer running Oracle loses power. After restarting the computer what should be done to recover the database? Please help me.. Thank you all for your cooperate.

  • Two dimensional field

    hi to all of U.i`m trying to make a two dimensional field size of 4x4 that would write all numbers,who are in this fields,on screen.any hint would be helpful.

  • Any free way to encode 5.1 audio track for DVD?

    Besides the limited 3-use SurCode for Dolby Digital that comes with Premiere, is there any free way to encode or convert a 5.1 PCM WAV file to a surround format for DVD? Thanks!