Exceptions in Substep: Write Data Package

Hi All,
Has anyone encountered this error message in BI7? We just recently applied SP12 and it solved an ABAP dump (SAPSQL_ARRAY_INSERT_DUPREC) we were seeing while trying to load an ODS. However, I'm now seeing a new error message while loading:
Exceptions in Substep: Write Data Package
We have some custom ABAP in an End Routine that is doing some additional processing while loading extractor 2LIS_13_VDKON.
All of this code is working perfectly as a Start Routine in our BW 3.x system, but in BI7, we first had the above SQL error and now this data package error. It appears that it executes the transformation, rules and end routine successfully, (everything is green in the DTS Monitor) but while trying to insert the data into the ODS, it errors out.
I don't know how or what to debug -- I can't even get an Error Stack. Does anyone have any insight or recommendations?
Thanks,
-Mel

Hi Mel,
1. on which Database is your BI system running.
2. Debugging a DTP is possible:
Open the DTP, choose Execute
Processing mode (Serially in the Dialog Process ... for Debugging
a) start a simulation request directly from the DTP-Monitor of the erroneous request
b) Selections (including source requests) are copied from the original request
c) Selections can be changed in a UI similar to the DTP filter
d) Selections can be stored as variants for later use (e.g. in a different support level)
e) Temporary storages and breakpoints can be switched on and off
--> you can set the Breakpoints
--> you can choose "Expertenmodus" (modus for experts), here you can choose the request ID ...
I hope this helps,
Michael
SAP NetWeaver RIG

Similar Messages

  • Can't load data to cubes - same error for all DTPs  "exception in substep write to fact table"

    Hi Experts,
    This initial DTP error is:
    Data package processing terminated Message no. RSBK229
    Error while updating to target <cubename> (type INFOCUBE) Message no. RSBK241
    If I drill down to the specific package in the process monitor the error is:  "exception in substep write to fact table" .
    No more details for why the error is being generated.
    SAP BW 307 service pack 8.
    I have run the debugger without success, an ABAPer also ran debug mode to get more details on the error without success
    We checked teh termination point and the ABAP stack
    No error stack is available
    No short dumps
    I have reactivated the DTP
    The data looks fine
    The server crashed the day before the DTPs started to fail
    One cube is standard content and the other is a Z version of the same cube.
    Please let me know if anyone has resolved this issue before and what steps were necessary.

    Hello Russell,
    We have got the similar situation and we later found that it was a data issue only.
    We tried to enable the error stack, but as the data issue was due to a lookup which is bringing the invalid data, its not captured in the error stack and throwing short dump with the message u mentioned.
    so my suggestion, just put a break point if there are any lookups and check the data in internal tables if everything is as expected.
    Hope this helps.
    Thanks,
    Venkata Naresh

  • ERROR :  "Exceptions in Substep: Rules" while loading data from DSO to CUBE

    Hi All,
    I have a scenario like this.
    I was loading data from ODS to cube daily. everything was working fine till 2  days before. i added some characteristic fields in my cube while i didn't do any change in my key figures. now i started reloading of data from ODS to cubes. i got the following error  "Exceptions in Substep: Rules" after some package of data loaded successfully.
    I deleted the added fields from the infocube and then i tried toreload data again but i am facing the same error again  "Exceptions in Substep: Rules".
    Can any one tell me how to come out from this situation ?
    Regards,
    Komik Shah

    Dear,
    Check some related SDN posts:
    zDSo Loading Problem
    Re: Regarding Data load in cube
    Re: Regarding Data load in cube
    Re: Error : Exceptions in Substep: Rules
    Regards,
    Syed Hussain.

  • Disk throughput drops when inserting data packages in write-optimized DSO

    Hi all,
    we are currently testing our new freshly installed SAN.
    To see the performance gain in BI, I'm currently doing some test loads.
    And during the monitoring of those loads, I noticed something I'd like someone to explain :-):
    I execute a DTP from PSA to a write-optimized DSO.
    The n° of parallel processes = 9
    Update method = serial extraction, immediate parallel processing
    N° of records transferred: +23.000.000
    Ok, in the first phase (read the PSA) only one process is used (serial extraction).  When I look in OS07, I notice we have very good throughput: +66.000 TransfKB/s. Very nice!
    But as soon as BI starts inserting the data packages, and parallel processing kicks in, the throughput drops to 4K or something, and sometimes we get 20K at max.  That's not too good.
    We have a massive SAN , but the BI system does not seem to use it?
    I was wondering why this is the case.  I already toyed around with the package size, but it's always the same.
    Also I noticed that the allocated processes don't seem to be active.  I allocated 9 BTC processes to this load.
    They are all used, but we only see 3 inserts at the same time, max.  Also in the DTP-monitor, only 3 packages are processed at the same time.  As it's a write-optimized DSO, RSODSO_SETTINGS does not apply I presume.
    Any ideas?
    tnx!

    Hi,
    can you pls try to give some filetr in DTP and try to pull the data.
    I am not sure why first data package is taking long time and otehr data package is taking less time..
    Do you have any start routine..If datapak = 1.. the do this logic..
    Pls check..
    regards
    Gopal

  • Error in data upload : "Exceptions in Substep: Rules"

    Hi friends,
    Data is loaded upto PSA but from PSA to cube it shows "Exceptions in Substep: Rules" when i runs DTP. and it shows following abap code.
    cube : zsd_c03
    No of records : 10
    data source: 2LIS_12_VCITM
    ========
        if l_rc ne 0 and l_t006flag = ruom_c_t006_mode-t006_iobj. " conversion_not_found
          uom_iobj( exporting  i_objvers          = i_objvers
                               i_uomnm            = i_uomnm
                               i_input_value      = i_input_value
                             i_unit_in          = IS_UOM_val-unit_in
                             i_unit_out         = IS_UOM_val-unit_out
                               is_uom_val         = ls_uom_val
                               is_uom_prop        = is_uom_prop
                               ir_msg             = ir_msg
                    importing  es_output          = es_output
                    changing   cs_buffer          = cs_buffer ).
        endif.
        if l_rc ne 0.
        Keine Mengenumrechnung möglich
          message e065(rsuom) into l_dummy_msg.
    ->>>>      raise exception type cx_rs_msg exporting msgid = sy-msgid msgno = sy-msgno msgty = sy-msgty msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4.
        endif.
    ========
    points will be assigned for the ans.
    suyash

    Hi Experts
    I have received the error message at the step
    RSDS Y_VIC_SAP_PRIM_CNTR_GRP ZISSCOM -> IOBJ YECTNRTPM
    Error: Exceptions in Substep: Transformation Start
    When i clicked on the red exclamation mark. i was taken into the following code. is this start routine and do we have any problem in this?
    METHOD get_object_ref.
      DATA:
        l_cx_root    TYPE REF TO cx_root,
        l_seconds    TYPE i,
        lr_exe       TYPE REF TO object,
        ls_tranid    TYPE ty_s_tranid,
        lr_model     TYPE REF TO cl_rstran_model,
        l_uid        TYPE rssguid25,
        l_prog_class TYPE rssg_progclass,
        l_progname   TYPE sy-repid.
      READ TABLE gt_r_tranid INTO ls_tranid
        WITH KEY tranid = i_tranid.
      IF sy-subrc <> 0.
        TRY.
            CALL METHOD cl_rstran_model=>factory
              EXPORTING
                i_tranid         = i_tranid
                i_with_cto_check = rs_c_false
                i_with_authority = rs_c_false
              RECEIVING
                r_r_model        = lr_model.
          CATCH cx_rstran_exception INTO l_cx_root.
            RAISE EXCEPTION TYPE cx_rs_error
              EXPORTING
                previous = l_cx_root.
        ENDTRY.
        IF rs_c_false = lr_model->check_expert( ).
          l_prog_class = gc_tran_progclas.
        ELSE.
          l_prog_class = gc_tran_progclas_expert.
        ENDIF.
    *-- Get program_UID for TRANID
        CALL METHOD lr_model->get_progid
          IMPORTING
            e_progid = l_uid.
        CALL FUNCTION 'RSS_PROGRAM_GET_NAME'
          EXPORTING
            i_uni_idc25           = l_uid
            i_program_class       = l_prog_class
          IMPORTING
            e_program_name        = l_progname
          EXCEPTIONS
            invalid_unique_id     = 1
            invalid_program_class = 2
            template_not_found    = 3
            OTHERS                = 4.
        IF sy-subrc <> 0.
          DATA: l_r_exception TYPE REF TO cx_rs_failed,
                l_r_root      TYPE REF TO cx_root.
          CALL FUNCTION 'RS_SYMESSAGE_TO_EXCEPTION'
            EXPORTING
              i_exception   = 'CX_RS_FAILED'
            IMPORTING
              e_r_exception = l_r_root.
          l_r_exception ?= l_r_root.
          RAISE EXCEPTION l_r_exception.
        ENDIF.
        l_seconds = 120.
        CALL FUNCTION 'RSS_PROGRAM_GENERATE'
          EXPORTING
            i_uni_idc25                 = l_uid
            i_program_class             = l_prog_class
      I_CLIENT                    =
      I_PROGRAM_TITLE             =
      I_MAX_GENSTATUS             = '00'
      I_TIMESTAMP                 =
      I_FORCE_GENERATION          = RSSG_C_FALSE
      I_DEBUG_LEVEL               =
      I_NO_SYNTAX_CHECK           = RSSG_C_FALSE
      I_NO_PRETTY_PRINTER         = RSSG_C_FALSE
            i_db_commit                 = rssg_c_true
            i_seconds_to_wait           = l_seconds
      I_NO_RDIR_CHECK             = RSSG_C_FALSE
      I_BUFFERED                  = RSSG_C_FALSE
            i_use_metaclass             = rssg_c_true
      I_GENFLAG                   =
      I_WITH_HEADER_COMMENT       = RSSG_C_FALSE
      I_PROGRAM_NAME              =
      I_FORCE_RELOAD              = RSSG_C_FALSE
      I_SCOPE                     = '2'
    IMPORTING
      E_PROGRAM_NAME              =
      E_PROGRAM_GENERATED         =
      E_ERROR_LINE                =
      E_ERROR_MESSAGE             =
      E_CLSNAME                   =
      E_TEMPLATE                  =
          EXCEPTIONS
            invalid_program_class       = 1
            invalid_unique_id           = 2
            generation_error            = 3
            template_not_found          = 4
            template_syntax_error       = 5
            program_syntax_error        = 6
            foreign_lock                = 7
            system_failure              = 8
            internal_error              = 9
            load_program_invalid        = 10.
        IF sy-subrc <> 0.
          RAISE EXCEPTION TYPE cx_rs_error.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        PERFORM get_runtime_ref IN PROGRAM (l_progname)
           CHANGING lr_exe.
    *-- Get ref to local runtime class
        ls_tranid-tranid = i_tranid.
        ls_tranid-ref    = lr_exe.
        APPEND ls_tranid TO gt_r_tranid.
      ENDIF.
      r_ref_runtime = ls_tranid-ref.
    ENDMETHOD.

  • Write new line in Data Package fails

    Hi all,
    I'm trying to assign Cost Distribution Codes from my Start Routine into a BW cube.
    The start routine derives the Cost Center from a Masterdata table in where the HR Position, Cost Centerand FTE % are held.
    Eg. I'm pulling an employee record from datasource 0HR_PA_0; this employee record is assigned to a Position which is split into 2 Cost Centers.
    Datasource 0HR_PA_0 only has one record per month, but I'd like the cube to be uploaded with 2 records; one for each Cost Center Distribution Code and FTE %, but how would I do that?
    I created a Start Routine in where I specified to find the Coste Center from the Masterdata object (zposcost) and if it finds more than 1 to write an extra line.  This doesn't work; it still only writes only one line to the cube.
    Please help!
    This is part oif the code:
    DATA:
    gd_/bic/mzposcost   LIKE /bic/mzposcost,
    gd_/bi0/mcostcenter LIKE /bi0/mcostcenter,
    gl_data_package     TYPE _ty_s_sc_1.
    *IF MORE THAN 1 FOR THE DATE RANGE WRITE A NEW LINE IN THE DATA PACKAGE
                  MOVE-CORRESPONDING <source_fields> TO gl_data_package.
                  MOVE gd_/bic/mzposcost-as_prcnt TO
                  gl_data_package-/bic/zhr_pcnt3.
                  MOVE gd_/bic/mzposcost-costcenter TO
                  gl_data_package-costcenter.
    LOOP AT il_data_package INTO gl_data_package.
          MOVE-CORRESPONDING gl_data_package TO <source_fields>.
          APPEND <source_fields> TO SOURCE_PACKAGE.
        ENDLOOP.
    Edited by: Markus de Graaff on Jun 8, 2010 2:37 PM

    Hi,
    actually someone edited the code by commenting out the followng bit; I believe this is the loop that should assign the values eventually to the internal table?
    * MOVE THE DATA TO AN INTERNAL TABLE.
        LOOP AT SOURCE_PACKAGE ASSIGNING <SOURCE_FIELDS>.
          move-corresponding <SOURCE_FIELDS> to ld_data_package.
          append ld_data_package.
        ENDLOOP.
        LD_DATA_PACKAGE[] = SOURCE_PACKAGE[].
    When I uncomment it, it says ld_data_package is not a structure or internal table with header line.
    Any suggestions? I really like to solve this please!
    M.

  • Free Report Writer for Oracle Database except Crystal Report and Data Vison

    Dear All,
    I want Free Report Writer for Oracle Database except Crystal Report and Data Vision software.
    Wr are working on Linux and windows both platform.
    Any one have direct link or website address for it ?
    Regards,
    Vipul Patel
    Ahmedabad

    Please check the following link -
    http://www.google.co.in/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&q=open+source+report+writer+for+oracle&meta=&btnG=Google+Search
    Regards.
    Satyaki De.

  • Every 3rd data package taking long time for execution

    Hi Everyone
    We are facing a strange situation. Our scenario involves doing a full load from DSO to CUBE.
    Start routines are not very database intensive and care has been taken to write them in a optimized way.
    But strangely every 3rd data package is taking exceptionally longer time than other data packages.
    a) DTP is having 3 parallal processes.
    b)time spent in extraction , rule, and updation is constant for every data package.
    c)start routine time is larger for every 3rd data package and keeps on increasing. for e.g. 5 mins, 10 mins, 24 mins, 33 mins etc it increases by each 3rd package.
    I tried to anlayze the data which was taking so much time but found no difference in terms of data in normal and longer time taking DTP (i.e. there was not logical difference in data for start routine to behave like this).
    I was wondering what can be the possible reasons for it and may be some other external system factors can be responsible for it. If someone can help in this regard that will be highly appreciated.

    Hi Hemanth,
    In your start routine, are you by any chance adding or multiplying the number of records to the source_package? Something like copy source package into an internal table, add records to internal table and then copy it back to source package? If some logic of this sorts is in your start routine, you need to refresh your internal table. Otherwise, the internal table records goes on increasing with every data package. So, the processing time might increase as the load progresses. This is one common mistake I have seen. Please check your code if you have something like that and refresh the internal tables. See if this makes any difference.
    Thanks and Regards
    Subray Hegde

  • Restrict Data Package Size

    hi all,
    I have created a generic data source which is extracting data using the FM.
    I wana restrict my data by packet size. how can i do this?
    my FM is
    FUNCTION zstock_requirement.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(I_DSOURCE) TYPE  RSISOURCE OPTIONAL
    *"     VALUE(I_REQUNR) TYPE  RSREQUNR
    *"     VALUE(I_MAXSIZE) TYPE  RSMAXSIZE DEFAULT 1000
    *"     VALUE(I_INITFLAG) TYPE  RSINITFLG OPTIONAL
    *"     VALUE(I_UPDMODE) TYPE  RSUPDMODE OPTIONAL
    *"     VALUE(I_DATAPAKID) TYPE  RSDATAPID DEFAULT 50000
    *"     VALUE(I_READ_ONLY) TYPE  SBIW_BOOL DEFAULT SBIW_C_FALSE
    *"  TABLES
    *"      I_T_SELECT TYPE  SBIWA_T_SELECT OPTIONAL
    *"      I_T_FIELDS TYPE  SBIWA_T_FIELDS OPTIONAL
    *"      E_T_DATA STRUCTURE  MDEZ OPTIONAL
    Maximum number of lines for DB table
      STATICS: s_s_if TYPE srsc_s_if_simple,
    counter
              s_counter_datapakid LIKE sy-tabix,
    cursor
              s_cursor TYPE cursor.
      DATA : lt_mdezx TYPE TABLE OF mdez,
              la_mdezx LIKE LINE OF lt_mdezx.
    Initialization mode (first call by SAPI) or data transfer mode
    (following calls) ?
      IF i_initflag = sbiwa_c_flag_on.
    Initialization: check input parameters
                    buffer input parameters
                    prepare data selection
    Check DataSource validity
        CASE i_dsource.
          WHEN 'ZSTOCK_REQUIREMENT1'.
          WHEN OTHERS.
            IF 1 = 2. MESSAGE e009(r3). ENDIF.
    this is a typical log call. Please write every error message like this
            log_write 'E'                  "message type
                      'R3'                 "message class
                      '009'                "message number
                      i_dsource   "message variable 1
                      ' '.                 "message variable 2
            RAISE error_passed_to_mess_handler.
        ENDCASE.
        APPEND LINES OF i_t_select TO s_s_if-t_select.
    Fill parameter buffer for data extraction calls
        s_s_if-requnr    = i_requnr.
        s_s_if-dsource = i_dsource.
        s_s_if-maxsize   = i_maxsize.
    Fill field list table for an optimized select statement
    (in case that there is no 1:1 relation between InfoSource fields
    and database table fields this may be far from beeing trivial)
        APPEND LINES OF i_t_fields TO s_s_if-t_fields.
      ELSE.                 "Initialization mode or data extraction ?
    Data transfer: First Call      OPEN CURSOR + FETCH
                   Following Calls FETCH only
    First data package -> OPEN CURSOR
        IF s_counter_datapakid = 0.
          SELECT matnr FROM mara INTO TABLE i_matnr
                            WHERE mtart IN ('ZFIN','ZRAW','ZSMI').
          If not i_matnr is initial.
          SELECT matnr werks FROM marc INTO TABLE i_input FOR ALL ENTRIES IN i_matnr
                                           WHERE matnr = i_matnr-matnr.
           endif.
            CLEAR wa_input.
            LOOP AT i_input INTO wa_input.
              CALL FUNCTION 'MD_STOCK_REQUIREMENTS_LIST_API'
                EXPORTING
       PLSCN                          =
                  matnr                          =  wa_input-matnr
                  werks                          =  wa_input-werks
       BERID                          =
       ERGBZ                          =
       AFIBZ                          =
       INPER                          =
       DISPLAY_LIST_MDPSX             =
       DISPLAY_LIST_MDEZX             =
       DISPLAY_LIST_MDSUX             =
       NOBUF                          =
    IMPORTING
       E_MT61D                        =
       E_MDKP                         =
       E_CM61M                        =
       E_MDSTA                        =
               TABLES
       MDPSX                          =
                 mdezx                          =   lt_mdezx
       MDSUX                          =
               EXCEPTIONS
                 material_plant_not_found       = 1
                 plant_not_found                = 2
                 OTHERS                         = 3.
              IF sy-subrc <> 0.
                MESSAGE i000(abc) WITH 'information'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
              ENDIF.
              LOOP AT lt_mdezx INTO la_mdezx.
                APPEND la_mdezx TO e_t_data.
              ENDLOOP.
            ENDLOOP.
          ENDIF.
          s_counter_datapakid = s_counter_datapakid + 1.
        ENDIF.              "Initialization mode or data extraction ?
      ENDFUNCTION.

    Hi,
    One thing why u want to restrict data package. Anyway if it is delta enbaled u will make it as a initial load then delta load.
    Its very complex to implement datapackage as well as cursor and fetch statement in function module.
    Thanks,
    Debasish

  • Io exception: End of TNS data channel

    i'm trying to call java function from pl*sql
    THIS IS MY CLASS WHICH CALL JEXCEL APIs jar :
    package ExcelGenPackage;
    import java.io.File;
    import java.io.IOException;
    import java.lang.Number;
    import java.util.Date;
    import jxl.*;
    import jxl.write.*;
    public class ExcelGenClass
    public ExcelGenClass()
    * @param args
    public static void main(String[] args)
    ExcelGenClass excelGenClass = new ExcelGenClass();
    Write_XLS();
    public static void Write_XLS()
    try
    WritableWorkbook workbook = Workbook.createWorkbook(new File("C:\\output.xls"));
    WritableSheet sheet = workbook.createSheet("First Sheet", 0);
    Label label = new Label(0, 2, "A label record");
    sheet.addCell(label);
    Label label1 = new Label(0, 4, "A Second label record ");
    sheet.addCell(label1);
    // All sheets and cells added. Now write out the workbook
    workbook.write();
    workbook.close();
    catch (JXLException e)
    System.out.println("d");
    catch (IOException e)
    System.out.println("dd");
    I Load the jar & the class into pl*sql
    then i add wrapped procedure
    PROCEDURE Test_Proc AS LANGUAGE JAVA
    NAME 'ExcelGenPackage.ExcelGenClass.Write_XLS()';
    when i call Test_Proc
    i got this exception
    Io exception: End of TNS data channel

    You will need to contact the source supplying this .jar file to find out if this is suitable to be run within the database (has it been tested successfully before) and if it is, what are the minimum DB requirements and the java requirements within the database for this to work correctly.

  • Same set of Records not in the same Data package of the extractor

    Hi All,
    I have got one senario. While extracting the records from the ECC based on some condition I want to add some more records in to ECC. To be more clear based on some condition I want to add addiional lines of data by gving APPEND C_T_DATA.
    For eg.
    I have  a set of records with same company code, same contract same delivery leg and different pricing leg.
    If delivery leg and pricing leg is 1 then I want to add one line of record.
    There will be several records with the same company code contract delivery leg and pricing leg. In the extraction logic I will extract with the following command i_t_data [] = c_t_data [], then sort with company code, contract delivery and pricing leg. then Delete duplicate with adjustcent..command...to get one record, based on this record with some condition I will populate a new line of record what my business neeeds.
    My concern is
    if the same set of records over shoot the datapackage size how to handle this. Is there any option.
    My data package size is 50,000. Suppose I get a same set of records ie same company code, contract delivery leg and pricing leg as 49999 th record. Suppose there are 10 records with the same characteristics the extraction will hapen in 2 data packages then delete dplicate and the above logic will get wrong. How I can handle this secnaio. Whether Delta enabled function module help me to tackle this. I want to do it only in Extraction. as Data source enhancement.
    Anil.
    Edited by: Anil on Aug 29, 2010 5:56 AM

    Hi,
    You will have to do the enhancement of the data source.
    Please follow the below link.
    You can write your logic to add the additional records in the case statement for your data source.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c035c402-3d1a-2d10-4380-af8f26b5026f?quicklink=index&overridelayout=true
    Hope this will solve your issue.

  • Hp-mkuri can't find support-type; hp can't write data; I can't print

    At work, I use an HP LaserJet 1320 over USB. This was working great - and with no particular fiddling needed to get it to work. However, I've started having some problems. I had some issues last Saturday but I thought it was a blip because it apparently randomly got over them and printed just fine. Today, however, I tried to print a 20 page PDF document using lp <filename> from the command line. The response of the printer was to repeatedly flash an orange warning light. The printer status just showed "Processing..." Three and a half hours later, the light was still going and the status was still "Processing...". Examining running processes, the lp process was running and so was pdftops. That is, hours later, it had still apparently not finished converting PDF to PS.
    The log files under cups don't show anything terribly interesting except that page_log contains:
    hp-LaserJet-1320-series user 259 [04/Apr/2012:16:38:28 +0100] 1 1 - localhost stocker-vap.pdf A4 two-sided-long-edge
    hp-LaserJet-1320-series user 259 [04/Apr/2012:16:38:29 +0100] 2 1 - localhost stocker-vap.pdf A4 two-sided-long-edge
    hp-LaserJet-1320-series user 259 [04/Apr/2012:16:38:31 +0100] 3 1 - localhost stocker-vap.pdf A4 two-sided-long-edge
    hp-LaserJet-1320-series user 259 [04/Apr/2012:16:38:32 +0100] 4 1 - localhost stocker-vap.pdf A4 two-sided-long-edge
    hp-LaserJet-1320-series user 259 [04/Apr/2012:16:38:34 +0100] 5 1 - localhost stocker-vap.pdf A4 two-sided-long-edge
    hp-LaserJet-1320-series user 259 [04/Apr/2012:16:38:36 +0100] 6 1 - localhost stocker-vap.pdf A4 two-sided-long-edge
    hp-LaserJet-1320-series user 259 [04/Apr/2012:16:38:37 +0100] 7 1 - localhost stocker-vap.pdf A4 two-sided-long-edge
    hp-LaserJet-1320-series user 259 [04/Apr/2012:16:38:39 +0100] 8 1 - localhost stocker-vap.pdf A4 two-sided-long-edge
    hp-LaserJet-1320-series user 259 [04/Apr/2012:16:38:40 +0100] 9 1 - localhost stocker-vap.pdf A4 two-sided-long-edge
    hp-LaserJet-1320-series user 259 [04/Apr/2012:16:38:42 +0100] 10 1 - localhost stocker-vap.pdf A4 two-sided-long-edge
    hp-LaserJet-1320-series user 259 [04/Apr/2012:16:38:43 +0100] 11 1 - localhost stocker-vap.pdf A4 two-sided-long-edge
    hp-LaserJet-1320-series user 259 [04/Apr/2012:16:38:45 +0100] 12 1 - localhost stocker-vap.pdf A4 two-sided-long-edge
    hp-LaserJet-1320-series user 259 [04/Apr/2012:16:38:46 +0100] 13 1 - localhost stocker-vap.pdf A4 two-sided-long-edge
    hp-LaserJet-1320-series user 259 [04/Apr/2012:16:38:48 +0100] 14 1 - localhost stocker-vap.pdf A4 two-sided-long-edge
    hp-LaserJet-1320-series user 259 [04/Apr/2012:16:38:50 +0100] 15 1 - localhost stocker-vap.pdf A4 two-sided-long-edge
    hp-LaserJet-1320-series user 259 [04/Apr/2012:16:38:51 +0100] 16 1 - localhost stocker-vap.pdf A4 two-sided-long-edge
    hp-LaserJet-1320-series user 259 [04/Apr/2012:16:38:53 +0100] 17 1 - localhost stocker-vap.pdf A4 two-sided-long-edge
    hp-LaserJet-1320-series user 259 [04/Apr/2012:16:38:54 +0100] 18 1 - localhost stocker-vap.pdf A4 two-sided-long-edge
    hp-LaserJet-1320-series user 259 [04/Apr/2012:16:38:56 +0100] 19 1 - localhost stocker-vap.pdf A4 two-sided-long-edge
    hp-LaserJet-1320-series user 259 [04/Apr/2012:16:38:57 +0100] 20 1 - localhost stocker-vap.pdf A4 two-sided-long-edge
    There are no errors reported at this time in the cups error log. The last entry is:
    E [04/Apr/2012:15:14:08 +0100] Unable to bind socket for address [v1.::1]:631 - Cannot assign requested address.
    There's a good chance that the system didn't have access to any printer at the time (except cups-pdf). I wasn't printing and I don't usually turn the printer on or connect it until I need it.
    access_log (I tried fiddling a little, turning the thing off, reinstalling the toner, blessing the paper...):
    localhost - - [04/Apr/2012:15:18:16 +0100] "POST / HTTP/1.1" 200 340 Create-Printer-Subscription successful-ok
    localhost - - [04/Apr/2012:16:36:03 +0100] "POST / HTTP/1.1" 401 244 CUPS-Get-Devices successful-ok
    localhost - root [04/Apr/2012:16:36:04 +0100] "POST / HTTP/1.1" 200 1343 CUPS-Get-Devices -
    localhost - - [04/Apr/2012:16:36:05 +0100] "POST /admin/ HTTP/1.1" 401 143 Resume-Printer successful-ok
    localhost - root [04/Apr/2012:16:36:05 +0100] "POST /admin/ HTTP/1.1" 200 143 Resume-Printer successful-ok
    localhost - - [04/Apr/2012:16:36:05 +0100] "POST /admin/ HTTP/1.1" 401 143 Resume-Printer successful-ok
    localhost - root [04/Apr/2012:16:36:05 +0100] "POST /admin/ HTTP/1.1" 200 143 Resume-Printer successful-ok
    localhost - - [04/Apr/2012:16:36:19 +0100] "POST /printers/hp-LaserJet-1320-series HTTP/1.1" 200 412 Create-Job successful-ok
    localhost - - [04/Apr/2012:16:36:19 +0100] "POST /printers/hp-LaserJet-1320-series HTTP/1.1" 200 1622566 Send-Document successful-ok
    localhost - - [04/Apr/2012:16:41:14 +0100] "POST /admin/ HTTP/1.1" 401 192 Pause-Printer successful-ok
    localhost - root [04/Apr/2012:16:41:14 +0100] "POST /admin/ HTTP/1.1" 200 192 Pause-Printer successful-ok
    localhost - - [04/Apr/2012:16:41:14 +0100] "POST /admin/ HTTP/1.1" 401 192 Pause-Printer successful-ok
    localhost - root [04/Apr/2012:16:41:14 +0100] "POST /admin/ HTTP/1.1" 200 192 Pause-Printer successful-ok
    localhost - - [04/Apr/2012:16:41:25 +0100] "POST / HTTP/1.1" 401 244 CUPS-Get-Devices successful-ok
    localhost - root [04/Apr/2012:16:41:25 +0100] "POST / HTTP/1.1" 200 479 CUPS-Get-Devices -
    localhost - - [04/Apr/2012:16:42:53 +0100] "POST / HTTP/1.1" 401 244 CUPS-Get-Devices successful-ok
    localhost - root [04/Apr/2012:16:42:53 +0100] "POST / HTTP/1.1" 200 1343 CUPS-Get-Devices -
    localhost - - [04/Apr/2012:16:42:53 +0100] "POST /admin/ HTTP/1.1" 401 143 Resume-Printer successful-ok
    localhost - root [04/Apr/2012:16:42:53 +0100] "POST /admin/ HTTP/1.1" 200 143 Resume-Printer successful-ok
    localhost - - [04/Apr/2012:16:42:53 +0100] "POST /admin/ HTTP/1.1" 401 143 Resume-Printer successful-ok
    localhost - root [04/Apr/2012:16:42:53 +0100] "POST /admin/ HTTP/1.1" 200 143 Resume-Printer successful-ok
    localhost - - [04/Apr/2012:16:43:49 +0100] "POST /printers/hp-LaserJet-1320-series HTTP/1.1" 200 412 Create-Job successful-ok
    localhost - - [04/Apr/2012:16:43:49 +0100] "POST /printers/hp-LaserJet-1320-series HTTP/1.1" 200 1622566 Send-Document successful-ok
    localhost - - [04/Apr/2012:20:16:17 +0100] "POST /admin/ HTTP/1.1" 401 192 Pause-Printer successful-ok
    localhost - root [04/Apr/2012:20:16:17 +0100] "POST /admin/ HTTP/1.1" 200 192 Pause-Printer successful-ok
    localhost - - [04/Apr/2012:20:16:17 +0100] "POST /admin/ HTTP/1.1" 401 192 Pause-Printer successful-ok
    localhost - root [04/Apr/2012:20:16:17 +0100] "POST /admin/ HTTP/1.1" 200 192 Pause-Printer successful-ok
    In /var/log itself, I found a whole bunch of errors in errors.log. This is a representative sample:
    Apr 4 16:36:00 localhost udevd[4704]: missing file parameter for attr
    Apr 4 16:36:02 localhost hp-mkuri: io/hpmud/model.c 625: unable to find [s{product}] support-type in /usr/share/hplip/data/models/models.da
    t
    Apr 4 16:37:13 localhost hp[8127]: io/hpmud/musb.c 1420: unable to write data hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324: 45 secon
    d io timeout
    Apr 4 16:37:58 localhost hp[8127]: io/hpmud/musb.c 1420: unable to write data hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324: 45 secon
    d io timeout
    Apr 4 16:41:23 localhost udevd[4704]: missing file parameter for attr
    Apr 4 16:41:24 localhost hp-mkuri: io/hpmud/model.c 625: unable to find [s{product}] support-type in /usr/share/hplip/data/models/models.da
    t
    Apr 4 16:41:27 localhost udev-configure-printer: no corresponding CUPS device found
    Apr 4 16:42:52 localhost udevd[4704]: missing file parameter for attr
    Apr 4 16:42:52 localhost hp-mkuri: io/hpmud/model.c 625: unable to find [s{product}] support-type in /usr/share/hplip/data/models/models.da
    t
    Apr 4 16:44:42 localhost hp[11104]: io/hpmud/musb.c 1420: unable to write data hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324: 45 seco
    nd io timeout
    Apr 4 16:45:27 localhost hp[11104]: io/hpmud/musb.c 1420: unable to write data hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324: 45 seco
    nd io timeout
    Apr 4 16:46:12 localhost hp[11104]: io/hpmud/musb.c 1420: unable to write data hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324: 45 seco
    nd io timeout
    Apr 4 16:46:57 localhost hp[11104]: io/hpmud/musb.c 1420: unable to write data hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324: 45 seco
    nd io timeout
    Apr 4 16:47:42 localhost hp[11104]: io/hpmud/musb.c 1420: unable to write data hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324: 45 seco
    nd io timeout
    Apr 4 16:48:27 localhost hp[11104]: io/hpmud/musb.c 1420: unable to write data hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324: 45 seco
    nd io timeout
    The last type of message fills a good many more lines. Some of the non-finding-device errors earlier are from me connecting and disconnecting the printer etc. I think. i.e. they are not why it isn't working.
    From user.log:
    Apr 4 14:23:58 localhost mtp-probe: checking bus 2, device 8: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1"
    Apr 4 14:23:58 localhost mtp-probe: bus: 2, device: 8 was not an MTP device
    Apr 4 15:27:18 localhost mtp-probe: checking bus 2, device 4: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1"
    Apr 4 15:27:18 localhost mtp-probe: bus: 2, device: 4 was not an MTP device
    Apr 4 16:36:01 localhost mtp-probe: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1"
    Apr 4 16:36:01 localhost mtp-probe: bus: 1, device: 4 was not an MTP device
    Apr 4 16:36:01 localhost logger: loading hp_printer_device 001 004
    Apr 4 16:36:02 localhost hp-mkuri: io/hpmud/model.c 625: unable to find [s{product}] support-type in /usr/share/hplip/data/models/models.dat
    Apr 4 16:36:05 localhost hp-check-plugin: [8068]: error: hp-systray must be running.
    Run 'hp-systray &' in a terminal.
    Apr 4 16:36:05 localhost hp-check-plugin: [8068]: error: Run hp-systray manually and re-plugin printer
    Apr 4 16:41:23 localhost mtp-probe: checking bus 1, device 5: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1"
    Apr 4 16:41:23 localhost mtp-probe: bus: 1, device: 5 was not an MTP device
    Apr 4 16:41:24 localhost logger: loading hp_printer_device 001 005
    Apr 4 16:41:24 localhost hp-mkuri: io/hpmud/model.c 625: unable to find [s{product}] support-type in /usr/share/hplip/data/models/models.dat
    Apr 4 16:41:24 localhost hp-check-plugin: [10933]: error: hp-systray must be running.
    Run 'hp-systray &' in a terminal.
    Apr 4 16:41:24 localhost hp-check-plugin: [10933]: error: Run hp-systray manually and re-plugin printer
    Apr 4 16:42:52 localhost mtp-probe: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1"
    Apr 4 16:42:52 localhost mtp-probe: bus: 1, device: 6 was not an MTP device
    Apr 4 16:42:52 localhost logger: loading hp_printer_device 001 006
    Apr 4 16:42:52 localhost hp-mkuri: io/hpmud/model.c 625: unable to find [s{product}] support-type in /usr/share/hplip/data/models/models.dat
    Apr 4 16:42:52 localhost hp-check-plugin: [11017]: error: hp-systray must be running.
    Run 'hp-systray &' in a terminal.
    Apr 4 16:42:52 localhost hp-check-plugin: [11017]: error: Run hp-systray manually and re-plugin printer
    I'm a bit confused by this. I don't usually use hp-systray (that I know of). That's the great thing about this printer - I just configured it all through the cups web interface with no need to use hp's printer setup tools or  to install any plugin - it didn't need one. But hp/hplip_ac.log says:
    [11017]: info: :hp-systray is not running.
    error: hp-systray must be running.
    Run 'hp-systray &' in a terminal.
    [11017]: info: :Device Plugin is not found
    error: Run hp-systray manually and re-plugin printer
    [11017]: info: :
    [11017]: info: :Done.
    And lpr.log:
    Apr 4 16:36:02 localhost udev-configure-printer: add /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0
    Apr 4 16:36:02 localhost udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1
    Apr 4 16:36:02 localhost udev-configure-printer: Device vendor/product is 03F0:1D17
    Apr 4 16:36:02 localhost udev-configure-printer: MFG:Hewlett-Packard MDL:hp LaserJet 1320 series SERN:- serial:00CNM1J04324
    Apr 4 16:36:05 localhost udev-configure-printer: SERN field matches USB serial number
    Apr 4 16:36:05 localhost udev-configure-printer: URI match: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324
    Apr 4 16:36:05 localhost udev-configure-printer: URI contains USB serial number
    Apr 4 16:36:05 localhost udev-configure-printer: URI match: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324
    Apr 4 16:36:05 localhost udev-configure-printer: URI of print queue: cups-pdf:/, normalized: cups pdf
    Apr 4 16:36:05 localhost udev-configure-printer: URI of detected printer: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:36:05 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:36:05 localhost udev-configure-printer: URI of print queue: dnssd://Dell%202330dn%20CFR._printer._tcp.local/, normalized: dnssd dell 2330dn cfr printer tcp local
    Apr 4 16:36:05 localhost udev-configure-printer: URI of detected printer: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:36:05 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:36:05 localhost udev-configure-printer: URI of print queue: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:36:05 localhost udev-configure-printer: URI of detected printer: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:36:05 localhost udev-configure-printer: Queue ipp://localhost:631/printers/hp-LaserJet-1320-series has matching device URI
    Apr 4 16:36:05 localhost udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/hp-LaserJet-1320-series
    Apr 4 16:36:05 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:36:05 localhost udev-configure-printer: Queue ipp://localhost:631/printers/hp-LaserJet-1320-series has matching device URI
    Apr 4 16:36:05 localhost udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/hp-LaserJet-1320-series
    Apr 4 16:36:05 localhost udev-configure-printer: URI of print queue: hp:/usb/HP_LaserJet_P3005?serial=CNFW6D5578, normalized: laserjet p3005 serial cnfw6d5578
    Apr 4 16:36:05 localhost udev-configure-printer: URI of detected printer: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:36:05 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:36:05 localhost udev-configure-printer: URI of print queue: hp:/usb/HP_LaserJet_P3010_Series?serial=VNBQC2323J, normalized: laserjet p3010 series serial vnbqc2323j
    Apr 4 16:36:05 localhost udev-configure-printer: URI of detected printer: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:36:05 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:41:14 localhost udev-configure-printer: remove /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1
    Apr 4 16:41:14 localhost udev-configure-printer: URI of print queue: cups-pdf:/, normalized: cups pdf
    Apr 4 16:41:14 localhost udev-configure-printer: URI of detected printer: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:41:14 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:41:14 localhost udev-configure-printer: URI of print queue: dnssd://Dell%202330dn%20CFR._printer._tcp.local/, normalized: dnssd dell 2330dn cfr printer tcp local
    Apr 4 16:41:14 localhost udev-configure-printer: URI of detected printer: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:41:14 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:41:14 localhost udev-configure-printer: URI of print queue: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:41:14 localhost udev-configure-printer: URI of detected printer: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:41:14 localhost udev-configure-printer: Queue ipp://localhost:631/printers/hp-LaserJet-1320-series has matching device URI
    Apr 4 16:41:14 localhost udev-configure-printer: Disabled printer ipp://localhost:631/printers/hp-LaserJet-1320-series as the corresponding device was unplugged or turned off
    Apr 4 16:41:14 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:41:14 localhost udev-configure-printer: Queue ipp://localhost:631/printers/hp-LaserJet-1320-series has matching device URI
    Apr 4 16:41:14 localhost udev-configure-printer: Disabled printer ipp://localhost:631/printers/hp-LaserJet-1320-series as the corresponding device was unplugged or turned off
    Apr 4 16:41:14 localhost udev-configure-printer: URI of print queue: hp:/usb/HP_LaserJet_P3005?serial=CNFW6D5578, normalized: laserjet p3005 serial cnfw6d5578
    Apr 4 16:41:14 localhost udev-configure-printer: URI of detected printer: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:41:14 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:41:14 localhost udev-configure-printer: URI of print queue: hp:/usb/HP_LaserJet_P3010_Series?serial=VNBQC2323J, normalized: laserjet p3010 series serial vnbqc2323j
    Apr 4 16:41:14 localhost udev-configure-printer: URI of detected printer: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:41:14 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:41:24 localhost udev-configure-printer: add /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0
    Apr 4 16:41:24 localhost udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1
    Apr 4 16:41:24 localhost udev-configure-printer: Device vendor/product is 03F0:1D17
    Apr 4 16:41:24 localhost udev-configure-printer: MFG:Hewlett-Packard MDL:hp LaserJet 1320 series SERN:- serial:00CNM1J04324
    Apr 4 16:41:27 localhost udev-configure-printer: no corresponding CUPS device found
    Apr 4 16:41:38 localhost udev-configure-printer: remove /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1
    Apr 4 16:42:52 localhost udev-configure-printer: add /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0
    Apr 4 16:42:52 localhost udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1
    Apr 4 16:42:52 localhost udev-configure-printer: Device vendor/product is 03F0:1D17
    Apr 4 16:42:52 localhost udev-configure-printer: MFG:Hewlett-Packard MDL:hp LaserJet 1320 series SERN:- serial:00CNM1J04324
    Apr 4 16:42:53 localhost udev-configure-printer: URI contains USB serial number
    Apr 4 16:42:53 localhost udev-configure-printer: URI match: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324
    Apr 4 16:42:53 localhost udev-configure-printer: SERN field matches USB serial number
    Apr 4 16:42:53 localhost udev-configure-printer: URI match: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324
    Apr 4 16:42:53 localhost udev-configure-printer: URI of print queue: cups-pdf:/, normalized: cups pdf
    Apr 4 16:42:53 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:42:53 localhost udev-configure-printer: URI of detected printer: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:42:53 localhost udev-configure-printer: URI of print queue: dnssd://Dell%202330dn%20CFR._printer._tcp.local/, normalized: dnssd dell 2330dn cfr printer tcp local
    Apr 4 16:42:53 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:42:53 localhost udev-configure-printer: URI of detected printer: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:42:53 localhost udev-configure-printer: URI of print queue: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:42:53 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:42:53 localhost udev-configure-printer: Queue ipp://localhost:631/printers/hp-LaserJet-1320-series has matching device URI
    Apr 4 16:42:53 localhost udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/hp-LaserJet-1320-series
    Apr 4 16:42:53 localhost udev-configure-printer: URI of detected printer: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:42:53 localhost udev-configure-printer: Queue ipp://localhost:631/printers/hp-LaserJet-1320-series has matching device URI
    Apr 4 16:42:53 localhost udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/hp-LaserJet-1320-series
    Apr 4 16:42:53 localhost udev-configure-printer: URI of print queue: hp:/usb/HP_LaserJet_P3005?serial=CNFW6D5578, normalized: laserjet p3005 serial cnfw6d5578
    Apr 4 16:42:53 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:42:53 localhost udev-configure-printer: URI of detected printer: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:42:53 localhost udev-configure-printer: URI of print queue: hp:/usb/HP_LaserJet_P3010_Series?serial=VNBQC2323J, normalized: laserjet p3010 series serial vnbqc2323j
    Apr 4 16:42:53 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 16:42:53 localhost udev-configure-printer: URI of detected printer: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 20:16:17 localhost udev-configure-printer: remove /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1
    Apr 4 20:16:17 localhost udev-configure-printer: URI of print queue: cups-pdf:/, normalized: cups pdf
    Apr 4 20:16:17 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 20:16:17 localhost udev-configure-printer: URI of detected printer: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 20:16:17 localhost udev-configure-printer: URI of print queue: dnssd://Dell%202330dn%20CFR._printer._tcp.local/, normalized: dnssd dell 2330dn cfr printer tcp local
    Apr 4 20:16:17 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 20:16:17 localhost udev-configure-printer: URI of detected printer: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 20:16:17 localhost udev-configure-printer: URI of print queue: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 20:16:17 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 20:16:17 localhost udev-configure-printer: Queue ipp://localhost:631/printers/hp-LaserJet-1320-series has matching device URI
    Apr 4 20:16:17 localhost udev-configure-printer: Disabled printer ipp://localhost:631/printers/hp-LaserJet-1320-series as the corresponding device was unplugged or turned off
    Apr 4 20:16:17 localhost udev-configure-printer: URI of detected printer: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 20:16:17 localhost udev-configure-printer: Queue ipp://localhost:631/printers/hp-LaserJet-1320-series has matching device URI
    Apr 4 20:16:17 localhost udev-configure-printer: Disabled printer ipp://localhost:631/printers/hp-LaserJet-1320-series as the corresponding device was unplugged or turned off
    Apr 4 20:16:17 localhost udev-configure-printer: URI of print queue: hp:/usb/HP_LaserJet_P3005?serial=CNFW6D5578, normalized: laserjet p3005 serial cnfw6d5578
    Apr 4 20:16:17 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 20:16:17 localhost udev-configure-printer: URI of detected printer: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 20:16:17 localhost udev-configure-printer: URI of print queue: hp:/usb/HP_LaserJet_P3010_Series?serial=VNBQC2323J, normalized: laserjet p3010 series serial vnbqc2323j
    Apr 4 20:16:17 localhost udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201320%20series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Apr 4 20:16:17 localhost udev-configure-printer: URI of detected printer: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1J04324, normalized: laserjet 1320 series serial 00cnm1j04324
    Could anyone advise me? I tried searching the forums but although I can find posts on issues similar to other printing problems I've had, I can't find any which look quite like this.

    I've figured out that this is happening only with certain pdf documents but I'm not sure why. (None contain pictures or diagrams or anything like that.)
    Printing a different pdf today, the behaviour is still very strange, though. Basically, I printed a 120 page pdf. Initially, it printed a bit. As far as the computer was concerned, the job was successfully completed. The printer flashed its lights. I pressed a button and it completed the first 56 pages. I then sent 57-120 to the printer. Again, it printed 57-something and then, again, nothing. Job done as far as the computer was concerned. Flashing lights on the printer. In the end, it took 4 or 5 jobs to finish the document.
    What's odd about this is that I usually have no problems at all with this printer and this isn't the first time I've sent it a large document.
    It is almost as though the computer sends stuff too fast or something for the printer or sends more than the printer can cope with at once. So when it has finished that bit, it waits for the next bit but the computer thinks it has sent the lot and no more is sent. I don't know if that is possible but that's what it "looks" like!

  • How to write data into a file

    Hi
    I want to write data from a string into a file. I am created a directory and a .doc file . But when i write this data from a string into .doc file , its give an error : File not found exception
    But, when i check in my directory, a file is created with blank.
    My code is:
    import java.io.*;
    import java.util.*;
    import java.lang.*;
    class createFile {
         public static void main(String[] args) {
    try {
         String mss = "This is for dedo";
         FileInputStream fis;
         FileOutputStream fos;
    File file = new File("C:\\JD\\m4.rtf");
    // Create file if it does not exist
    boolean success = file.createNewFile();
         success = true;
    if (success) {
                   System.out.println("suc");     
                   fis = new FileInputStream(mss);
                   System.out.println(fis);
              fos = new FileOutputStream(file);
              int c;
                   while ((c = fis.read()) != -1) {
         fos.write(c);
                   System.out.println("mss");
              fis.close();
              fos.close();
         System.out.println("created");
    // File did not exist and was created
    } else {
    // File already exists
    } catch (IOException e) {
         System.out.println(e);
    regards
    madhu

    InputStream inputStream = new ByteArrayInputStream(mss.getBytes());Use this to push into the file>
    Ummm.... no. InputStreams are for reading, not for writing.
    Anyway, OP, you're making a mistake. You're trying to open a stream to a file called "This is for dedo". Use FileOutputStream(File file) constructor or FileOutputStream(String pathToFile). You can then wrap that stream with a PrintWriter or whatever you need.

  • Exceptions in Substep:Rules Error

    Hi Friends,
    I am new to this portal and I seek you guys help to resolve the below error its very urgent.
    I have encountered an error while updating the data from PSA to Infocube i.e. Purchasing Data Cube 0PUR_C01 from the Data Source 2LIS_02_ITM in R3 extraction.
    The Error is-
    "Exceptions in Substep: Rules".
    "Messages for 101 data records saved: request is RED according to configuration."
    "Processing Terminated."
    Data Package2: Errors during processing.
    "RSDS 2LIS_02_ITM........."
    :Error- Messages for 60 records saved:request is Red according to configuration."
    Updating to Infocube 0PUR_C01
    "Error while updating to target 0PUR_C01(type Infocube)"
    "Messages for 41 data records saved:request is Red according to configuration."
    "Processing Terminated".
    The above in RED is the entire error.
    When I explored the error message to see the long text then following was appeared---
    " Run time error while executing rule-->see long text RSTRAN 301"
    Diagnosis
    An error occurred while executing a transformation rule: The exact error message is:
    The argument 'X' can not be interpreted as a number.
    The error was triggered at the following point in the program: GPCRTJMK2HFEFVHGT8LWAALN9K1    734
    System Response
    Processing the data record has been terminated.
    Procedure
    The following additional information is included in the higher-level node for the monitor:
    - Transformation ID
    -  Data record number of the source record.
    - Number and name of the rule which produced the error.
    Procedure for System Administration.
    Kindly anybody can help me out to resolve the above error and explain why this error occurred.
    Thanks
    Prasad

    Hi Prasad,
    This clearly says that error is in Routine in the transformation.
    Can you check the any routines maintained in the transformation? The issue is that some logic is performed in the routine and exceptions are not handled in it properly.
    Go to SE38 tcode and display program 'GPCRTJMK2HFEFVHGT8LWAALN9K1' and go to line 734. This should give you a hint of ABAP code which is not handled properly.
    Let me know your findings and then we can have further look.
    Thanks
    Amit

  • How to write data to an XML file present under application server

    frnds: can ne one tell me, how to write data in to a file, which is present under a application server
    Ex: i want to write a string data in to a file test.txt which is present under "http://localhost:8080/<some_webapp>/test.txt"
    Note:i have deploted a service<some_webapp> under Tomcat/webapps dir

    Very simple. A servlet can writes to that file if it has the good rights.
    In the servlet get (or post) method, use a code like this:
    import java.io.*;
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) {
    try {
    String filePath = this.getServletContext().getRealPath("/text.txt");//See http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/ServletContext.html#getRealPath(java.lang.String)
             PrintWriter writer = new PrintWriter (filePath);
            //or BufferedWriter out = new BufferedWriter(new FileWriter(filePath));
            writer .println("aString");
           writer.flush();
            writer .close();
        } catch (Exception e) {
           e.printStackTrace();
    }Hope That Helps

Maybe you are looking for

  • Using 1 public Windows 7 folder, how do multiple users share itunes music?

    I have 4 users on Windows 7 which use iTunes under the same Apple account. All of the music files are in the same public folder, but not listed in each each user's library. How can I have these music files automatically appear in each user's library?

  • Different Page Orientation in Single Report

    i am using Crystal Report XI Release 2. I am creating a report. First page i want to use Portrait Orientation and all remaining pages should have landscape. First page is cover letter which should only be in Portrait. I tried making this as sub-repor

  • Preview and DNG compatibility.

    Dear members; Yesterday I created my first DNG files as I plan to convert all my RAW images to this file system. After I converted my RAW images using Adobe's DNG Converter, I tried to open a few different files but Preview just kept crashing. My cam

  • Can i do Expression to keyframes and smooth via script?

    hi guys, who know AE scripts can translate expression to linear keyframes via script(now i use app.executeCommand(app.findMenuCommandId("Convert Expression to Keyframes")) ; command) but , for Comman work i must select every time property of layer(op

  • Upgrade from EBP 4.0 to SRM 5.0

    Hi y'all, We are thinking about upgrading from our current EBP 4.0 to SRM 5.0. We are only using EBP for the self-service procurement scenario - with a classic integration towards two different R/3 4.6C systems. We have no internal catalogs and it is