Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jul 2011
    Posts
    11
    Vote Rating
    0
    kim3er is on a distinguished road

      0  

    Default Unanswered: Bypassing Print Dialog

    Unanswered: Bypassing Print Dialog


    Hi,

    Is it possible with SDP to sending instructions to the default printer without first invoking a print dialog?

    Rich

  2. #2
    Sencha User
    Join Date
    Apr 2013
    Posts
    1
    Vote Rating
    0
    jardalu is on a distinguished road

      0  

    Default


    How does one even get the print dialog ? The following code just opens a window without the print dialog

    var docprint = window.open("about:blank", "_blank");
    docprint.document.open();
    docprint.document.write('<html><head><title>test</title>');
    docprint.document.write('</head><body><center>');
    docprint.document.write("hello world");
    docprint.document.write('</center></body></html>');
    docprint.document.close();
    docprint.print();
    docprint.close();

Thread Participants: 1

Tags for this Thread