Sending raw data to printer

Hi,
I have used an eText-Outbound template to generate text output having ZPL commands. This output from eBS is sent to CUPS printing utility to which Zebra is configured.
Problem is that the Zebra is not translating the commands into printable format but printing everything as text instead i.e. it is not able to recognize text as commands.
If someone has faced similar issue, please provide your valuable inputs.
FYI only: ZPL commands with emedded data is only understood by Zebra thermal printer. It translated the ZPL command into printable format.
Regards

I've managed to figure it out. I had two separate issues that appeared to have been causing my problem: 1. It appears that just about any filetype is working for me, but the image needs to be an absolute 1-bit image. Anything else would have sent to the printer the expected way but nothing happened with it. 2. Updating the printer firmware. We had the 1.00.5 version where 1.00.8 (or something like those!) was the latest out. That also appeared to have resolved my issue where bad prints would freeze the printer. I didn't have to change anything about how I was sending the data to the printer - using the Direct Protocol/Fingerprint driver and doing a RAW print works just fine!

Similar Messages

  • T-code F.27 or F.61 send raw data (tab delimited) to customers statements

    To enable intercompany customers to reconcile their accounts with ease we want to give them an excel file of all open items.
    Our thoughts are to use T-code F.27 (standard transaction for generating account statements) or F.61 and instead of sending a form, we would like to send raw data (tab delimited) which can easily be opened in excel to their email address.
    Each time I try I can only get a pdf or fixed file.
    Has anyone else done this?
    How to do, create this?
    Export text file to SAP Gui ?
    Many thanks for any ideas or help
    Edited by: Christine Kendall on Mar 16, 2010 6:00 PM
    *has anyone else extracted info to send to customers in format that can be amended i.e excel ? *

    Hi
    do you find a solution for your issue? Or did anyone else know how to send raw data instead of the pdf or fixed file from transaction F.61?
    Thanks for any ideas or help
    Axel

  • Setup printer for RAW data

    Hi,
    I need to send print to a printer through EBS as raw data stream.
    Can some please tell me what all setup I need to perform in EBS and OS (UNIX)?
    Regards,
    Nitin

    Yes, we need to send character data to printer. The concurrent progrm gives us text output like this:
    ^XA
    ^LH30,30^FO20,10^AD^FDUNITY^FS^FO20,60^B2^FDPO123456
    ^FS^XZ
    Currently when we sent this output to printer, it is just printed as it is. Meaning we see in the output:
    ^XA
    LH30,30^FO20,10^AD^FDUNITY^FS^FO20,60^B2^FDPO123456
    ^FS^XZ
    Expectation is when we send the output to printer it should interpret the commands/instructions (in BOLD) and print the underlined text as per instructions.
    Regards,
    Nitin

  • Sending characters to the printer

    Hello together,
    we are trying to send raw data or control characters to a printer using the standard "Universal / TextOnly" printer driver in order to print barcode data on a special printer. This works fine by using Windows Notepad.
    Unfortunately, Java only provides printing with a Graphics context. So we have not succeeded so far.
    Has anyone else had the same problem and how did they overcome it?

    Hi again.
    This is distilled from the JavaCOMM API.
    This code is changed from the example and looking at the docs for a minute. I don't know if it compiles but it should :-)
    import java.io.*;
    import java.util.*;
    import javax.comm.*;
    public class SimpleWrite {
        static Enumeration portList;
        static CommPortIdentifier portId;
        static String messageString = "Hello, world!\n";
        static ParallelPort parallelPort;
        static OutputStream outputStream;
        public static void main(String[] args) {
            portList = CommPortIdentifier.getPortIdentifiers();
            while (portList.hasMoreElements()) {
                portId = (CommPortIdentifier) portList.nextElement();
                if (portId.getPortType() == CommPortIdentifier.PORT_PARALLEL) {
                    // if (portId.getName().equals("LPT1")) {
                    if (portId.getName().equals("/dev/lp0")) {
                        try {
                            parallelPort= ParallelPort
                                portId.open("SimpleWriteApp", 2000);
                        } catch (PortInUseException e) {}
                        try {
                            outputStream = parallelPort.getOutputStream();
                        } catch (IOException e) {}
                        try {
                            outputStream.write(messageString.getBytes());
                        } catch (IOException e) {}
    }Hope this helps,
    Nuno

  • [solved] printer - brother DCP-J315W - "sending data to printer"

    Hi All,
    My sister have a printer brother DCP-J315W, connected with  usb.
    I installed the brother-dcpj315w package from AUR, and it used to work without issue.
    But I was informed "recently" that this printer is not working correctly since perhaps two months. (perhaps it's related to the AUR package update, but I think it's was already not working before the update.)
    When I try to print, there is no activity on the printer, and, using the cups web-interface, I can see, for the printer status: "idle - sending data to printer"
    I'm not sure about what I see in the logs, there are some failure about systemd and avahi service, when I try to print, perhaps it's the issue, but I really don't know.
    journaltct -f - when I try to print a test page.
    /var/logs/cups/error.log - for this day, with a debug log level, and when I added this printer and print a test page.
    It tried to not use the usblp kernel module without success, the printer is not recognized by cups without this module loaded.
    So, I'm quite lost with this issue.
    Cupsd info:
    /etc/cups/cupsd.conf
    Printer info
    Bus 003 Device 002: ID 04f9:0254 Brother Industries, Ltd
    lsmod | grep 'usb'
    usblp 13011 0
    usbhid 41358 0
    hid 86421 2 hid_generic,usbhid
    usb_storage 43828 0
    scsi_mod 130423 4 usb_storage,libata,sd_mod,sr_mod
    usbcore 174164 5 usblp,uhci_hcd,usb_storage,ehci_hcd,usbhid
    usb_common 955 1 usbcore
    If you have any idea to help me debug this issue, I'd be grateful.
    Thanks a lot to read this.
    Last edited by gyan000 (2013-03-16 13:29:13)

    Hi again,
    Issue solved, I had to execute this commande after the package installation:
    /opt/brother/Printers/dcpj315w/cupswrapper/cupswrapperdcpj315w
    I contacted the package owner so he can update his package.
    Thanks
    Last edited by gyan000 (2013-03-16 13:29:42)

  • Can i send cloab data from UTL SMTP WRITE RAW DATA?

    hi
    here is my code to send email from oracle as attachment using demomail package provided by oracle----
    create or replace procedure html_mail(
    p_sender varchar2, -- sender, example: 'Me <[email protected]>'
    p_recipients varchar2, -- recipients, example: 'Someone <[email protected]>'
    p_subject varchar2, -- subject
    p_text varchar2, -- text
    p_filename varchar2, -- name of html file
    p_blob blob -- html file
    ) is
    conn utl_smtp.connection;
    i number;
    len number;
    BEGIN
    conn := demo_mail.begin_mail(
    sender => p_sender,
    recipients => p_recipients,
    subject => p_subject,
    mime_type => demo_mail.MULTIPART_MIME_TYPE);
    demo_mail.begin_attachment(
    conn => conn,
    mime_type => 'application/csv',
    inline => TRUE,
    filename => p_filename,
    transfer_enc => 'base64');
    -- split the Base64 encoded attachment into multiple lines
    i := 1;
    len := DBMS_LOB.getLength(p_blob);
    WHILE (i < len) LOOP
    IF(i + demo_mail.MAX_BASE64_LINE_WIDTH < len)THEN
    UTL_SMTP.Write_Raw_Data (conn
    , UTL_ENCODE.Base64_Encode(
    DBMS_LOB.Substr(p_blob, demo_mail.MAX_BASE64_LINE_WIDTH, i)));
    ELSE
    UTL_SMTP.Write_Raw_Data (conn
    , UTL_ENCODE.Base64_Encode(
    DBMS_LOB.Substr(p_blob, (len - i)+1, i)));
    END IF;
    UTL_SMTP.Write_Data(conn, UTL_TCP.CRLF);
    i := i + demo_mail.MAX_BASE64_LINE_WIDTH;
    END LOOP;
    demo_mail.end_attachment(conn => conn);
    demo_mail.attach_text(
    conn => conn,
    data => p_text,
    mime_type => 'text/csv');
    demo_mail.end_mail( conn => conn );
    END;
    Above i m using
    p_blob blob -----to send message as attachment now i have table containg data into clob format nw if i send it as it is just changing coulmn from Pblob--- Clob
    then it gives me error at UTL SMTP WRITE RAW DATA...
    for that i do wrkaround as i m taking data from table as clob convert it to blob and
    send as attachment ...
    can any one guide me little that is this approcah proper?do i really need to convert data from clob to blob?
    bcause in 10g Mail UTL_MAIL raw attachment i have limitation on size of email.attachment........

    > still no email comes. No error as well.
    SMTP itself is straight forward. It is a delivery protocol. And very easy to implement. Which is what UTL_SMTP does - without bugs or errors (none to my knowledge and experience using UTL_SMTP extensively for a long time now).
    The problems experience are 50% of the time, incorrectly using SMTP. The other 50% of the time, incorrectly constructing a Mime Internet Message Body for SMTP to deliver. Both are issues that the caller (app code using UTL_SMTP) needs to address.
    As UTL_SMTP is program-driven, it is not that easy to play with and debug the conversation with the SMTP server - and figure out just what the SMTP server expects, not like, disallows, etc.
    In order to make sure that you are having a proper/valid conversation with the SMTP server, do it interactively using a telnet session on the Oracle server platform. All you do with telnet is to send the very same PL/SQL coded SMTP commands and parameters to the SMTP server - but interactively.
    E.g.
    /home/billy> telnet mail 25
    Trying 165.143.128.194...
    Connected to mail
    Escape character is '^]'.
    220 mail Tue, 13 May 2008 11:20:59 +0200
    HELO 10.251.93.58
    250 mail: Hello [10.251.93.58]
    MAIL FROM:<[email protected]>
    250 <[email protected]>: Sender Ok
    RCPT TO:<[email protected]>
    250 <[email protected]>: Recipient Ok
    DATA
    354 mail: Send data now. Terminate with "."
    Subject: Test Message
    This is a test e-mail.
    250 mail: Message accepted for delivery
    QUIT
    221 mail closing connection. Goodbye!
    Connection closed by foreign host.
    /home/billy>
    Simply substitute the SMTP parameters you use in your PL/SQL calls to UTL_SMTP above. And use the same SMTP command sequence as you do in your code.
    Note that in the above case, the SMTP server quite happily accepted incorrect and undeliverable sender and recipient addresses. Which means that the e-mail will wind up in the Big Bit Bucket In The Sky. No errors.

  • Keep getting error message when sending data to printer

    i keep getting an error message when trying to print.  window says "sending data to printer" but nothing happens and i get an error message.
    anyone else experience this and how did you solve the problem?

    Hi psknv3,
    Welcome to Apple Support Communities.
    What error message are you seeing when the printing issue occurs? The article linked below provides a lot of great information and general troubleshooting suggestions that may resolve the issue.
    Troubleshooting printer issues in OS X
    http://support.apple.com/kb/TS3147
    I hope this helps.
    -Jason

  • Printing ZPL (Zebra) data to printer spooler without character conversion

    Hi all,
    We are printing shipping labels from UPS, with a process where we recive the ZPL label code directly from UPS, and we just need to pass the data to the printer to get the labels. We have already implemented this with Fedex and some custom labels, and it works perfectly. The problem with the UPS label data is that it contains non-printable characters (in the MaxiCode data field). When passed to the SAP printer spooler (see code example below), the data gets corrupted because SAP interprets these non-printable characters as printer control codes.
    I have verified this by saving the ZPL data to a local file, before printing it through the SAP spooler. I then print this raw data and compare the output with the labels printed from the spooler. The MaxiCode (the big 2D barcode) is different in these labels. UPS has also tested the labels, and rejected them because of incorrect data in the barcode.
    For printing, we are using printers defined as type "PLAIN", but I also tried using the "LZEB2" device type with the same result. The error we see in the spooler entry is this:
    Print ctrl S_0D_ is not defined for this printer. Page 1, line 2, col. 2201
    Print output may not be as intended
    The printer ctrl code differs, depending om the label. I have examined the spooler data in "raw" mode, and there is always an ASCII character 28 (hex 1C) in front of the characters that SAP think are control codes, and this is why I think these non-printable characters are the reason for the problems.
    This is the function module I use to print the ZPL data (and as stated above, this works fine for Fedex and custom labels). The ZPL data is converted to binary format before passed to the function module, but I also tried to send the data in text format with another FM, but the result is the same. I have experimented with the "codepage" parameter, and this one gives the least amount of errors, and some labels actually get through without errors. But still at least 50% of the labels gets corrupted, with log entries like above.
    CALL FUNCTION 'RSPO_SR_WRITE_BINARY'
          EXPORTING
            handle           = lv_spool_handle
            data             = lv_label_line_bin
            length           = lv_len
            codepage         = '2010'
          EXCEPTIONS
            handle_not_valid = 1
            operation_failed = 2
            OTHERS           = 3.
    Does anyone know if there is a way to send data to the spooler without character conversion or interpretation of printer control codes? Or is there any other smart way to get around this problem?
    /Leif

    I do a more direct output to the spooler, to avoid any issues with the WRITE statement and SAP's report output processing. At the same time, I insert line breaks so that the output is easy to debug in the spooler if needed. Also included is the code to to detect the escape code (ASCII #28) and to insert a control code ZZUPS in its place (you can skip this for Fedex). Here's a simplified example, but please note this is for a Unicode system, some minor changes is required in a non-Unicode system.
    CONSTANTS: lc_spcode TYPE c LENGTH 5 VALUE 'ZZUPS',
               lc_xlen TYPE i VALUE 5.
       DATA: lv_print_params TYPE pri_params,
             lv_spool_handle TYPE sy-tabix,
             lv_name TYPE tsp01-rq0name,
             lv_spool_id TYPE rspoid,
             lv_crlf(2) TYPE c,
             lv_lf TYPE c,
             lstr_label_data TYPE zship_label_data_s,
             lv_label_line TYPE char512,
             lv_label_line_bin TYPE x LENGTH 1024,
             lv_len TYPE i,
             ltab_label_data_255 TYPE TABLE OF char512,
             ltab_label_data TYPE TABLE OF x,
             lv_c1 TYPE i,
             lv_c2 TYPE i,
             lv_cnt1 TYPE i,
             lv_cnt2 TYPE i,
             lv_x(2) TYPE x.
       FIELD-SYMBOLS: <n> TYPE x.
       lv_crlf = cl_abap_char_utilities=>cr_lf.
       lv_lf = lv_crlf+1(1).
       lv_name = 'ZPLLBL'.
    CALL FUNCTION 'RSPO_SR_OPEN'
         EXPORTING
           dest                   = i_dest
           name                   = lv_name
           prio                   = '5'
           immediate_print        = 'X'
           titleline              = i_title
           receiver               = sy-uname
    *      lifetime               = '0'
           doctype                = ''
         IMPORTING
           handle                 = lv_spool_handle
           spoolid                = lv_spool_id
         EXCEPTIONS
           device_missing         = 1
           name_twice             = 2
           no_such_device         = 3
           operation_failed       = 4
           OTHERS                 = 5.
       IF sy-subrc <> 0.
         RAISE spool_open_failed.
       ENDIF.
    LOOP AT i_label_data INTO lstr_label_data.
         CLEAR ltab_label_data_255.
         SPLIT lstr_label_data-label_data AT lv_lf INTO TABLE ltab_label_data_255.
         LOOP AT ltab_label_data_255 INTO lv_label_line.
           IF lv_label_line NE ''.
             lv_len = STRLEN( lv_label_line ).
    *       Convert character to hex type
             lv_c1 = 0.
             lv_c2 = 0.
             DO lv_len TIMES.
               ASSIGN lv_label_line+lv_c1(1) TO <n> CASTING.
               MOVE <n> TO lv_x.
               IF lv_x = 28.
                 lv_cnt1 = 0.
                 lv_label_line_bin+lv_c2(1) = lv_x.
                 lv_c2 = lv_c2 + 1.
                 DO lc_xlen TIMES.
                   ASSIGN lc_spcode+lv_cnt1(1) TO <n> CASTING.
                   MOVE <n> TO lv_x.
                   lv_cnt2 = lv_c2 + lv_cnt1.
                   lv_label_line_bin+lv_c2(2) = lv_x.
                   lv_c2 = lv_c2 + 2.
                   lv_cnt1 = lv_cnt1 + 1.
                   lv_len = lv_len + 1.
                 ENDDO.
               ELSE.
                 lv_label_line_bin+lv_c2(2) = lv_x.
                 lv_c2 = lv_c2 + 2.
               ENDIF.
               lv_c1 = lv_c1 + 1.
             ENDDO.
    *       Print binary data to spool
             lv_len = lv_len * 2. "Unicode is 2 bytes per character
             CALL FUNCTION 'RSPO_SR_WRITE_BINARY'
               EXPORTING
                 handle                 = lv_spool_handle
                 data                   = lv_label_line_bin
                 LENGTH                 = lv_len
               EXCEPTIONS
                 handle_not_valid       = 1
                 operation_failed       = 2
                 OTHERS                 = 3.
             IF sy-subrc <> 0.
               RAISE spool_write_failed.
             ENDIF.
           ENDIF.
         ENDLOOP.
       ENDLOOP.
       CALL FUNCTION 'RSPO_SR_CLOSE'
         EXPORTING
           handle = lv_spool_handle.
       IF sy-subrc <> 0.
         RAISE spool_close_failed.
       ENDIF.

  • How do I add Channel names to my raw data using a plugin?

    I have a Campbell Scientific datalogger which outputs raw data (no headers, etc.)  I need to add channel names and units to this data for display in DIAQdem.  I know there's a way to do it, but I haven't had the class yet (coming to the base soon) and don't have a lot of time to try and figure it out for myself.  I'd appreciate any help that I can get.
    I've generated a script using the Data Plugin Wizard, but as expected, it's very long and verbose... most likely has WAY more information in it than I need.

    Hi NavyJack
    I answered a similar question a while back.  If you just want to add a list of static channel names, then try this approach with your existing DataPlugin that you got from the ASCII DataPlugin Wizard:
    http://forums.ni.com/ni/board/message?board.id=60&message.id=8232&query.id=66481#M8232
    You are of course absolutely correct that the boiler plate code you get from the ASCII DataPlugin Wizard is way more complicated than you need for your data file.  If you are able to send me a sample data file, I could probably send you back a very simple DataPlugin which would be much easier to tweak for channel names, channel units, etc.
    What DIAdem version are you using?
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • HOW TO SEND XML BACK TO PRINT? (See Inside thread for more info)

    Hello Everybody,
    Because there is not a lot of documentation on  if_fp and if_fp_pdf_object
    I found out that i can retrive my PDF from the ADS with the following code:
        data:
        lo_fp                 TYPE REF TO if_fp ,
        lo_pdfobj             TYPE REF TO if_fp_pdf_object,
    pdf_xstring           TYPE xstring,
        xml_data              TYPE xstring,
        lv_xml_data_string    TYPE string.
                Get FP reference
      lo_fp = cl_fp=>get_reference( ).
                Create PDF Object using destination 'ADS' (<-- this is how it is defined in SM59)
      lo_pdfobj = lo_fp->create_pdf_object( connection = 'ADS' ).
                set document
      lo_pdfobj->set_document(
      EXPORTING
        pdfdata = fp_formoutput-pdf ). " fp_formoutput-pdf is of type xstring
                Tell PDF object to extract data
    lo_pdfobj->set_extractdata( )." obsolate!!!
      call METHOD lo_pdfobj->set_task_extractdata( ).
                Execute the call to ADS
      lo_pdfobj->execute( ).
      lo_pdfobj->get_data(
      IMPORTING
        formdata = xml_data ).
    After this i can manipulate xml_data but dont know how to send it back to print...
    Can you direct me to the solution please?
    Thank you in advance,
    Eran Fox
    p.s.:
    Component version    SAP ECC 6.0
    Unicode System         No
    Database system      ORACLE
    Release                     10.2.0.2.0
    Kernel release           700

    Hi Billy
    Yikes - how embarassing !  Thanks for pointing out my beginners mistake there.  I've fixed my code - and also implemented the substitutions of parameters like you suggested - I like that approach.
    Unfortunately the end result is no better - the line
    utl_http.read_text(resp,response_text);
    Still returns nothing back
    The headers that are coming back are
    Date: Thu, 04 Jul 2013 08:31:56 GMT
    Server: Apache/2.2.16 (Ubuntu)
    X-Powered-By: PHP/5.3.3-1ubuntu9.3
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    Vary: Accept-Encoding
    Content-Length: 0
    Content-Type: text/html; charset=UTF-8
    Connection: close
    I guess I will need to try chasing it with the fastsms vendor so see if they can check my incoming request and see if there are any glaring problems. I know the xml is correct as I am now logging the xml string just before I send it and when I take that string and put it in their test form it works perfectly - something else in the puzzle is missing. I've had no experience using utl_http before - perhaps it's no possible to read the xml repsonse using this ?
    Anyway, thanks for your help Billy.
    ps - How do you paste your code into your message to get that formatting ?
    Cheers,
    Brent

  • Same set of data should print twice on same page in SAP SCRIPT

    Hi Experts,
    I come across a requirement where I need same set of data in sap script should print twice as it is on same page.
    and if first page overflow, then same scenario should continue till complete data is printed. Basically main window data should print twice in two blocks on same page.
    E.g.
    If I have 10 line item which is to be printed on top window on  first page. Now I want that same 10 lines should be printed in a block below the first block. Data should flow similarly across multiple pages.
    Hope my question is pretty clear. I am expecting suitable answers from experts.
    Thanks in advance.
    Regards,
    Vijay

    Hi
    I had the same request for a check form in Canada. I solved it by writing the line item output into variables and print these variables in a second window. It was ~10 hours of effort, not a real nice technical solution but it worked.
    If you require I can send you a PDF of the sap script form definition. You can contact me at [email protected] Answers can take 1 week or more. 
    Best regards
    JD

  • Is it possible to run Go URL SQL and return raw data using Java?

    Hi All,
    I just got GO URL SQL working in HTML, when i type the following URL on to the address bar.
    https://odsau.oraclecorp.com/analytics/saw.dll?Go&SQL=select+"MFG Serial Number"."Job Name","MFG Serial Number".Item+from+"Supply Chain Management"
    It prints out a table with all the data that query from the database in a HTML page. However, I want to be able to manipulate these data in a JAVA script.
    Is there a similar function i can use in Java script and return raw data so i can store them into a variable for data manipulation?
    Or is there a work around that someone has already done ?
    Thanks
    John Lau

    You can excute SQL statemetns throught JDBC, but that doesn't have a facility to read those statements from a file. You'd have to write code to read the file and create and execute statements through JDBC. That should be pretty straightforward though.
    It's conceivable that there's a third party library out there that does it, if you know what to look for.
    If you're not familiar with JDBC, check out http://java.sun.com/developer/onlineTraining/Database/JDBC20Intro/

  • Send audio data over UDP

    Hello again,
    Sorry for asking a lot of questions, but I'm developing an application in jmf and I don't know so much how it works...
    I'm trying to receive rtp data from the network, then uncompress to RAW format (but it has to be coded in some codec like g711, g729 or GSM) and save it into a buffer. For this I'm following the example DataSourceReader. I have attached some things like keep off the rtp header, and save the audio data into a bytebuffer (instead of using the printInfo() method I'm using saveIntoByteBuffer() method).
    Another class is sending the data (saved in byteBuffer) over the network (UDP, not RTP-UDP).
    And anotherone is receiving this data, and creating a DataSource to play the audio data received.
    To do this, I don't know exactly how to do it. I need to create a DataSource like the examples (LiveStream and DataSource from [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/LiveData.html |http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/LiveData.html] ) or can I do it like JpegImagesToMovie from [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/JpegImagesToMovie.html|http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/JpegImagesToMovie.html] ?
    Sorry if it's an easy question, but I don't understand so much why implementing the 'same' thing (custom DataSource) it's implemented different.
    Thanks

    Sorry if it's an easy question, but I don't understand so much why implementing the 'same' thing (custom DataSource) it's implemented different.They aren't the same thing, actually. DataSource is the parent class, but there are 2 different kinds of DataSources.
    A PushBufferDataSource will "push" the data out when it's available to be read. Whenever it decides it has data ready to be read, it informs whatever is reading from it that data is available.
    A PullBufferDataSource will not do that. Whenever it has data ready to be read, it doesn't do anything to inform what's reading from it.
    The next obvious question is, why does it matter?
    PullBufferDataSource's are good for situations where the data is always present. For instance, if you're playing a file from your hard drive, it's better to just let your Player object fetch data when it's needed. There's no need for a "data available" event, because, the data is always available...
    PushBufferDataSources are good for situations where data is being generated / received from an outside source. You can't read from it until the data comes in, so rather than blocking and waiting for the read, it'll tell your reader class when to come back for the data.
    Hope that helps!
    P.S. For your needs, you'll want to be using a PushBufferDataSource, so the Live example code.

  • Xml.send() sending blank data?

    I am attempting to send XML data to a PHP script from my server-side app using the following code:
        var my_xml = new XML("<highscore><name>Ernie</name><score>13045</score></highscore>");
        my_xml.contentType = "text/xml";
        my_xml.send("http://www.server.com/temp/fms_post.php");
    I am logging anything that the outside server receives at $_REQUEST, $_POST, $_GET. I can see that my server-side app is reaching out to the external server, but the data is always blank. Am I doing something wrong here?

    It's for reading the raw data of the request. Since the XML is sent as raw data and not assigned to post/get vars, you need to read the request body to get the data.
    http://php.net/manual/en/wrappers.php.php

  • I have a Nikon P7700.  Only some of the images will download  ?and others say that Iphoto cannot read the files.  I need raw images fo print.

    I have a Nikon P7700.  I can download some of the images.  The same set of images will not download so I can send 300dpi images for print.  I am new to figuring this out. Please help? 

    Does your MacBook Air run a reasonably current Operating System (OS X 10.8.5 or later - the current version is 10.9.2)?  Are you running a reasonably current version of iPhoto (9.4.3 or later - the current version is 9.5.1)?
    If so, you can download this RAW compatibility update from mid-January.  It supports your camera.
    http://support.apple.com/kb/DL1717

Maybe you are looking for

  • Hide author properties from a WebI report?

    Hello, I need to u201CHideu201D the report Author from the properties in a Webi report. Can I do it with WebI Extension Points (Java or DHTML) or with REBEAN? Thanks, Paul

  • Safari, iTunes, other online applications quit unexpectedly

    Mac OS 10.6.5 Safari 5.0.2 My Macbook pro is only a few months old. Starting yesterday, all online applications crash immediately. I am having to search for help on a different Windows computer. Process: Safari [578] Path: /Applications/Safari.app/Co

  • Custom Size Envelope Printing In Address Book

    First off, I'm using an Epson SC 880. I want to print on 5x7 envelopes. I am able to define the custom size of 5x7, but when I attempt to print, it spits the envelope out unprinted. I'm wondering if this is a printer driver problem or a bug in Addres

  • My Macbook Pro Decision

    I am want to get a Macbook Pro (it will be my first one), but I'm not sure whether to wait and see if the price for the retina display reduces or more storage for the same price. Or should I get the non retina 2.9 GHz i7 Macbook instead as I can also

  • Output from same script on two different platforms produce different outputs.

    I'm running a command prompt script on two different platforms (Windows 7 desktop and a Microsoft Server 2008 R2 Enterprise platform) and the output the script produces is different on each platform.  Specifically; the script is        For /f "tokens