Un usuario preguntó 👇
¡Hola!
Obtuve su plugin y espero que funcione para mí. He asegurado una página web. Esa página contiene iFrame que contiene resultados de búsqueda en la base de datos. Solo quería imprimir el contenido del iFrame. Lo que he hecho hasta ahora es:
<div id="print_target">This is the simple print target for the page
[print-me target="#print_target"]
<iframe width='1300px' height='1000px' frameBorder='0' src='https://trunao.com/form/Sharelink/---------/embed'></iframe>
</div>
Lo que he hecho no está funcionando lo suficiente. Solo la información del encabezado de la base de datos aparece en la vista previa de impresión.
¿Me ayudarías a corregir mi código? En última instancia, quiero poder imprimir en PDF el contenido dentro del iFrame.
¡Gracias por tu ayuda!
buena voluntad,
Frederick
(@twinpictures)
Hace 4 meses, 3 semanas
Dos opciones 1. Dar más pausa antes de imprimir mientras usa el atributo pause_beofre_print o configurarlo globalmente en la configuración del plugin.
2. Hay una reescritura completa del plugin que debería funcionar mucho mejor para usted. Puede descargar e instalar manualmente la actualización desde GitHub Repo:
https://github.com/baden03/print-o-matic/tree/2.0-redo
(@ frederickd1958)
Hace 4 meses, 3 semanas
¡Gracias por el rompecabezas!
El plugin 2.0.alpha funcionó muy bien. Ahora obtengo el contenido del iFrame y no solo el encabezado. ¡Muy bien!
¿Tiene alguna sugerencia sobre cómo personalizar un poco la salida? Solo obtengo la mitad de las columnas. Reduje el tamaño de algunas columnas e hice un ajuste de palabras para obtener más ‘bienes raíces’ en el iFrame. Todavía no todos están impresos. ¿Hay alguna forma de utilizar una fuente más pequeña para la salida? Eso podría ayudarme a comprimir las capas para que quepan en una hoja horizontal de 8.5 × 11.
¡Gran apoyo! Gracias.
(@twinpictures)
Hace 4 meses, 3 semanas
las versiones 2.0 utilizan el CSS de impresión estándar:
@media print {
}
Enseñar CSS es un poco más que el apoyo que podemos brindar aquí, pero aquí hay algunos recursos que debe señalar en la dirección correcta:
https://www.smashingmagazine.com/2011/11/how-to-set-up-a-print-style-sheet/
https://www.smashingmagazine.com/2018/05/print-stylesheets-in-2018/
https://www.jotform.com/blog/css-perfect-print-stylesheet-98272/
(@ frederickd1958)
Hace 4 meses, 3 semanas
Por cierto… ElegantThemes.com para Divi Builder me dio este código CSS para la página. El efecto es que el icono de impresión y el texto ya no se imprimen.
font @media {cuerpo .et_pb_section: not (.et_pb_section_1) {display: none; } # encabezado principal, pie de página {display: none; } div # print_target> *: not (iframe) {display: none; }}
Solo quería pasar eso también.
Frederick
Esta respuesta fue modificada hace 4 meses, 3 semanas por.
(@ frederickd1958)
Hace 4 meses, 3 semanas
No vi tu respuesta antes de escribir la mía. Gracias por los artículos de referencia. La cabeza https://www.jotform.com/blog/css-perfect-print-stylesheet-98272/ Parece lo que necesito.
¡Excelente! Gracias.
Frederick
Esta respuesta fue modificada hace 4 meses, 3 semanas.
¿Solucionó tu problema??
0 / 0
Hope this finds you well,
Fact: Roughly 68% of the population never experiences tinnitus, no matter if they have been exposed to loud workplaces or other ear-harmful environments.
This has drawn the attention of a small group of European researchers who have recently published their astounding discoveries…
Check here: https://compressl.ink/tinnituscure
They have found the nucleic acid which makes some immune to developing tinnitus and how everybody can activate it in a matter of months, possibly even weeks…
This is fresh-out-of-the-box info that you won’t find anywhere else but in their short documentary.
Check now here: https://compressl.ink/tinnituscure
How to stop weird sounds in 3 easy steps.
Stay healthy,
Dorian
If you’d like to unsubscribe click here https://compressl.ink/website-opt-out/
333 Summer Street, Delaware. Privacy Policy. Anti-spam Policy.
©2024 Compressl.Ink, Inc.
Hello!
Did you hear about the unusual rice method that liquifies fat cells as you sleep?
Clinical studies confirm just 30 secs of this simple rice technique boosts calorie burning and fat-dissolving by over 326%, that’s more calories than 45 mins running!
Try it for yourself now: https://bit.ly/ExoticRiceLiquifiesFatCells
Before you go to sleep tonight, try it for yourself…
>>> 1 Unusual Rice Method That Liquifies Fat As You Sleep
Don’t waste another second on:
X— Fad diets that are impossible to enjoy…
X— Gym memberships or fitness apps…
X— Calorie counting
Instead, just try this one easy fat-dissolving rice method before you sleep tonight and drop lbs of stubborn fat by morning.
Check it now: https://bit.ly/ExoticRiceLiquifiesFatCells
To your health,
Dorian
If you’d like to unsubscribe click here https://compressl.ink/website-opt-out/
333 Summer Street, Delaware. Privacy Policy. Anti-spam Policy.
©2024 Compressl.Ink, Inc.
Far from being a harmless nuisance, tinnitus has been linked to memory loss, hearing loss and dementia…
But did you know it actually physically wipes 1% of your memories every month, attacking the brain in the most violent way?
Forcing it to endure that constant ringing leads to the widespread death of your neurons, most of which are located in key areas of your brain, such as your hippocampus.
That’s the part of your brain that’s tasked with forming and storing episodic memories.
Without it, you will be unable to create new memories with your family or friends.
Click Here To Find Out How To Save Your Brain And Your Memories Today! https://compressl.ink/tinnituscure
Stay healthy,
Dorian
If you’d like to unsubscribe click here https://compressl.ink/website-opt-out/
333 Summer Street, Delaware. Privacy Policy. Anti-spam Policy.
©2024 Compressl.Ink, Inc.
Hi!
If you haven’t heard how a delicious Costa Rican tea is helping thousands of people melt over 6 pounds per week, this email is for you!
Check here: https://bit.ly/49PbgXb
Because I will share a story from Linda, a 56 years old lady who used this tea to go down from 210 pounds to under 150 in just 3 months.
She is now 149lbs and looks amazing!
Read her story below!
«Hi, I’m Linda and I’m 56 years old.
I am sharing my story because I am really proud of the fact that I was able to lose my first 50 pounds without any workouts or dieting.
Anyway, since starting a family 20 years ago I’ve struggled with my weight.
I knew having a child would leave me with a few extra pounds…
But I didn’t realize how hard it would be to stay in shape as a mother… I mean even for a tall woman like me…
It only dawned on me recently how bad things were when I was told by Doctor that my blood sugar is too high and that I might develop diabetes…
Given the less-than-active lifestyle I had, it shouldn’t have been a big surprise.
But the news made me really scared of course.
And when I thought about all the health problems it could lead to, I became terrified.
I started making small changes: reducing my portion size, trying to cut out the snacks, and even tried a few workouts.
But when the current global situation came along, I got so stressed and worried I began to comfort eat.
I know this was the worst thing I could have done, but in my head, I kept justifying it. Certain things were beyond my control after all.
Plus, what else could I do?
Gyms were closed, and I never enjoyed working out in the park as everyone was always staring at me…
A friend of mine told me about how she was losing 8 pounds a week by drinking a few cups of Costa Rican tea every day, but I didn’t believe her!
But then I came across a story on Facebook about a woman who was a little older than me and had lost over 100 pounds with the same Costa Rican tea.
So, I decided to get the recipe and start drinking a few cups of tea every day!
Go Here To Get The Costa Rican Tea Recipe & Lose 6Lbs A Week!
But just to be sure, I managed to get a video call with my Doctor. I shared the tea specifications and ingredients with him and he told me it looked perfect for me to try.
And that’s exactly what I did!
The first thing I noticed was the fact that I became full of energy and I was able to control my urges to comfort eat.
In fact, after drinking the tea in the morning, I was not hungry anymore.
In the first few weeks I was able to lose almost 2 inches off my waistline and more than 10 pounds without having to diet or exercise.
Having regained control over my eating and having seen that something is finally working, gave me a big confidence boost too, which helped me get a promotion at my job.
I continued drinking a few cups of tea every day and I decided to start eating healthier.
Instead of pizza I went for grilled chicken with some vegetables, and so on… and after 10 weeks I had lost 50 pounds.
I was feeling amazing, plus I was slowly getting toned as well.
In the next 30 days I lost an additional 10 pounds and my body completely changed as I started to develop an attractive shape.
I really think everyone should try the Costa Rican tea because it was a huge help for me!»
Go Here To Get The Costa Rican Tea Recipe & Lose 6Lbs A Week!
https://bit.ly/49PbgXb
To your best health!