Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

933
Vistas
Preview PDF file in a HTML modal, then print to a paper size using PHP or JS

I need some php or javascript script first to display a PDF file in a HTML modal (client browser) and then to print a PDF file from html modal (client browser) to a standard paper size thermal printer whose dimensions (left, margin, top, bottom margin will be hardcoded)

Output result is to print a receipt for restaurant order on a thermal printer or order receipt (PDF file) could also be sent to email. I already have a script that generates order as a PDF file and save it on a server and attaches to a email then sent. I just need php or javascript script to display PDF file as a preview in a html modal and then to let client print the order receipt to a thermal printer.

How can I achieve this?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

A similar question to this one has been asked before on stackoverflow. Check this link if you want.

At least you can get detailed information about viewing pdf file in html

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda