Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

182
Views
Sugerencia para imprimir contenido en Chrome y Edge

Hola, estamos usando el siguiente código para imprimir en el navegador IE

 function ieExecWB( intOLEcmd, intOLEparam ) { try { // Create OLE Object var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>'; // Place Object on page document.body.insertAdjacentHTML('beforeEnd', WebBrowser); //to handle the runtime errors if printer is not connected oldHandler = window.onerror; // if intOLEparam is not defined, set it if ( ( ! intOLEparam ) || ( intOLEparam < 2 ) || ( intOLEparam > 2 ) ) intOLEparam = 2; // Execute Object WebBrowser1.ExecWB(intOLEcmd, intOLEparam); // Destroy Object WebBrowser1.outerHTML = ""; window.onerror = oldHandler; }catch(vException){ return; } }//end of ieExecWB()
 window.parent.frames.item('frameLeft').document.close(); window.parent.frames.item('frameLeft').focus(); document.frmBD0103.hdnPrnCookie.value = ""; ieExecWB(6,PRINT_WITHOUT_PROMPT); window.parent.frames.item('frameLeft').document.open(); window.parent.frames.item('frameLeft').document.write("Left Frame....."); window.parent.frames.item('frameLeft').document.close();

Ahora estamos cambiando el navegador de IE a Edge y Chrome.

¿Podría sugerir la mejor manera de usar la funcionalidad anterior en el navegador Chrome y Edge?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!