Printing Multiple Jobs in Applets using java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aishu
    New Member
    • Jul 2007
    • 1

    #1

    Printing Multiple Jobs in Applets using java

    [CODE=java]int totalfob = 0;
    int totalimpDuty = 0;
    int totalExDuty = 0;
    int totalothers = 0;
    String JobNO = "1001063276 ";// (String) arr.get(0);
    // String JobNO2 = "8502726341 ";
    String Agent = "BF0651";// (String) arr.get(1);
    String Form = "K1";// (String) arr.get(2);
    Connection conn = null;
    Statement objState = null;
    String FREIGHT = "";
    String INSURANCE = "";
    String FOB_VALUE = "";
    String FRI_EX_RATE = "";
    String INSU_EX_RATE = "";
    String FOB_EX_RATE = "";
    String FRI_CCODE = "";
    String INSU_CCODE = "";
    String FOB_CCODE = "";
    String DECLARANT_DESIG = "";
    String DECLARANT_IC = "";
    String DECLARANT_NAME = "";
    String INVOICE_NO = "";
    String countryOfOrigin = "";
    String TotDutPayable = "";
    ArrayList itemarr=new ArrayList();[/CODE]

    this is the sample code iam sending u.from my printer i written only one job to print but i want to print multiple jobs in my printer how can i write code for this using applets in java.


    my mail id is<removed by admin>

    Let me know can any on help me in this matter.

    if u mail me it will be very useful for me.
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by aishu
    [CODE=java]int totalfob = 0;
    int totalimpDuty = 0;
    int totalExDuty = 0;
    int totalothers = 0;
    String JobNO = "1001063276 ";// (String) arr.get(0);
    // String JobNO2 = "8502726341 ";
    String Agent = "BF0651";// (String) arr.get(1);
    String Form = "K1";// (String) arr.get(2);
    Connection conn = null;
    Statement objState = null;
    String FREIGHT = "";
    String INSURANCE = "";
    String FOB_VALUE = "";
    String FRI_EX_RATE = "";
    String INSU_EX_RATE = "";
    String FOB_EX_RATE = "";
    String FRI_CCODE = "";
    String INSU_CCODE = "";
    String FOB_CCODE = "";
    String DECLARANT_DESIG = "";
    String DECLARANT_IC = "";
    String DECLARANT_NAME = "";
    String INVOICE_NO = "";
    String countryOfOrigin = "";
    String TotDutPayable = "";
    ArrayList itemarr=new ArrayList();[/CODE]

    this is the sample code iam sending u.from my printer i written only one job to print but i want to print multiple jobs in my printer how can i write code for this using applets in java.


    my mail id is<removed by admin>

    Let me know can any on help me in this matter.

    if u mail me it will be very useful for me.
    1.) Please use code tags when posting code (like the ones I've added for you there)
    2.) Do not post your email ID in the public forums. (It's against site rules)
    3.) I don't see where the code you've posted has anything to do with the problem you're explaining. Have you gone through sun's printing tutorial?

    Comment

    Working...