FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WEBDEV 2024
→
PDF print with custom papersize
PDF print with custom papersize
Iniciado por Lukas, 29,nov. 2017 19:25 - 2 respuestas
Conéctese…
Lukas
#1
Publicado el 29,noviembre 2017 - 19:25
When setting the Paper size to "Custom" and print to pdf it takes always A4 for generating the pdf.
If I set the paper size to A3 or letter it works, the only problem is with "custom".
-> Windows Server 2016
What's wrong here ? Any ideas ?
Informar
0
0
Lukas
#2
Publicado el 30,noviembre 2017 - 09:26
iParameter returns in production -1
Informar
0
0
Lukas
#3
Publicado el 30,noviembre 2017 - 12:12
As a workaround setting up a printer which supports the custom page format and set it manually before printing does the trick:
iConfigure
(
"YourWindowsPrintername"
)
AFile
=
fWebDir
(
)
+
"\Test.pdf"
iDestination
(
iPDF
,
AFile
)
iPrintReport
(
RPT_Test
)
FileDisplay
(
AFile
,
"application/pdf"
)
Hopefully this helps someone out, instead of wasting hours.
Informar
0
0
→ Volver a WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto