<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ventanilla-Unica on LinuxmanR4</title><link>https://linuxmanr4.com/tags/ventanilla-unica/</link><description>Recent content in Ventanilla-Unica on LinuxmanR4</description><generator>Hugo -- gohugo.io</generator><language>es</language><copyright>LinuxmanR4</copyright><lastBuildDate>Sat, 01 Feb 2014 15:40:47 +0000</lastBuildDate><atom:link href="https://linuxmanr4.com/tags/ventanilla-unica/index.xml" rel="self" type="application/rss+xml"/><item><title>AppletFIEL.jar Missing required permissions manifest</title><link>https://linuxmanr4.com/2014/02/01/appletfiel-jar-missing-required-permissions-manifest/</link><pubDate>Sat, 01 Feb 2014 15:40:47 +0000</pubDate><guid>https://linuxmanr4.com/2014/02/01/appletfiel-jar-missing-required-permissions-manifest/</guid><description>&lt;p>Un usuario me reportó hoy en la mañana un problema al intentar abrir el sitio de &lt;a class="link" href="https://www.ventanillaunica.gob.mx/vucem/index.htm" target="_blank" rel="noopener"
>Ventanilla Única&lt;/a>
&lt;span style="white-space: nowrap;">&lt;svg width=".7em"
height=".7em" viewBox="0 0 21 21" xmlns="http://www.w3.org/2000/svg">
&lt;path d="m13 3l3.293 3.293l-7 7l1.414 1.414l7-7L21 11V3z" fill="currentColor" />
&lt;path d="M19 19H5V5h7l-2-2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-5l-2-2v7z"
fill="currentColor">
&lt;/svg>&lt;/span>
&lt;/p>
&lt;p>En el espacio donde se teclea el nombre de usuario y contraseña marca un error como este:&lt;/p>
&lt;figure>&lt;img src="https://linuxmanr4.com/wp-content/uploads/2014/02/SecurityException.png"
alt="Missing required permissions manifest attribute in main jar AppletFIEL.jar">&lt;figcaption>
&lt;p>Missing required permissions manifest attribute in main jar AppletFIEL.jar&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;blockquote>
&lt;p>“Missing required permissions manifest attribute in main jar AppletFIEL.jar”&lt;/p>&lt;/blockquote>
&lt;p>Siendo sincero, no soy fan de Java y mucho menos de sus aplicaciones en el gobierno de México, no son consientes de los temas de seguridad que implica tener estos programas en Java, pero en fin.&lt;/p>
&lt;p>Este problema aparece en las nuevas actualizaciones de Java, en el momento de escribir este artículo es la &lt;strong>Version 7 Update 51&lt;/strong>.&lt;/p>
&lt;p>Afortunadamente es sencillo solucionarlo, hay que ir al panel de control, buscar &lt;strong>El panel de configuración de Java&lt;/strong> y agregar la dirección &lt;strong>&lt;a class="link" href="https://www.ventanillaunica.gob.mx/" target="_blank" rel="noopener"
>https://www.ventanillaunica.gob.mx/&lt;/a>
&lt;span style="white-space: nowrap;">&lt;svg width=".7em"
height=".7em" viewBox="0 0 21 21" xmlns="http://www.w3.org/2000/svg">
&lt;path d="m13 3l3.293 3.293l-7 7l1.414 1.414l7-7L21 11V3z" fill="currentColor" />
&lt;path d="M19 19H5V5h7l-2-2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-5l-2-2v7z"
fill="currentColor">
&lt;/svg>&lt;/span>
&lt;/strong> (incluyendo https://) como una &lt;strong>Excepción de seguridad&lt;/strong> presionando el botón &lt;strong>Editar lista de sitios…&lt;/strong>.&lt;/p>
&lt;figure>&lt;img src="https://linuxmanr4.com/wp-content/uploads/2014/02/Lista-de-excepciones-de-sitios.png"
alt="Lista de excepciones de sitios">&lt;figcaption>
&lt;p>Lista de excepciones de sitios&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;p>Este problema se presenta por la nuevas políticas de seguridad en la nueva versión de Java así que puede ocurrir en cualquier otro sitio, no sólo en la Ventanilla Única, les paso el dato para que lo tomen en cuenta.&lt;/p>
&lt;h2 id="también-el-servicio-de-administración-tributaria">También el Servicio de Administración Tributaria
&lt;/h2>&lt;p>Conforme las personas vayan actualizando a la última versión de Java, este tipo de problemas va a ser más frecuente.&lt;/p>
&lt;p>Un amigo en facebook me comenta que también el &lt;a class="link" href="https://linuxmanr4.com/2022/04/21/obtener-la-constancia-de-situacion-fiscal-usando-la-aplicacion-sat-id/" >SAT&lt;/a>
esta presentando el mismo problema.&lt;/p>
&lt;figure>&lt;img src="https://linuxmanr4.com/wp-content/uploads/2014/02/Servicios-SAT.png"
alt="Servicios SAT">&lt;figcaption>
&lt;p>Servicios SAT&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;p>Así que si desean agregar el sitio:&lt;/p>
&lt;ul>
&lt;li>&lt;a class="link" href="https://www.servicios.sat.gob.mx/" target="_blank" rel="noopener"
>https://www.servicios.sat.gob.mx/&lt;/a>
&lt;span style="white-space: nowrap;">&lt;svg width=".7em"
height=".7em" viewBox="0 0 21 21" xmlns="http://www.w3.org/2000/svg">
&lt;path d="m13 3l3.293 3.293l-7 7l1.414 1.414l7-7L21 11V3z" fill="currentColor" />
&lt;path d="M19 19H5V5h7l-2-2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-5l-2-2v7z"
fill="currentColor">
&lt;/svg>&lt;/span>
&lt;/li>
&lt;/ul>
&lt;p>Como otra excepción no estaría de más.&lt;/p>
&lt;h2 id="comunicado-de-oracle-sobre-el-tema">Comunicado de Oracle sobre el tema.
&lt;/h2>&lt;ul>
&lt;li>&lt;a class="link" href="https://web.archive.org/web/20200925045933/https://www.java.com/en/download/help/java_blocked.xml" target="_blank" rel="noopener"
>Why are Java applications blocked by your security settings with the latest Java?&lt;/a>
&lt;span style="white-space: nowrap;">&lt;svg width=".7em"
height=".7em" viewBox="0 0 21 21" xmlns="http://www.w3.org/2000/svg">
&lt;path d="m13 3l3.293 3.293l-7 7l1.414 1.414l7-7L21 11V3z" fill="currentColor" />
&lt;path d="M19 19H5V5h7l-2-2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-5l-2-2v7z"
fill="currentColor">
&lt;/svg>&lt;/span>
&lt;/li>
&lt;/ul></description></item><item><title>Como generar documentos digitalizados para la ventanilla única</title><link>https://linuxmanr4.com/2012/10/26/documentos-para-la-ventanilla-unica/</link><pubDate>Sat, 27 Oct 2012 02:00:02 +0000</pubDate><guid>https://linuxmanr4.com/2012/10/26/documentos-para-la-ventanilla-unica/</guid><description>&lt;img src="https://linuxmanr4.com/wp-content/uploads/2012/10/Como-generar-documentos-digitalizados-para-la-ventanilla-unica.jpg" alt="Featured image of post Como generar documentos digitalizados para la ventanilla única" />&lt;p>Me han dado la tarea de averiguar como deben de ir formateados los documentos que se entregan en la &lt;a class="link" href="https://www.ventanillaunica.gob.mx/" target="_blank" rel="noopener"
>Ventanilla Única&lt;/a>
&lt;span style="white-space: nowrap;">&lt;svg width=".7em"
height=".7em" viewBox="0 0 21 21" xmlns="http://www.w3.org/2000/svg">
&lt;path d="m13 3l3.293 3.293l-7 7l1.414 1.414l7-7L21 11V3z" fill="currentColor" />
&lt;path d="M19 19H5V5h7l-2-2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-5l-2-2v7z"
fill="currentColor">
&lt;/svg>&lt;/span>
para generar un &lt;strong>Comprobante de Valor Electrónico&lt;/strong> o &lt;strong>COVE&lt;/strong>. ¡Ay caramba!, si ustedes no entendieron yo menos, pero en fin, trataré de simplificarlo.&lt;/p>
&lt;h2 id="requisitos">Requisitos.
&lt;/h2>&lt;p>La ventanilla única es un sitio del gobierno federal para hacer trámites relacionados con la importación, exportación y tránsito de mercancías de comercio exterior.&lt;/p>
&lt;p>Resulta que para poder entregar un documento digitalizado debe de cumplir con los siguientes requisitos:&lt;/p>
&lt;figure>&lt;img src="https://linuxmanr4.com/wp-content/uploads/2012/10/Requisitos-para-anexar-un-nuevo-documento.png">
&lt;/figure>
&lt;ul>
&lt;li>&lt;strong>Debe de ser en formato PDF que no contenga formularios, objetos OLE incrustados, código java script, etc.&lt;/strong> OK, este punto es más o menos claro, porque se pueden generar fácilmente archivos PDF con programas como &lt;a class="link" href="http://sourceforge.net/projects/pdfcreator/" target="_blank" rel="noopener"
>PDFCreator&lt;/a>
&lt;span style="white-space: nowrap;">&lt;svg width=".7em"
height=".7em" viewBox="0 0 21 21" xmlns="http://www.w3.org/2000/svg">
&lt;path d="m13 3l3.293 3.293l-7 7l1.414 1.414l7-7L21 11V3z" fill="currentColor" />
&lt;path d="M19 19H5V5h7l-2-2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-5l-2-2v7z"
fill="currentColor">
&lt;/svg>&lt;/span>
, más adelante la historia se complica un poco.&lt;/li>
&lt;li>&lt;strong>El tamaño máximo del archivo es de 3 MB.&lt;/strong>&lt;/li>
&lt;li>&lt;strong>No debe contener páginas en blanco&lt;/strong>.&lt;/li>
&lt;li>&lt;strong>Las imágenes contenidas deben de estar en escala de grises&lt;/strong> . Y aquí empiezan las confusiones, ¿Estamos hablando de un PDF o de una imagen?.&lt;/li>
&lt;li>&lt;strong>La resolución debe de ser 300 dpi.&lt;/strong> Este fue el punto que me dio más problemas, debe de ser exacto, no más, no menos, exactamente 300 dpi, cualquier variación hará que el documento sea rechazado.&lt;/li>
&lt;/ul>
&lt;h2 id="el-software">El software.
&lt;/h2>&lt;p>En mi caso utilizo un programa para generar el documento en formato PDF pero solamente para evitar la operación de imprimir el documento y luego escanearlo. En linux no hay problema, en windows mi favorito es el &lt;a class="link" href="http://sourceforge.net/projects/pdfcreator/" target="_blank" rel="noopener"
>PDFCreator&lt;/a>
&lt;span style="white-space: nowrap;">&lt;svg width=".7em"
height=".7em" viewBox="0 0 21 21" xmlns="http://www.w3.org/2000/svg">
&lt;path d="m13 3l3.293 3.293l-7 7l1.414 1.414l7-7L21 11V3z" fill="currentColor" />
&lt;path d="M19 19H5V5h7l-2-2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-5l-2-2v7z"
fill="currentColor">
&lt;/svg>&lt;/span>
que había mencionado anteriormente.&lt;/p>
&lt;p>Para editar las imágenes nada mejor que &lt;a class="link" href="http://www.gimp.org/downloads/" target="_blank" rel="noopener"
>gimp&lt;/a>
&lt;span style="white-space: nowrap;">&lt;svg width=".7em"
height=".7em" viewBox="0 0 21 21" xmlns="http://www.w3.org/2000/svg">
&lt;path d="m13 3l3.293 3.293l-7 7l1.414 1.414l7-7L21 11V3z" fill="currentColor" />
&lt;path d="M19 19H5V5h7l-2-2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-5l-2-2v7z"
fill="currentColor">
&lt;/svg>&lt;/span>
y &lt;a class="link" href="http://es.libreoffice.org/" target="_blank" rel="noopener"
>LibreOffice&lt;/a>
&lt;span style="white-space: nowrap;">&lt;svg width=".7em"
height=".7em" viewBox="0 0 21 21" xmlns="http://www.w3.org/2000/svg">
&lt;path d="m13 3l3.293 3.293l-7 7l1.414 1.414l7-7L21 11V3z" fill="currentColor" />
&lt;path d="M19 19H5V5h7l-2-2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-5l-2-2v7z"
fill="currentColor">
&lt;/svg>&lt;/span>
para generar nuevamente el PDF.&lt;/p>
&lt;h2 id="manos-a-la-obra">Manos a la obra.
&lt;/h2>&lt;h3 id="1-imprimir-el-documento-en-formato-pdf">1. Imprimir el documento en formato PDF.
&lt;/h3>&lt;p>Este paso solamente es para evitar imprimir el documento y escanearlo nuevamente. Con mi programa habitual genero el archivo en formato PDF, aqui no importan resoluciones ni colores, se hace de manera normal, se manda imprime el trabajo en la impresora virtual y como resultado me genera un archivo PDF.&lt;/p>
&lt;h3 id="2-gimp-entra-en-acción">2. Gimp entra en acción.
&lt;/h3>&lt;p>Como gimp puede abrir archivos en formato PDF, abriremos el documento generado en el paso anterior, pero al abrirlo le diremos que lo importe a &lt;strong>300 dpi&lt;/strong>, esto es muy importante. Si el documento tiene más de una página les sugiero que elijan la opción &lt;strong>Abrir páginas como imágenes&lt;/strong>.&lt;/p>
&lt;figure>&lt;img src="https://linuxmanr4.com/wp-content/uploads/2012/10/Importando-el-documento-PDF.png"
alt="Importando el documento PDF en Gimp">&lt;figcaption>
&lt;p>Importando el documento PDF en Gimp&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;p>A cada imagen abierta por Gimp vamos a ajustarlo a &lt;strong>Escala de grises&lt;/strong>, para lograrlo hacemos clien en el menú &lt;em>Imagen&lt;/em> - &lt;em>Modo&lt;/em> - &lt;em>Escala de grises&lt;/em>&lt;/p>
&lt;figure>&lt;img src="https://linuxmanr4.com/wp-content/uploads/2012/10/Escala-de-grises.png"
alt="Escala de grises">&lt;figcaption>
&lt;p>Escala de grises&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;p>Si todo sale bien, al presionar &lt;strong>Alt + Enter&lt;/strong> verán que la imagen editada tiene &lt;strong>300 dpi&lt;/strong> y tiene una profundidad de color de 8 bits o sea que esta en &lt;strong>Escala de grises&lt;/strong>.&lt;/p>
&lt;figure>&lt;img src="https://linuxmanr4.com/wp-content/uploads/2012/10/Resoluci%C3%B3n-y-Espacio-de-color.png"
alt="Resolución y Espacio de color">&lt;figcaption>
&lt;p>Resolución y Espacio de color&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;p>Exportamos el o los archivos en formato &lt;strong>JPG&lt;/strong>.&lt;/p>
&lt;h3 id="3es-el-turno-de-libreoffice">3.Es el turno de LibreOffice.
&lt;/h3>&lt;p>En Writer, abrimos un archivo en blanco y al cual le insertaremos cada una de las imágenes que generamos con gimp en el paso anterior con el menú &lt;em>Insertar&lt;/em> - &lt;em>Imagen&lt;/em> - &lt;em>A partir de archivo&lt;/em>.&lt;/p>
&lt;figure>&lt;img src="https://linuxmanr4.com/wp-content/uploads/2012/10/Insertar-im%C3%A1genes-en-writer.png"
alt="Insertar imágenes en writer">&lt;figcaption>
&lt;p>Insertar imágenes en writer&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;p>Y para terminar, vamos a exportar el PDF con el menú &lt;em>Archivo&lt;/em> - &lt;em>Exportar en formato PDF&lt;/em> . Es muy importante tener seleccionada la opción &lt;strong>Reducir resolución de imagen&lt;/strong> con &lt;strong>300 dpi&lt;/strong>.&lt;/p>
&lt;figure>&lt;img src="https://linuxmanr4.com/wp-content/uploads/2012/10/Opciones-para-exportar-a-PDF.png"
alt="Opciones para exportar a PDF">&lt;figcaption>
&lt;p>Opciones para exportar a PDF&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;p>Si todo salió bien, la ventanilla única no tendrá problemas en aceptar nuestro documento.&lt;/p>
&lt;figure>&lt;img src="https://linuxmanr4.com/wp-content/uploads/2012/10/Documento-aceptado.png"
alt="Documento aceptado">&lt;figcaption>
&lt;p>Documento aceptado&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;h2 id="aclaraciones">Aclaraciones.
&lt;/h2>&lt;p>Tengo que aclarar que estos son los pasos que uso, me funcionan, pero no quiere decir que sea la forma óptima, el procedimiento puede ser perfectible, si tienes alguna duda, comentario o sugerencia, no dudes en compartirlas con tu comentario.&lt;/p>
&lt;h2 id="quieres-intentarlo-con-imagemagick">¿Quieres intentarlo con ImageMagick?
&lt;/h2>&lt;p>Se me ocurrió que podría simplificar el procedimiento usando &lt;a class="link" href="https://imagemagick.org/" target="_blank" rel="noopener"
>ImageMagick&lt;/a>
&lt;span style="white-space: nowrap;">&lt;svg width=".7em"
height=".7em" viewBox="0 0 21 21" xmlns="http://www.w3.org/2000/svg">
&lt;path d="m13 3l3.293 3.293l-7 7l1.414 1.414l7-7L21 11V3z" fill="currentColor" />
&lt;path d="M19 19H5V5h7l-2-2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-5l-2-2v7z"
fill="currentColor">
&lt;/svg>&lt;/span>
un editor de imágenes en línea de comandos muy famoso y veterano en linux que también esta disponible en Windows.&lt;/p>
&lt;h3 id="obtener-un-documento-de-referencia">Obtener un documento de referencia.
&lt;/h3>&lt;p>Hice un documento siguiendo las instrucciones del artículo que menciono al principio. El objetivo es tener un documento para comparar mis experimentos.&lt;/p>
&lt;p>Me ayudé del paquete &lt;a class="link" href="https://web.archive.org/web/20250722010914/https://poppler.freedesktop.org/" target="_blank" rel="noopener"
>poppler&lt;/a>
&lt;span style="white-space: nowrap;">&lt;svg width=".7em"
height=".7em" viewBox="0 0 21 21" xmlns="http://www.w3.org/2000/svg">
&lt;path d="m13 3l3.293 3.293l-7 7l1.414 1.414l7-7L21 11V3z" fill="currentColor" />
&lt;path d="M19 19H5V5h7l-2-2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-5l-2-2v7z"
fill="currentColor">
&lt;/svg>&lt;/span>
y su comando &lt;strong>pdfimages&lt;/strong> para obtener las propiedades del pdf resultante.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-fallback" data-lang="fallback">&lt;span class="line">&lt;span class="cl">pdfimages -list pdf-referencia.pdf
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">page num type width height color comp bpc enc interp object ID x-ppi y-ppi size ratio
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">--------------------------------------------------------------------------------------------
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> 1 0 image 2077 2688 gray 1 8 jpeg no 4 0 300 300 1409K 26%
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Como pueden ver, es de tipo imagen, en escala de grises, con una resolución de 300x300 dpi, parece que todo esta bien con este documento de referencia.&lt;/p>
&lt;h3 id="lucubrando-el-comando">Lucubrando el comando
&lt;/h3>&lt;p>La idea con imagemagick es lograr esto:&lt;/p>
&lt;ol>
&lt;li>Convertir las imágenes a escala de grises y con una resolución de 300 dpi.&lt;/li>
&lt;li>Convertir la imagen a PDF&lt;/li>
&lt;li>Asegurarme de que el pdf también este a 300 dpi.&lt;/li>
&lt;/ol>
&lt;h3 id="primer-intento">Primer Intento
&lt;/h3>&lt;figure>&lt;img src="https://linuxmanr4.com/wp-content/uploads/2020/11/comando-imagemagick.jpg"
alt="Comando propuesto usando imagemagick.">&lt;figcaption>
&lt;p>Comando propuesto usando imagemagick.&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;p>Tomando lo anterior en cuenta, este es mi primer intento. Tomo una imagen a color que fue escaneada. Se convierte a escala de grises, se ajusta su resolución a 300 dpi y se convierte a pdf.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">convert -units PixelsPerInch img-color.jpg -type Grayscale -density &lt;span class="m">300&lt;/span> img-grayscale.pdf
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>pdfimages me da como resultado lo siguiente:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-fallback" data-lang="fallback">&lt;span class="line">&lt;span class="cl">pdfimages -list img-grayscale.pdf
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">page num type width height color comp bpc enc interp object ID x-ppi y-ppi size ratio
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">--------------------------------------------------------------------------------------------
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> 1 0 image 2315 3024 gray 1 8 jpeg no 8 0 300 300 176K 2.6%
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Como ven es muy similar a los resultados que obtengo con mi documento de referencia … peeeeroooo &amp;hellip;&lt;/p>
&lt;h3 id="las-pruebas">Las pruebas
&lt;/h3>&lt;p>Hace poco tuve un breve acceso al sito de la Ventanilla Única. No estoy seguro, pero parece que el requisito de que la imagen tenía que estar en escala de grises fue eliminado.&lt;/p>
&lt;p>Ahora lo importante es que cumpla con la &lt;strong>resolución de 300 dpi&lt;/strong> y que el PDF sea menor de &lt;strong>10 MB&lt;/strong>.&lt;/p>
&lt;p>Entonces el comando se simplifica un poco y quedaría así:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">convert -units PixelsPerInch img-color.jpg -density &lt;span class="m">300&lt;/span> img-grayscale.pdf
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>El PDF resultante fue aceptado sin problemas. Pero me gustaría hacer más pruebas.&lt;/p>
&lt;p>Si alguien quiere hacer las pruebas necesarias ¡Adelante! mejor si comparte sus resultados en los comentarios para saber si es necesario hacer más ajustes.&lt;/p>
&lt;p>¡Buena suerte!&lt;/p>
&lt;h2 id="enlaces">Enlaces
&lt;/h2>&lt;ul>
&lt;li>&lt;a class="link" href="https://www.ventanillaunica.gob.mx/vucem/index.htm" target="_blank" rel="noopener"
>Ventanilla Única&lt;/a>
&lt;span style="white-space: nowrap;">&lt;svg width=".7em"
height=".7em" viewBox="0 0 21 21" xmlns="http://www.w3.org/2000/svg">
&lt;path d="m13 3l3.293 3.293l-7 7l1.414 1.414l7-7L21 11V3z" fill="currentColor" />
&lt;path d="M19 19H5V5h7l-2-2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-5l-2-2v7z"
fill="currentColor">
&lt;/svg>&lt;/span>
&lt;/li>
&lt;li>&lt;a class="link" href="http://sourceforge.net/projects/pdfcreator/" target="_blank" rel="noopener"
>PDFCreator&lt;/a>
&lt;span style="white-space: nowrap;">&lt;svg width=".7em"
height=".7em" viewBox="0 0 21 21" xmlns="http://www.w3.org/2000/svg">
&lt;path d="m13 3l3.293 3.293l-7 7l1.414 1.414l7-7L21 11V3z" fill="currentColor" />
&lt;path d="M19 19H5V5h7l-2-2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-5l-2-2v7z"
fill="currentColor">
&lt;/svg>&lt;/span>
&lt;/li>
&lt;li>&lt;a class="link" href="http://www.gimp.org/downloads/" target="_blank" rel="noopener"
>gimp - GNU Image Manipulation Program&lt;/a>
&lt;span style="white-space: nowrap;">&lt;svg width=".7em"
height=".7em" viewBox="0 0 21 21" xmlns="http://www.w3.org/2000/svg">
&lt;path d="m13 3l3.293 3.293l-7 7l1.414 1.414l7-7L21 11V3z" fill="currentColor" />
&lt;path d="M19 19H5V5h7l-2-2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-5l-2-2v7z"
fill="currentColor">
&lt;/svg>&lt;/span>
&lt;/li>
&lt;li>&lt;a class="link" href="http://es.libreoffice.org/" target="_blank" rel="noopener"
>LibreOffice&lt;/a>
&lt;span style="white-space: nowrap;">&lt;svg width=".7em"
height=".7em" viewBox="0 0 21 21" xmlns="http://www.w3.org/2000/svg">
&lt;path d="m13 3l3.293 3.293l-7 7l1.414 1.414l7-7L21 11V3z" fill="currentColor" />
&lt;path d="M19 19H5V5h7l-2-2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-5l-2-2v7z"
fill="currentColor">
&lt;/svg>&lt;/span>
&lt;/li>
&lt;/ul></description></item></channel></rss>