How to acees printer information using JDMK

Hi,
plz send the code to access the printer using javacode
Thanks&regards,
kirankumar

Hi,
plz send the code to access the printer using javacode
Thanks&regards,
kirankumar

Similar Messages

  • How to tack print out use with Query ?

    Hi
    I have to tack purchase order print out (print details- PO date, BP code, name, item name, Quantity and Amount . System Print Layout means from Purchase Order layout designer) use with Query
    How to tack print out use with Query (system print layout means from  Purchase Order layout designer) ?
    Regards
    Aravind M

    Hi
    I have to take purchase order print out and I created 3 templates for that purchase order in layout designer (Because as per the MIS requirement I created 3 templates, its cover more information). I have to take print out 3 templates at a time. So i try to take print use with Query.
    Regards
    Aravind M

  • How do I locate information using a changed password?

    How do I locate information using a changed password?  I can not retreive info because couldn't remember my password.  Tried to change password and now I can't retrieve all my info.  Is it still there?

    8009220204 or *611 from your phone

  • How to get Listener Information using PL/SQL code

    How to get Listener Information using PL/SQL code

    user2075318 wrote:
    How to get Listener Information using PL/SQL codeThis approach (somewhat of a hack) can be used - but it does not really provide meaningful data at application layer.
    SQL> create or replace function TnsPing( ipAddress varchar2, port number default 1521 ) return varchar2 is
      2          type THexArray is table of varchar2(2);
      3          --// tnsping packet (should be 10g and 11g listener compatible)
      4          TNS_PING_PACKET constant THexArray := new THexArray(
      5                  '00', '57', '00', '00', '01', '00', '00', '00',
      6                  '01', '39', '01', '2C', '00', '00', '08', '00',
      7                  '7F', 'FF', '7F', '08', '00', '00', '01', '00',
      8                  '00', '1D', '00', '3A', '00', '00', '00', '00',
      9                  '00', '00', '00', '00', '00', '00', '00', '00',
    10                  '00', '00', '00', '00', '00', '00', '00', '00',
    11                  '00', '00', '00', '00', '00', '00', '00', '00',
    12                  '00', '00', '28', '43', '4F', '4E', '4E', '45',
    13                  '43', '54', '5F', '44', '41', '54', '41', '3D',
    14                  '28', '43', '4F', '4D', '4D', '41', '4E', '44',
    15                  '3D', '70', '69', '6E', '67', '29', '29'
    16          );
    17 
    18          socket  UTL_TCP.connection;
    19          txBytes number;
    20          rxBytes number;
    21          rawBuf  raw(1024);
    22          resp    varchar2(1024);
    23  begin
    24          socket := UTL_TCP.open_connection(
    25                          remote_host => ipAddress,
    26                          remote_port => port,
    27                          tx_timeout => 10
    28                  );
    29 
    30          --// convert hex array into a raw buffer
    31          for i in 1..TNS_PING_PACKET.Count loop
    32                  rawBuf := rawBuf || HexToRaw( TNS_PING_PACKET(i) );
    33          end loop;
    34 
    35          --// send packet
    36          txBytes := UTL_TCP.write_raw( socket, rawBuf, TNS_PING_PACKET.Count  );
    37 
    38          --// read response
    39          rxBytes := UTL_TCP.read_raw( socket, rawBuf, 1024 );
    40 
    41          UTL_TCP.close_connection( socket );
    42 
    43          --// convert response to varchar2
    44          resp := UTL_RAW.Cast_To_Varchar2( rawBuf );
    45 
    46          --// strip the header from the response and return the text only
    47          return( substr(resp,13) );
    48  end;
    49  /
    Function created.
    SQL>
    SQL> select tnsping( '10.251.93.30' ) as TNSPING from dual;
    TNSPING
    (DESCRIPTION=(TMP=)(VSNNUM=169869568)(ERR=0)(ALIAS=LISTENER))
    SQL> select tnsping( '10.251.95.69' ) as TNSPING from dual;
    TNSPING
    (DESCRIPTION=(TMP=)(VSNNUM=0)(ERR=0)(ALIAS=LISTENER))
    SQL>

  • How can I print without using Airprint

    How can I print without using Airprint - Can I assign a printer to the Ipod touch

    Go to the App store and purchase an appropriate app.  There are many apps that are for specific printer/printer manufacturers and general ones like Print Central.

  • How would I print information to a DOS window?

    Ok so I can get the DOS window running by using this code:
          try{
                       Runtime rt = Runtime.getRuntime();
                       Process child = rt.exec("cmd.exe /c start cmd.exe");
                       child.waitFor();
                   }catch(IOException io){}
                   catch(InterruptedException e) {}but I want to print the information from this code:
    StringBuffer objectString = new StringBuffer("");
    ////some code here//////
    objectString = new StringBuffer(("Customer:\t\t" + customerName + "\n"
                               + "Departure Date:\t" + departureDate + "\n"
                               + "Return Date:\t" + _returnDate));
    ////some code here/////
    objectString.append("\nAirline:\t\t" + airlineBG.getSelection().getActionCommand());
    objectString.append("\nDestination:\t" + destinationBG.getSelection().getActionCommand());
    /////more code. yay//////
    objectString.append("\nPrice:\t\t" + price);
    objectString.append("\nTicket Bought. Have a safe flight!");
    System.out.print(objectString.toString());//print string bufferso how would I print objectString to the DOS window?
    Note: opening the DOS window is in the constructor for the JFrame I am using while printing the StringBuffer is in the actionPerformed implementation.

    masijade. wrote:
    deadmanwalkin wrote:
    no, the program im supposed to be making asks to print ticket information to a DOS window.
    I might have interpreted it wrong and it could be just start from a DOS window using the java File commandWell, study your assignment text. If it does not explicitly state that you must programmatically open a new "DOS window", then simply print your output using System.out.println().Unless he's running Windows 95 still he can't even open a DOS window as there's no more DOS ;)

  • How to get printer IPAddress using java code

    Hi all,
    Can some one suggest in java
    1) how to get printer IPaddress
    2) send a printer job to a particular printer either by using printer name or by printer IPaddress ?

    Hi all,
    Can some one suggest in java
    1) how to get printer IPaddress
    2) send a printer job to a particular printer either by using printer name or by printer IPaddress ?

  • HT1918 How to delete billing information using iOS

    How do I delete billing information using iOS device

    you can't, you should use iTunes on a computer for this. log in, select 'account' and 'payment method/info'
    then you can select 'none' and save settings

  • How to bypass printer setting using abap code?

    Dear All,
    I want to bypass printer setting using abap code?
    I am printing sticker using a code and i dont want to display printer setting .
    I want direct ouput ?
    Regards
    Steve

    Are you using reports or scripts/smart forms? You can use the parameter for no_dialog = space(use the relevant parameter).

  • How do install printer IP1600 using Windows 7?

    Please, could anyone inform how to install a printer IP1600 when using Windows 7?
    Thanks in advance.
    Carlos

    I don't understand what you're asking. iOS 5.1 is the latest version of iOS that exists. If you have iOS 5.1 on your iPhone now and are trying to go back to an earlier version of iOS, that's not supported.
    If that's not what you mean, then you need to explain more clearly what it is you are trying to accomplish.
    Regards.

  • How do I print envelopes using Address Book?

    I am having trouble getting envelopes to print properly from Address Book in Lion.  I have specified size #10 envelpes.  When I print them, the text printed on successive envelopes moves further and further down the page until the address drops off of one envelop and is then printed at the top of the next envelope.  If I print to PDF, I see the same behavior.  I have an HP OfficeJet 7600 printer.
    Also, when I switched to size #9 envelopes without making any other changes, the envelopes were printed as though I had switched from portrait to landscape.
    Can anyone tell me how to fix these problems?  I am so disappointed because what looked like a really quick and easy way to print envelopes has now taken hours and I only have 3 remotely satisfactory envelopes printed and no hope of getting more other then to do them one by one.

    I have a similar problem too. I might be mistaken, but I think it creeped in when I "upgraded" to Lion and the foobarred the addressbook and who knows what else. It used to work just fine.
    I have had luck printing envelopes with the Ambrosia widget. Very nice and free, Give it a try.

  • How to write printing function using JSP?

    dear all,
    i want to add a printing function in my project but i do not know how to do it? could anyone teach me how to do it?
    thanks
    eric

    salut eric,
    you can do it this way :
    1 - create a html link in your code to this javascript
    function : (I am using Struts, but you can write it in
    pure html
    <html:link href="#bodyStart"
    onclick="openWindowForPrinting()"
    titleKey="msg.status.print">      <bean:message
    key='app.print' />
    <script language="JavaScript">
    <!--
    window.open = SymRealWinOpen;
    //-->
    </script>
    </html:link>
    >
    >
    2 - here is the javascript function : it open a window
    with the "print.jsp" page.
    function openWindowForPrinting(){
    window.open('/your_project/pages/common/print.jsp','',
    'left=150, top=150 , status=no, directories=no,
    toolbar=no, menubar=yes, location=no, scrollbars=yes,
    resizable=yes, dependant=yes');
    3 : here is the print.jsp page : You have only to
    create a session variable called
    "currentBodyRelativeLocation", which content the
    relative URL to the page you want to print (for
    example, the boby of the current page).
    <%@ taglib uri='/WEB-INF/tlds/perso.tld'
    prefix='perso' %>
    <html>
    <head>
    <perso:csslink page='${cssRelativeLocation}' />
    </head>
    <body onload="var SymTmpWinOpen = window.open; window.open = SymWinOpen; printPage();; window.open = SymTmpWinOpen;">
    <body>
    <jsp:include page="${currentBodyRelativeLocation}"/>
    </body>
    <script language="JavaScript">
    <!--
    window.open = SymRealWinOpen;
    //-->
    </script>
    </html>
    <script language='javascript'>
    function printPage(){
    window.print();
    window.close();
    </script>
    hai,
    i'm not very understand how is your code work. when i write html code, do i need to mind about this code: "msg.status.print" ? what is this code mean?
    i have too much question on this thing. would you mind to be further explain to me? or is it any reference for me to refer? i'm really new to write printing function on JSP.
    i never write this function before. i'm feel so lost.....:(
    thanks again
    eric

  • How to get channel information using RDA

    I'm attempting to build my VIs in such a way that I have the user only supply the channel names while trying to get the device number using "Get Channel Information.vi". I found the "Virtual Channel Configurator.vi" on this site, which is fairly close to what I wanted.
    However there is one problem, I can't get Get Channel Information to work using RDA channels (error -10003). Is there a reason, or better, a solution for this?

    Dear Justin,
    I am having a similar problem as in this thread, I am sending a screen
    shot of the program I am using.  I am using  LabView 8, NI
    DAQmx 8, PXI-6259 Meries card. It is a real time remote system and not
    connected to my computer on which I am making the programs.
    I want the pulses to appear on the output terminal that I choose, but
    when I browse in the counter1(s), the global virtual channels that I
    made in the remote system  icon in Max do not appear?
    how can I make them appear so I can send the pulse signal to that output termainal?
    thanx.
    Attachments:
    mypic.jpg ‏2305 KB
    mypic1.jpg ‏2305 KB

  • Does anyone know how to discard printer information from a report?

    Hello all,
    We've got several reports in which printer info is saved in the report.
    We would like to remove that info programmatically from the report.
    Does anyone how to do that and to save this modified info to the report?
    I would be pleased to be given a code example.
    I guess it should be something like the fragment below, but saving this to the report doesn't seem to be doable.
    printOptions.SavedDriverName = printOptions.DriverName = "DISPLAY";
    printOptions.SavedPortName = printOptions.PortName = string.Empty;
    printOptions.SavedPrinterName = printOptions.PrinterName = string.Empty;
    printOptions.PaperSize = CrPaperSizeEnum.crPaperSizeDefault;
    printOptions.PaperOrientation = CrPaperOrientationEnum.crPaperOrientationDefault;
    printOptions.PaperSource = CrPaperSourceEnum.crPaperSourceAuto;
    report.ReportClientDocument.PrintOutputController.ModifyPrintOptions(printOptions);
    report.ReportClientDocument.PrintOutputController.ModifyPrinterName(string.Empty);
    report.ReportClientDocument.PrintOutputController.ModifyPageMargins(0, 0, 0, 0);
    report.ReportClientDocument.PrintOutputController.ModifyPaperOrientation(CrPaperOrientationEnum.crPaperOrientationDefault);
    Thanks,
    Henk Spaan.

    Hello Henk,
    You could simply check the 'No Printer' option in the report.
    From designer check File --> Page Setup --> No Printer.
    Or do it programatically.
    http://scn.sap.com/community/crystal-reports-for-visual-studio/blog/2010/09/15/how-to-check-no-printer-on-a-crystal-report-using-the-ras-sdk-in-net
    - Bhushan
    Senior Engineer
    SAP Active Global Support
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Getting started and moving ahead with Crystal Reports .NET applications.

  • How to configure printer to use bypass tray when printing legal paper and envelopes?

    I have a new Phaser 3610. Tray 1 - contains Letter paperBypass Tray - Legal paper and sometimes envelopes How do I configure my printer to know when to use the bypass tray for legal paper when I that is what I want to print to from Excel?  In Excel, I have legal selected but it is still pulling the paper from tray 1 instead. I also print envelopes occasionally.  If I stick an envelopoe in the bypass tray, I want it to print from there like when using Word to create enveloples, instead it is pulling it from Tray 1. I have tried to adjust both settings on the Printer control panel and the Xerox printer software.  I have had no luck.

    Hi burnsey23,
    Thank you for using the Support Forum. Please take a look at the solution for using smaller paper in the bypass tray.  I know it says smaller but use the same steps for larger paper as well.  Also make sure that the orientation on Excel is set to the orientation that corresponds to the way the paper is loaded in the tray.  If this does not help please consider contacting your support centre for further assistance.

Maybe you are looking for

  • Yoga 2 13 - Fan speed goes almost silent in tablet mode

    I find that the fan generates too much noise on my Yoga 2 13 (not pro), even when the laptop is completely idle. It seems that somehow the temperature threshold for triggering the fan is set a bit too low (same problem seen on the lenovo yoga first v

  • Correlationid in ccBPM in stopped bpm's

    Hi, We use PI ccBPM to coordinate between several async services. Each service is called async and a deadline (timeout) is opened waiting for it to callback async. The receiver is configured with a correlation id so that the correct bpm context is re

  • Need to start JINI registrar instance from within the code

    HI All, I need to write JUnits for our app using JINI for which we need to start JINI registrar from within the code and then publish some services to it. Any idea how we could be starting the JINI registrar from Java Code ? Any thoughts/suggestions/

  • Pass in parameter to vb dll.

    Dear Java Guru, I need to pass in a String value from Java to VB dll. Say the vb dll has to function to accept the argument from Java. How do I pass in to the following say: //inside VB dll Public Function getValueFromJava(strValue As String) MsgBox

  • How to install CC updates

    Hi Eshant J Thanks but it is too complicated, a waste of time, and risky. And I agree with Cynglas saying : The admission that "the latest is not always the greatest" is candid and confirms my suspicions, but with a Cloud only updated subscription se