Print pdf/wdf files from DMS background

Hi,
need some guidelines for this topic. i have a requirement to print the pdf or dwf files from DMS server.
i have write a program to download the files from DMS to local PC, and call method to print the files. However, this is only applicable to foreground.
is there any way i can do for background?
please advise.
thanks in advance.

Thanks for your reply.
The file menu doesn't show the print option either. We used to work this way, after installing the 9.0 and Reader X version, this option has disappeared from both the File menu and the right mouse button. For other filetypes, for example Excel the Print option is still available and works properly. Logged in as administrator on the serverconsole, there is no problem. So it seams to be something specific to pdf-formats in a server 2003 environment. The userrights are all set on full control (same as administrator).
Thanks again

Similar Messages

  • Problem printing PDF picture files imported from JPG using HP Colour InkJet cp1700 printer

    When I print PDF picture files imported from JPG using an HP Colour InkJet cp1700 printer, the picture spills over.  A wide range of other PDF files print OK.  Have tried things such as configuring the printer to scale to letter size, etc,, but without success.  Have a Windows 7 64 bit computer and Adobe Acrobat Pro Extended 9.5.5.  Any ideas?

    Hello there! Welcome to the forums @rt70 
    I understand you're having some issues with printing PDF files from a website on Windows 7.
    I would personally suggest trying to print from that website using a different web browser. If you're using Internet Explorer, try FireFox or Chrome, for example.
    You can also try running the Print and Scan Doctor tool, that will search and try and fix printing issues.
    If you have any issues that continue, please let me know what they are and which programs, websites, and web browsers you have tried, along with the results from running the diagnostic tool above.
    Good luck and have a great day
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Can one stop Firefox from printing PDF Protected files

    Locking as a duplicate. Please continue with [/questions/992183]
    Fire Fox prints PDF Protected files. How do I stop this from happening and letting users steal my work?

    Basically if an image is published it is likely to be copied one way or another. Maybe consider watermarking and or only providing low resolution copies of images in such pdf s.
    I will close this question. Anyone wishing to give detailed advice may do so in your original thread
    * ''Firefox allows the printing of PROTECTED files on my server. WHY?'' [/questions/992183]
    I could certainly copy an image from a pdf displayed or downloaded by browsers other than Firefox.

  • Get file from dms

    hi,
    can anyone help me to get the data for a file in dms with a specific doknr? i need to get the binary data to send them per mail.
    I searched in function group cv120 (i tried cv120_read_file2table but it doesn't work for me) but wasn't able find a solution!
    can anyone help me?
    regards,
    jacko

    thanks for your example but i have to work with FUBA SO_NEW_DOCUMENT_ATT_SEND_API1 and therefore i need a solution to attach my file from dms.
    i used your solution:
    SELECT lo_objid INTO TABLE it_lo_objid
          FROM dms_doc2loio
          WHERE dokar EQ 'Z01'
          AND dokvr EQ '00'
          AND doknr LIKE srch_str.
        LOOP AT it_lo_objid INTO wa_lo_objid.
          SELECT SINGLE phio_id ph_class INTO (wa_object_id-objid ,wa_object_id-class)
            FROM dms_ph_cd1
            WHERE loio_id = wa_lo_objid.
          CALL FUNCTION 'SDOK_PHIO_LOAD_CONTENT'
          EXPORTING
          object_id = wa_object_id
          client = sy-mandt
    AS_IS_MODE =
    RAW_MODE =
    TEXT_AS_STREAM =
          TABLES
    FILE_ACCESS_INFO =
    FILE_CONTENT_ASCII =
          file_content_binary = it_file_content_binary
          EXCEPTIONS
          not_existing = 1
          not_authorized = 2
          no_content = 3
          bad_storage_type = 4
          OTHERS = 5.
          DATA: act_length TYPE i.
          DATA: act_diff TYPE i.
          DATA: act_rest_length TYPE i.
          DATA: act_line TYPE string.
          DATA: act_rest TYPE string.
          IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          DATA: count TYPE i,
                data_string TYPE xstring.
          DATA: "it_CONTENT_BINARY TYPE solix_tab,
                 it_content_binary TYPE solix_tab,
                 it_line TYPE LINE OF solix_tab,
                it_content_binary_solix TYPE solix,
                wa_content_binary TYPE solix.
    TEMP START
          DESCRIBE TABLE it_file_content_binary LINES count.
          count = count * 1022.
          CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
            EXPORTING
              input_length       = count
      FIRST_LINE         = 0
      LAST_LINE          = 0
           IMPORTING
             buffer             = data_string
            TABLES
              binary_tab         = it_file_content_binary[]
           EXCEPTIONS
             failed             = 1
             OTHERS             = 2
          IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
            EXPORTING
              buffer                = data_string
      APPEND_TO_TABLE       = ' '
    IMPORTING
      OUTPUT_LENGTH         =
            TABLES
              binary_tab            = it_content_binary[].
    but I can't use it_content_binary[] in SO_NEW_DOCUMENT_ATT_SEND_API1 without getting an CX_SY_DYN_CALL_ILLEGAL_TYP
    it says the actual given field has the right type but not the right length! (CONTENTS_BIN)
    what's my foult!
    big thanks to you!
    greets, jacko
    Edited by: Jacko1986 on Jul 20, 2009 3:30 PM

  • Want to open specific file from DMS Doc. thorugh Function

    HI,
    is there any function module to open specific file from DMS Document. ?
    There is already one function module DOCUMENT_SHOW_DIRECT to open File from document. But
    in case of there are more than one file in DMS Document is it giving me Popup menu to open file from List.
    I just want to open any single file without any popup from DMS Document.

    Hi,
    from standard point of view this kind of pop-up is always raised by the function module in case there are multiple originals assigned to the document info record.
    Best regards,
    Christoph

  • Printing File from DMS in smartform from IW33

    Hi SAP Gurus,
    My requirement is as follows,
    In order(IW33)>Operations>Production Resources/ Tools, A document is maintianed. I need to print file from there in a smartform regardless of the file format.
    For this I have searched and found the following logic.
    from Tables dms_doc2loio, dms_ph_cd1 I am getting Doc details, these details are passed to the below FM,
    *This function module will give the content of the file in binary format
    CALL FUNCTION 'SDOK_PHIO_LOAD_CONTENT'
    EXPORTING
    object_id = wa_object_id
    client = sy-mandt
    AS_IS_MODE =
    RAW_MODE =
    TEXT_AS_STREAM =
    TABLES
    FILE_ACCESS_INFO =
    FILE_CONTENT_ASCII =
    file_content_binary = it_file_content_binary
    EXCEPTIONS
    not_existing = 1
    not_authorized = 2
    no_content = 3
    bad_storage_type = 4
    OTHERS = 5.
    After getting the data in binary format, how to print in smartforms, Please help..
    Regards,
    Pavan.

    I am Sorry I dont understand why you are moving the data into a binary format conversion.
    Is there any particular thing which makes you to do so? If so, Please explain.
    Instead have you try to convert them into Xstring and then into String. By doing so. If any special characters or any special symbols or anything. the system wont give any error. instead it is a easy method also.
    check out these function Modules: NLS_STRING_CONVERT_FROM_SYS
                                                           NLS_STRING_CONVERT_TO_SYS

  • Can't print a PS file from FM8 in Windows 7 (64-bit)---Help!

    Hi, can someone help with this? I recently got a new laptop with Windows 7 (64-bit) & I use FrameMaker 8. I cannot install my previous PS driver as it says it's not compatible with this version, so I downloaded both the Xerox Global & HP Universal PS drivers (at different times of course to test)---both completely freeze my FM8 book and don't print. I have to completely close FM8 down.
    I saw some posts here about changing the PS Language Level from 3 to 2,but that  didn't work. The only Adobe PS print driver I could find on the site wasn't comatible with Win 7...
    What do I do, what print driver will work for both FM8 and Windows 7 (64-bit)? Would really appreciate the help. Thx!

    Hi! Thx for your quick reply! I am still unsure what to do tho---see my questions below in bold:
    Windows 7 comes with its own version of the standard PostScript driver. = Where is this driver? I have no idea how to find it, it doesn't show up in my Printer menu in FM?
    Given that PostScript generated by a driver can be highly device-specific, you need to install the driver as modified by the PPD file for the device in question. Most printer manufacturers in fact provide a PostScript driver installer that associates their printer's PPD file with the standard Windows Printer driver and subsequently creates what is called a PostScript printer driver instance for the particular device on the I/O port you designate. = ??? I've only updated a PPD file for watermarks and have no idea what this means...is there a step-by-step instruction for this? I just need to download a PS driver to select that works & doesn't freeze up my FM when creating a .ps file.
    The real question thus is exactly what are you trying to generate PostScript for? = I create a PS, & then use Distiller to create a PDF. This enables me to have a PDF that automatically has Bookmarks, the TOC/LOF/LOT & all corss-refs are hyperlinked, etc.
    If you are trying to create PostScript for distillation into PDF, Acrobat installs a PostScript driver instance of its own, labelled Adobe PDF, that is associated with the Acrobat Distiller PPD. = I have tried the Adobe PDF selection from my Printer menu in FM, but it freezes up FM and I have to close the whole program & no PDF generates.
    BTW, although you may be successful in installing and running FrameMaker 8 on Windows 7, in fact Adobe officially does not support FrameMaker 8 on Windows 7. = I don't know what to say---the upgrade is too expensive for some of us folks out here right now, so we all need to work with what we have for now!
    I appreciate your help, thank you.

  • How to print a local file from jsp

    Hi,
    I want to print a local file(eg. .doc,.pdf) from a jsp.
    Please help me with any answer or any example code
    Thanks in advance
    Regards,
    Sanjeev

    Try this:
    index1.jsp:
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <Link rel='alternate' media='print' href=null>
    <script Language=JavaScript>
    function setPrintPage(prnThis){
    prnDoc = document.getElementsByTagName('Link');
    prnDoc[0].setAttribute('href', prnThis);
    window.print();
    </script>
    </head>
    <body >
    <a href="#" onclick="setPrintPage('index.jsp');"> Click to Print </a>
    </html>This will print index.jsp without opening it in browser. Hope this helps!

  • How to restrict the Copying/printing of the file from document

    Hi..
    Case:
    1. I have a document number it has three files in it.I want to locked the files from priniting and copying but not from opening/displaying.
    2. I am using content server for storing the DMS documents.How to restrict the number of attachments that can be uploaed in one document number?
    3.How to restrict the maximum size that can be uploaded against one document number?
    Sandip

    Hi Sandip,
    1. I have a document number it has three files in it.I want to locked the files from priniting and copying but not from opening/displaying.
    In DC30 transaction,in Workstation application for network,disable the print option.Will ensure users will not be able to print the originals.
    2. I am using content server for storing the DMS documents.How to restrict the number of attachments that can be uploaed in one document number?
    See if your ABAPer can use the BADI  'DOCUMENT_MAIN01' with method 'BEFORE_SAVE' to handle this check.
    3.How to restrict the maximum size that can be uploaded against one document number?
    Believe you are using kPro as a storage option.If this is the case,then there is no setting available to limit the file size for upload.See if your Basis guy can set an upper limit for file size in IIS setting for your content server.
    If you are using SAP DB as a storage option(not recommended though),then use the field File Size in DC10 transaction,Define Document Types to effect a file size limit.
    P.S. Would appreciate incase you could close the threads which have been answered satisfactorily.
    Regards,
    Pradeepkumar Haragoldavar

  • PDF output file from Image Capture corrupted

    This problem occurs only when scanning multiple page documents into image capture, the lower 1/4 of the first 2 pages are unreadable blurs. The page shows up ok in the Image capture preview window, but the PDF output is corrupted. The printer is a Brother MFC-7820N, I am scanning 150 dpi grayscale, US letter, no image correction, to PDF. The problem occurs with both of my computers, Quad G5 10.5.8, and a MacBook 10.5.8, this has happened since I purchased the printer, I was running 10.4 at the time. I have just scanned 1 page at a time with no problem, but now I have a large amount of documents to scan and I get the corrupt files. If anyone has seen this and found a solution, I would appreciate any suggestions.

    Ah perfect, you made me aware of a feature kink I didn’t know about! When you import stuff using Image Capture, it goes into /private/tmp/Image Capture_Import.(string of numbers and letters).
    You can navigate there by going to the Finder, hitting Command-Shift-G, and typing in /private/tmp—if the folder still exists, as it usually does for some time, sometimes even until the next restart or so—you can see the folders which should include one or more of thoe Image Capture_Import.something folders and find your files.
    Incidentally, if you want to find a “system” file, i.e., one that’s in a location normally hidden by the Finder, you can:
    1. Open up a new Spotlight/Find window in the Finder, and start searching by name.
    2. Next to where it says Search: This Mac… etc. there’s a + button. Click that, then
    3. From the dropdown menu choose Other… and look in the list for “System files” and check the “In Menu” checkbox for it.
    4. Hit OK.
    5. Choose “System Files” which is now in the dropdown, choose “are included” from the next dropdown.
    Be careful what you do with files you find using this method. It will show everything, including files essential to running your Mac properly, so unless you know exactly what you’re doing, don’t just start dragging files off this window onto your Desktop or anything, try to copy them instead by option-dragging (holding down the option key while dragging)—that way, you’re only making copies, not moving a file from where it’s supposed to be, and your Mac can find it.
    Hope this helps! If you can’t find your files this way, there are other programs which can undelete and perform other operations to recover data… this happens to everyone, no matter how long you’ve been a user.

  • Printing pdf or pcl from abap

    Hi experts,
    may be my problem is to simple, but I can't find an answer in the forum.
    I want to print a pdf or pcl (either format will work) on a printer. This printing should happen in an ABAP
    program. In this program I get the file via a web service as XSTRING. I also have the destination from the printer in a table from type NAST.
    So the question is, what command, program, BAPI, class or whatever can I use to print this file on the
    designated printer?
    Regards
    Torsten

    hi
    check this
    http://help.sap.com/saphelp_nw04/helpdata/en/90/78f081030211d399b90000e83dd9fc/frameset.htm
    hope this helps
    regards
    Aakash Banga

  • Print PDF to File -- OutOfMemory-Exception

    Hi all,
    versuch gerade mit Acrobat 7/8 Prof. Pdf-Dateien über die SDK in Datei zu drucken, um ein Spoolfile im Format PCL, PS, XPS usw. zu erhalten, je nachdem über welchen Drucker gedruckt wird...
    Bei Acrobat 7 Prof. erhalte ich, sobald der Outputfilename gesetzt ist, eine OutOfMemory-Exception.
    Das gleiche Sample liefert bei Acrobat 8 Prof. allerdings eine InvalidArguments-Exception...
    Lasse ich den Outputfilename-Parameter weg, dann funktioniert der Druck prinzipiell...
    Was muss im PrintParams-Objekt alles gesetzt sein um ein PDF auf einem beliebigen Drucker in Datei auszugeben??
    Für jede Hilfe bin ich dankbar,
    Jo
    Hier nochmals mein Post vom Planet-PDF-Forum, aber da tut sich leider auch nichts... :(
    not sure if this is the right place, but I'll just give it a try...
    currently I'm trying to get this sample to run. It should print a pdf to file without user-interaction. I'm using Adobe Acrobat 7.0 Professional and C#/.NET
    This is the VB-Sample I have found:
    Module Module1
    Sub Main(ByVal CmdArgs() As String)
    Dim oApp As Acrobat.CAcroApp
    Dim oAvDoc As Acrobat.AcroAVDoc
    Dim oDoc As Acrobat.CAcroPDDoc
    Dim oJS As Object
    Dim oPrinterParams As Object
    Dim PRINTER As String
    Dim INPUT As String
    Dim OUTPUT As String
    PRINTER = CmdArgs(0)
    INPUT = CmdArgs(1)
    OUTPUT = "\" + CmdArgs(2).ToString.Trim
    oApp = CreateObject("AcroExch.App")
    oAvDoc = CreateObject("AcroExch.AVDoc")
    oDoc = CreateObject("AcroExch.PDDoc")
    If oAvDoc.Open(INPUT, "") Then
    oDoc = oAvDoc.GetPDDoc()
    oJS = oDoc.GetJSObject()
    oPrinterParams = oJS.getPrintParams()
    oPrinterParams.printerName = PRINTER
    oPrinterParams.interactive = oPrinterParams.constants.interactionLevel.silent
    oPrinterParams.fileName = OUTPUT
    oJS.print(oPrinterParams)
    End If
    oDoc.Close()
    oApp.Exit()
    End Sub
    End Module
    However I always get the error #1001: "OutOfMemoryError: Nicht genug Speicher."
    System.Runtime.InteropServices.COMException wurde nicht behandelt.
    ErrorCode=1001
    Message="OutOfMemoryError: Nicht genug Speicher."
    Source="Acrobat JavaScript"
    StackTrace:
    bei Microsoft.VisualBasic.CompilerServices.LateBinding.InternalLateCall(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack, Boolean IgnoreReturn)
    bei Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
    bei PDFPrintToFile.Module1.Main(String[] CmdArgs) in C:\Projekte_XPS\PDFPrintToFile\Module1.vb:Zeile 28.
    bei System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
    bei System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
    bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
    bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    bei System.Threading.ThreadHelper.ThreadStart()
    When I use the same example without printing to file it works fine, but not when printing to file... why??? anyone got an idea??
    thanx for any help...
    I have tried it right now with Acrobat 8 Prof. and I even can't get it to run with that version!??
    I'll get either "invalid arguments"-Exception (Must be the 'fileName' parameter - when I comment that one out, at least it shows a SaveAs-Dialog)
    or a RPC_E_SERVERFAULT error...

    or a RPC_E_SERVERFAULT error...
    System.Runtime.InteropServices.COMException was unhandled
    ErrorCode=-2147417851
    Message="Ausnahmefehler des Servers. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))"
    Source="Microsoft.VisualBasic"
    StackTrace:
    at Microsoft.VisualBasic.CompilerServices.LateBinding.InternalLateCall(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack, Boolean IgnoreReturn)
    at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
    at PDFPrintToFile.Module1.Main(String[] CmdArgs) in C:\Dokumente und Einstellungen\Administrator\Desktop\PDFPrintToFile\Module1.vb:line 28
    at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
    at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
    at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    System.Reflection.TargetInvocationException was caught
    Message="Exception has been thrown by the target of an invocation."
    Source="mscorlib"
    StackTrace:
    at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
    at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
    at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)
    at PdfPrintTestApp.Form1.PrintWithAcrobatSDK(String pdfFile) in C:\Dokumente und Einstellungen\Administrator\Desktop\PdfPrintTestApp\Form1.cs:line 99
    InnerException -> {"InvalidArgsError: Ungültige Argumente."}
    what am I doing wrong here!? anyone got an idea what's going wrong here!?

  • No response from printer when printing a specific file from Photoshop CS6

    I am printing from Photoshop to an Epson 3880 printer. I have a specific batch of files from a client that cause the print dialogue to immediately quit when requesting a print job, therefore never sending the information to the printer. With other files, I am able to print normally from Photoshop. After spending the morning on the phone with Epson, I isolated the problem to being with the file in Photoshop. These files were sent to me as PDFs and I converted them to PSDs. Having a hard time understanding this issue.
    Does anyone know what kind of file would cause communication between photoshop and the printer to cease?

    Photoshop does not communicate directly with the printer.
    Photoshop communicates with the OS, which communicates with the driver, and the driver communicates with the printer.
    But there may be something in the previously used print settings in the file that the driver does not like and causes it to misbehave.
    (note: Epson has had a LOT of problems with their drivers on MacOS 10.9)

  • Is there a way to transfer word/pdf/exe files from my pc to iphone?

    I've got a couple of books in my pc and are in word and exe format, is there anyway that I could transfer them to my iphone?
    Thanks in advance ^^*

    I use an app called Folders. It allows you to create folders and sub folders and works pretty much like a "my documents" folder. You can transfer and view word. excel, powerpoint, pdf, video and photo files from your pc via wifi. You can also create and manage the folders on your pc while connected.
    One conneted it just sees your iphone folders in a window and you can drag and drop.
    There's a free version and a paid version, the paid version lets you email files from your phone.
    You can also lock and hide folders, such as sensitive documents pictures and videos.
    All in all it's one of the most useful apps I've got as I've tried a few others and this seems to be far the easiest to use.

  • Printing or exporting  files from remote system running SAP

    Hi to everyone,
    I am trying to print or save exported data from SAP (in Excel)to a remote system where I am working. SAP is running in a remote server to which I am connected. So far I have only been able to print and save in the remote system (where SAP is running ), but can't do it to my printer/PC. It is probably a simple problem but I can't see an answer.
    Thank very much to anyone who can give me a clue.
    Antonio

    check if printer LP02 or similar is defined on your SAP system. It prints via SAPLPD to your local printer.
    To save anything to your local PC - you can use "save to local file" from the report, or WS_DOWNLOAD FM from ABAP.

Maybe you are looking for