lunes, 23 de octubre de 2023

Cómo generar archivos PDF a partir de HTML

Una opción es wkhtmltopdf pero es a través de línea de comando y plantea problemas de implementación en sitios web y sobre todo en la nube.

Creación de archivo PDF en C# a partir de un archivo HTML (sin crystal report, sin itextsharp)

El resto son librerías, la mayoría pagas.


Las únicas de código libre son:

iTextSharp

- pdfSharp

- pdfSharpCore


Dentro de las librerías licenciadas están:

- IRONPDF

- DynamicPDF




jueves, 28 de septiembre de 2023

No funciona "Submit" desde PDF cuando se levanta con Microsoft Edge

 

Submit button doesn't work in PDF file when opened in Edge.

Microsoft Edge: directivas


Soluciones alternativas:

  1. Utilizar componentes de terceras partes - PDF.JS EXPRESS

  1. Modificar circuito de firma en PADs de firma
    1. Al iniciar el circuito hacer un download de un nuevo PDF con datos actualizados.
    2. Editar y grabar el PDF en la PC cliente (Acrobat Reader)
    3. Nuevo botón para subir y reanudar proceso de firma digital.
    4. Al subir el documento, del lado del servidor, leer los campos modificados y actualizar los datos correrspondientes (xml).
    5. Luego continuar el proceso de firma a través del PAD de firma.



viernes, 22 de septiembre de 2023

Editor de PDFs

 Realizamos una búsqueda de herramientas que nos permitan mostrar y editar archivos PDF desde nuestras aplicaciones.

Palabras clave: 

  • pdf viewer
  • read pdf form field values
  • javascript read pdf form field values
  • get filled pdf form data


PDF.js

Manually Download & integrate PDF.js Express Plus

PDF.js Form Filling Library:  Let your users fill and submit PDF forms directly in your PDF.js application.

Support forms with PDF.js Express: Express Web Viewer provides support for interactive forms which are a collection of fields for gathering information interactively from the user.

PDF.js Express benefits include:

  • Fill PDF Forms
  • Read PDF form field values
  • Form field name management
  • Create new form fields
  • Support for JavaScript calculation in forms

Major features of PDF.js Express Web Viewer form support:

  • Rendering of the form field widgets as from the original PDF document
  • Dynamic data entry into form field widgets
  • Loading and saving of form field data
  • Support for a number of form actions, including embedded JavaScript
  • Programmatic access to form field data, values and child widgets via the Annotations.Forms.FieldManager class

StackOverflow - pdfjs: Fill out a form and get the fieldValues



miércoles, 1 de marzo de 2023

Generadores de código

 Las siguientes son alternativas al conocido generador de código CodeSmith:


Telosys

Telosys allows to generate code for any kind of language (Java, Python, PHP, JavaScript, C#, HTML, Scala, Go, etc) with any kind of framework (AngularJS, JPA, Spring MVC, etc)


T4Editor

Devart T4 Editor is a powerful Visual Studio add-in for editing T4 templates with syntax highlighting, intellisense, code outlining, and all features of a first-class text editor add-in for Visual Studio. It provides very high performance and makes creating T4 templates easier and faster. As well as ensuring extremely high level of performance, it also speeds up and facilitates the creation of T4 templates.


T4Awesome

A visual studio extension for using T4 templates to create reusable scaffolding code. Discover the awesome power of T4 Templates, Did you know that Visual Studio has a full code generation framework built right in? It’s called T4 (Text Template Transformation Toolkit)


MyGeneration

The free Code Generator / OR Mapping Tool the competition doesn't want you to know about. MyGeneration's dOOdads Architecture Included for Both C# and VB.NET (Quickstart).
Supported Architectures - dOOdads, EntitySpaces, EasyObjects.NET/EntLib, Gentle.NET, Opf3, NHibernate, Microsoft's DAAB, DotNetNuke, iBatis.
Support for Twelve Different Database Systems. Microsoft SQL, Oracle, IBM DB2, PostgreSQL, Microsoft Access, FireBird, Interbase, VistaDB, SQLite, MySQL, Advantage and Pervasive Template Based Code Generator Supporting Four Template Languages - JScript, VBScript, C# and VB.NET
Ability to Create Your Own Embedded User Interface in your Templates
Online Template Library for Publishing and Downloading Templates

viernes, 6 de enero de 2023

Servidor Privado Virtual (VPS)

 Estos son los proveedores locales que hemos estado evaluando:


1 - Hostinger  --> NO tienen para WINDOWS

VPS4 ($3000 x mes)

  • 4 núcleos
  • 4 GB RAM
  • 80 GB SSD
  • 4 TB (ancho de banda)
  • Respaldos semanales
  • IP dedicada


2 - DonWeb

Precio: $3.100 - 4 núcleos, 4 GB RAM, 40 GB SSD, 3 TB (ancho de banda)
Precio: $5.900 - 8 núcleos, 8 GB RAM, 50 GB SSD, 5 TB (ancho de banda)
Respaldos semanales, IP dedicada.