Barcode and PDF document printing in SAP MII

Hi All,
I am using SAP MII 15.0, one of my requirement is to print the Barcode and PDF file automatically.
I have came across the link below which tells to print the label
http://scn.sap.com/community/manufacturing/mii/blog/2014/08/17/industrial-label-printing-with-mii
In the above document, I can send only the string as a message in the PCo query CALL SEND(address=’127.0.0.1’, port=’20000’, message=’Hello World’);
Is that possible to send the document to the printer?
I am using the PDF action block.Can any one tell me how to print the document automatically?
Also, if my printer is connected to client, how it can be printed from client PC?
Regards
G.P

Hi chris,
I have to do via SAP MII and their is no other option.
In the above document, I can send only the string as a message in the PCo query
CALL SEND(address=’127.0.0.1’, port=’20000’, message=’Hello World’);
Is that possible to send the document from MII?
Is there any command like below for pushing the document to the printer so that it will be useful?
CALL SEND(address=’127.0.0.1’, port=’20000’, message=’Hello World’);
Also please let me know any idea of printer used, which will help ?
Regards
G.P

Similar Messages

  • PDF Documents Print in SAP

    Hello Everybody,
    I have PDF documents maintained in DMS and assigned to a material.
    When a production order is created I have to print the PDF from DMS automatically.
    Can someone tell me how to do that? What ABAP code is to be written to do that. Please help.
    Thanks,
    Sneha Singh.

    Hi,
    Refer to the following links.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6e455275-0e01-0010-2596-9c55c7ad897b
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do
    hope it helps.
    Regards
    Rajesh Kumar

  • When I try to click on print in Mapquest and PDF documents I cannot get the popup to print the page

    When I try to click on print in Mapquest and PDF documents I cannot get the popup to print the page when I click on "print."
    I have to type the URL in Google Chrome browser and the print button works fine.
    How can I get the print popup to work in Firefox 6.0?

    My sister's 5s is having the same issue since yesterday.
    Neither resetting via holding home+power buttons helped, nor the "reset all settings" in the settings. The only option left is erasing the iPhone and setting it up as a new phone ( or restoring from a backup?)

  • Sharing and displaying Excel and pdf documents in SAP BO Mobile

    Hello all,
    I have one quick question. Is it possible to share excel and pdf documents through SAP BO Mobile?
    I tried it uploading documents to BO Launch pad and assigning them to Mobile category. I can't see them in my ipad. Is there another way to share these kind of files through SAP Mobile in mobile devices? and how?
    Thanks.

    No that won't do it. Because my users have their own excels which are not related to BO or BW platforms. They are entering data manually to excel spreadsheets and reporting. We just want to upload them to BO platform and let them share those files with other users.
    I know I could create a webi report on top of excel, but we don't want to spend redoing the reports in excel.
    Thanks though.

  • PO print OUT And material Document Print Out is coming In English

    HI all.
    I have Created Vendor In ZH(chinese Language,)and in material master I have maintained description in Chinese language.
    I'M taking PO and material Documents print outs  in Chinese Server log-in.
    even Though Im taking Print outs in Chinese Log-In server, IM getting Print outs in English Language only not In chines language..
    At the Time Of PO creation the Communication Language is ZH(Chines)..
    I have read some related post even 89899..
    But I have not find solution
    plz help me.
    thanks and regards
    ramesh reddy.'

    Check SAP Note 894444 - Tool for server-based printing on Windows (SAPSprint) for your requirement,
      Installation
    Before you install SAPSprint, delete SAPLPD manually. To do this, you normally need to completely delete the installation directory only. If you installed SAPLPD as a service using the srvany tool, you can remove the service by calling 'Instsrv SAPLPD remove'.
    You can download SAPSprint as a self-extracting executable file from SAP Service Marketplace:
    1. Entry by Application Group (on the left)
    2. SAP Frontend Components (on the right)
    3. SAPSPRINT (on the right)
    4. SAPSPRINT <Release> (on the right)
    5. SAPSPRINT <Release> (on the right)
    6. Win32 (on the right)
    Start the program. After you enter the installation path, the system prompts you to enter the TCP/IP port.
    Normally, the default setting of 515 is suitable for the port. You should only change this setting if the Windows TCP/IP print service is also running on the computer. The SAPSprint Windows service starts as soon as the installation is over.
    We recommend that you set up the following options for the service in the Windows Service Control Manager:
    The service should run under a domain user that has the relevant authorizations for the required printers. After the installation, the service runs under "Local system account". This can access locally-defined printers only. You can set the user in the Windows Service Control Manager, in the options of the SAPSprint service.
    If you want to delete SAPSprint, you can do so using the normal Windows uninstall tool.
    We recommend that you install the SAPSprint service on a separate computer and not together with a SAP system, especially if you use a large number of printers. All printers that SAPSprint uses must be installed on the SAPSprint computer. This applies particularly to released printers from other computers. These should be installed as a queue on the SAPSprint server.
    Also note further settings in accordance with Note 1069483.
    Settings
    You can display the call parameters available for SAPSprint by calling 'sapsprint -?' on the command line. The most important parameters are those that set options, especially log options for troubleshooting.
    You can set the log level to 5 by specifying 'sapsprint -oi LogLevel 5'. Immediately after installation, no log level is set up, which means that no log file is created. By setting the log level to 1, 5, or 9, you can ensure that more information is available in the directory that you specified during the installation. A file called sapsprint.dbg and a print job specific file with a variable name are generated. The second file is deleted after successful printing. It is only retained if the printout is recognized as incorrect. If you set the option 'sapsprint -oi KeepFile 1', then both this file and the print file are retained. This is primarily intended for troubleshooting by SAP Support.
    All options are case-sensitive. You can display the most important SAPSprint options by calling 'sapsprint -?'. All possible options are described in Note 85469. Normally, the options described there are not necessary - you should use them only in exceptional circumstances.

  • Relative hyperlinks in pdf documents printed from visio 2007

    Hello to all. The problem we are trying to solve is to maintain relative hyperlinks that were created in visio 2007 when we publish or print a pdf document. The pdf document that we printed is written in adobe reader 9, and it maintains the hyperlinks but as absolute ones and we required the hyperlinks to maintain as relatives. The idea is to distribute the pdf document with its hyperlinks and the documents that are linked to it in different computers that are not in the same network. The documents that we are trying to link are pdf, word and excel 2007 documents. The operating system we use is Microsoft vista home premium. Does anyone know how to maintain relative hyperlinks in a pdf document printed from visio 2007? Thanks in advance!

    Bernd Alheit, thanks for your answer. We print the pdf document from visio 2007 and then we read it in adobe reader 9. The relative hyperlinks work fine in visio 2007, but they change to absolute ones in the pdf document.

  • Inserting/Embedding PDF documents to an SAP Adobe Form

    Hi all,
    We have a requirement to insert/embed an external PDF documents to an SAP Adobe Form.
    Please provide pointers in this regard.
    Thanks,
    Sandhya

    Tim, a change like this is really simple.
    Formcalc and javascript are pretty similar - when I started developing AIF a year ago, I knew nothing about either of them... not that I know a whole lot now...
    The Help in Livecycle designer is actually quite helpful when it comes to scripting. Also, there's a google group you can join where you can email questions for help.
    You would just call the form like you normall do. The code is placed INSIDE your form "under" your field. There is a script editor built in to Adobe - Click Pallettes -> Script Editor to see it.
    there are many events on which to place code - you will need to find an event that triggers early - such as Form:Ready etc...
    Here's an example I have with 2 radiobuttons and a text box. If my 'yes' radiobutton is chosen, I make my input box visible
    if ( yes.rawValue eq "1" ) then
    data.Page2.grp2.func.rb.ifyes.presence  = "visible"
    endif
    Same concept if my 'No' button is chosen
    if ( no.rawValue eq "2" ) then
    data.Page2.grp2.func.rb.ifyes.presence  = "hidden"
    endif
    Both of these scripts are in the "click" event of the radiobutton.
    Lastly, here's a link to a great resource on Scripting
    http://www.adobe.com/devnet/livecycle/articles/lc_designer_scripting_basics/lc_designer_scripting_basics.pdf
    Scripting, on a moderate to small scale, will make your life a bit easier. Don't try to do too much, otherwise you'll find AIF may be the wrong tool for what you're trying to do.

  • Storing MS-Word and PDF documents in database uploaded through APEX

    I want to allow users to upload MS-Word and PDF documents they have created / edited outside of the APEX app for storage in the database along with the other app data.
    I know that I should use a file browse item in a region for this purpose.
    I have a some questions:
    1. What database datatype is best for storing MS-Word and PDF docs? CLOB?
    2. How can the user see that the file has been uploaded? In other words, how can they see that the filename has been uploaded? I want to show this on the page for later viewing. I have uploaded a document, but later, I have no way to see that the document has in fact been uploaded. From the APEX page, the file browse item does not indicate whether or not a file has previously been uploaded.
    3. How can the user download the previously uploaded document?
    4. Is there a way to give users the capability to edit a document in an APEX app where they can do MS-Word-like editing (font size, font type, bold, italics, etc.)?
    I know I've asked a lot here and I appreciate your input.
    -Reid

    In my case, I am uploading screenshots of my application and then displaying them. You can feel free to use it if you want, the code was mostly taken from examples of file uploads posted by others. Here is some code to get you started:
    File Table description
    CREATE TABLE FILE_UPLOAD
       (name           VARCHAR2(4000) PRIMARY KEY,
        subject        VARCHAR2(4000),
        id             NUMBER,
        blob_content   BLOB,
        mime_type      VARCHAR2(4000),
        PAGE_ID        NUMBER);File Upload Procedure
    IF ( :P20_FILE_NAME is not null ) THEN
         INSERT INTO FILE_UPLOAD (id, NAME, SUBJECT, BLOB_CONTENT, MIME_TYPE, PAGE_ID)
          SELECT ID,:P20_FILE_NAME,:P20_SUBJECT, blob_content, mime_type, :P20_PAGE_ID
                FROM APEX_APPLICATION_FILES
                WHERE name = :P20_FILE_NAME;
       DELETE from APEX_APPLICATION_FILES WHERE name = :P20_FILE_NAME;
      END IF;Download Image Procedure Definition
    CREATE OR REPLACE PROCEDURE download_my_file(p_file in number) AS
            v_mime  VARCHAR2(48);
            v_length  NUMBER;
            v_file_name VARCHAR2(2000);
            Lob_loc  BLOB;
    BEGIN
      SELECT MIME_TYPE, BLOB_CONTENT, name,DBMS_LOB.GETLENGTH(blob_content)
             INTO v_mime,lob_loc,v_file_name,v_length
        FROM FILE_UPLOAD
       WHERE id = p_file;
        -- set up HTTP header
        -- use an NVL around the mime type and
        -- if it is a null set it to application/octect
        -- application/octect may launch a download window from windows
      owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
        -- set the size so the browser knows how much to download
      htp.p('Content-length: ' || v_length);
        -- the filename will be used by the browser if the users does a save as
      htp.p('Content-Disposition:  attachment; filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
        -- close the headers           
      owa_util.http_header_close;
        -- download the BLOB
      wpg_docload.download_file( Lob_loc );
    end download_my_file;
    /make sure to grant the procedure rights for use by anyone
    GRANT EXECUTE ON download_my_file TO PUBLICDisplay Image Procedure Definition
    create or replace PROCEDURE "DISPLAY_IMAGE"
      inID NUMBER
    AS
      vMIME VARCHAR2(48);
      vLENGTH NUMBER;
      vFILENAME VARCHAR2(2000);
      vBLOB BLOB;
    BEGIN
      SELECT MIME_TYPE, BLOB_CONTENT, NAME, DBMS_LOB.GETLENGTH(BLOB_CONTENT)
        INTO vMIME, vBLOB, vFILENAME, vLENGTH
      FROM FILE_UPLOAD
      WHERE ID = inID;
      owa_util.mime_header(nvl(vMIME, 'application/octet'), FALSE);
      htp.p('Content-length: ' || vLENGTH);
      owa_util.http_header_close;
      wpg_docload.download_file(vBLOB);
    END;
    /Again, make sure everyone has rights to execute the procedure.
    GRANT EXECUTE ON DISPLAY_IMAGE TO PUBLICThis doesn't create an editor inside the browser, it just creates a simple upload/display process. For a WYSIWYG editor that handles PDF or Docs, you'll need something far more sophisticated, and I can't suggest anything there.

  • How can my laptop access the downloaded files like mp3 and pdf documents which are in my iphone 4G?

    how can my laptop access the downloaded files like mp3 and pdf documents which are in my iphone?

    Yes you will need to NAT at some point to go from private to public address space. Here is a basic configuration if you are interested:
    interface F8
    ip nat inside
    interface G0
    ip nat outside
    ip access-list standard NAT
     permit 192.168.11.0 0.0.0.255
    ip nat inside source list NAT interface G0 overload

  • I have a serious malfunction of Acrobat Pro and PDF document viewer.

    I have a serious malfunction of Acrobat Pro and PDF document viewer. with monthly subscription. Side scroll bar to review the document works desperately slow, and it is very annoying to work under these conditions. Please no solution?It yosemite my OSX system and retina macbook pro in January 2015 16GB RAM. Someone can help me please?
    thanks
    Bruno

    Dear Sukritd,
    The versión is Acrobat Pro Document Cloud subscription (anual)
    The version is updated.
    Noting to repair, the system is 100% running.
    The problem in the scroll page  in all kind of pdf files.
    Thanks.
    Bruno
    El 2/5/2015, a las 13:45, sukritd15 <[email protected]> escribió:
    I have a serious malfunction of Acrobat Pro and PDF document viewer.
    created by sukritd15 <https://forums.adobe.com/people/sukritd15> in Acrobat Installation & Update Issues - View the full discussion <https://forums.adobe.com/message/7504989#7504989>
    Hi Bruno ,
    Could you please verify the Acrobat version you are using is the latest Acrobat DC or some older version ?
    Does this happen with any particular PDF file or all the documents ?
    If you haven' tried repairing your Acrobat ,please try the same and see if that helps .
    For repairing Acrobat Launch Acrobat>Navigate to Help> Repair Acrobat Installation .
    If that does not work you could probably uninstall the software and try downloading it again and see if that fixes the issue .
    Let us know how it goes .
    Regards
    Sukrit Dhingra
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7504989#7504989 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7504989#7504989
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Acrobat Installation & Update Issues by email <mailto:discussions-community-acrobat-installation_and_update_installation@adobe-v7.hosted.jivesoft ware.com> or at Adobe Community <https://forums.adobe.com/choose-container.jspa?contentType=1&containerType=14&container=47 14>
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624 <https://forums.adobe.com/thread/1516624>.

  • Generating word and PDF documents

    How can I generate Word and pdf documents with JDeveloper ?
    Iwan

    You already got answers on your previous thread:
    Create *.doc and *.pdf files with jDeveloper

  • Setting passwords for pdf document generated by SAP system

    We are generating PDF documents from SAP system and distributing them as email attachment. just want to know if anyhow we can enforce the password protection while generating these documents or may be setting the password protection before distribution. If yes, then what are the requirements/essentials for the same?

    1. Is there any OSS Note on the same issue where it has been published by SAP that it can only be ensured using third party solutions? If yes, may I have the link?
    I have no clue on this i.e. whether we can integrate Adobe Policy Server. My understanding was in it's current state it is NOT possible to have secured PDF Forms.
    2. May I have the more elaboration on the way you mentioned in your reply?
    Well what you can do is hide all the elements in the form and keep only a TextField visible. Now write a script and check the value entered in the TextField. If it matches with the default password you want to set then make the form visible else display error prompt back to user.

  • "AcroRd32.exe  /t" print a PDF document ( print only, no need to open )

    I'm using the following command to print a PDF document:
    "D:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe" /t "D:\R104-20071025165656.pdf" "\\192.168.0.4\hp" "hp LaserJet 1000" "\\192.168.0.4\hp"
    Now it works fine! But I have more request:
    I want a command that only send the file to printer and no need to open the PDF file on local system.
    So anybody can help me?
    Thanks in advance!

    Dear Pedja,
    My program is a desktop application, no a web application. It's not the same as you. And hope the following codes can help you :)
    private void exportReportToPrinter(JasperPrint jasperPrint,int copyNum, String printerName, MediaSizeName mediaSizeName) throws Exception
    // create the print service exporter so that we can print to a named
    // printer
    JRPrintServiceExporter exporter = new JRPrintServiceExporter();
    // set the report to print
    exporter.setParameter(JRPrintServiceExporterParameter.JASPER_PRINT, jasperPrint);
    // tell the exporter to print 1 copy on A4 paper
    PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
    aset.add(new Copies(copyNum));
    aset.add(mediaSizeName);
    exporter.setParameter(JRPrintServiceExporterParameter.PRINT_REQUEST_ATTRIBUTE_SET, aset);
    // let the exporter know which printer we want to print on
    PrintServiceAttributeSet serviceAttributeSet = new HashPrintServiceAttributeSet();
    serviceAttributeSet.add(new PrinterName(printerName, null));
    exporter.setParameter(JRPrintServiceExporterParameter.PRINT_SERVICE_ATTRIBUTE_SET, serviceAttributeSet);
    // print it
    exporter.exportReport();
    Muiz

  • CV01N - Attached PDF document printing through programmatically

    Hi all
    My requirement is to print PDF document which is attached through CV01N transaction programmatically. I searched all the ways. Still I didn't get it.
    Kindly help me to achive PDF document printout programmatically.
    Thanks in advance.
    Thanks and regards
    Selva

    Hi Selva,
                  What kind of document it is? SMARTFORM , ADOBEFORM? If any of them is true there is a FM associated with each of them hence you can use that do print these. You can pass you own print parameters in the interface of these forms.
    Second option check in which table the attachment get's stored get the same in binary format, and convert it into PDF, using some standard FM, Check SCMS* in SE37 that will help.
    Best Regards,
    Tapodipta Khan.

  • Using Oracle Text to search through WORD, EXCEL and PDF documents

    Hello again,
    What I would like to know is if I have a WORD or PDF document stored in a table. Is it possible to use Oracle Text to search through the actual WORD or PDF document?
    Thanks
    Doug

    Yes you can do context sensitive searches on both PDF and Word docs. With the PDF you need to make sure they are text and not images. Some scanners will create PDFs that are nothing more than images of document.
    Below is code sample that I made some time back to demonstrate the searching capabilities of Oracle Text. Note that the example makes use of the inso_filter that is no longer shipped with Oracle begging with Patch set 10.1.0.4. See metalink note 298017.1 for the changes. See the following link for more information on developing with Oracle Text.
    http://download-west.oracle.com/docs/cd/B14117_01/text.101/b10729/toc.htm
    begin example.
    -- The following needs to be executed
    -- as sys.
    DROP DIRECTORY docs_dir;
    CREATE OR REPLACE DIRECTORY docs_dir
    AS 'C:\sql\oracle_text\documents';
    GRANT READ ON DIRECTORY docs_dir TO text;
    -- End sys ran SQL
    DROP TABLE db_docs CASCADE CONSTRAINTS PURGE;
    CREATE TABLE db_docs (
    id NUMBER,
    format VARCHAR2(10),
    location VARCHAR2(50),
    document BLOB,
    CONSTRAINT i_db_docs_p PRIMARY KEY(id)
    -- Several notes need to be made about this anonymous block.
    -- First the 'DOCS_DIR' parameter is a directory object name.
    -- This directory object name must be in upper case.
    DECLARE
    f_lob BFILE;
    b_lob BLOB;
    document_name VARCHAR2(50);
    BEGIN
    document_name := 'externaltables.doc';
    INSERT INTO db_docs
    VALUES (1, 'binary', 'C:\sql\oracle_text\documents\externaltables.doc', empty_blob())
    RETURN document INTO b_lob;
    f_lob := BFILENAME('DOCS_DIR', document_name);
    DBMS_LOB.FILEOPEN(f_lob, DBMS_LOB.FILE_READONLY);
    DBMS_LOB.LOADFROMFILE(b_lob, f_lob, DBMS_LOB.GETLENGTH(f_lob));
    DBMS_LOB.FILECLOSE(f_lob);
    COMMIT;
    END;
    -- build the index
    -- Note that this index differs than the file system stored file
    -- in that paramter datastore is ctxsys.defautl_datastore and not
    -- ctxsys.file_datastore. FILE_DATASTORE is for documents that
    -- exist on the file system. DEFAULT_DATASTORE is for documents
    -- that are stored in the column.
    create index db_docs_ctx on db_docs(document)
    indextype is ctxsys.context
    parameters (
    'datastore ctxsys.default_datastore
    filter ctxsys.inso_filter
    format column format');
    --search for something that is known to not be in the document.
    SELECT SCORE(1), id, location
    FROM db_docs
    WHERE CONTAINS(document, 'Jenkinson', 1) > 0;
    --search for something that is known to be in the document.  
    SELECT SCORE(1), id, location
    FROM db_docs
    WHERE CONTAINS(document, 'Albright', 1) > 0;

Maybe you are looking for