GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WEBDEV 2024
→
PDF print with custom papersize
PDF print with custom papersize
Iniciado por Lukas, nov., 29 2017 7:25 PM - 2 respostas
Conecte-se…
Lukas
#1
Publicado em novembro, 29 2017 - 7:25 PM
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 ?
Denunciar
0
0
Lukas
#2
Publicado em novembro, 30 2017 - 9:26 AM
iParameter returns in production -1
Denunciar
0
0
Lukas
#3
Publicado em novembro, 30 2017 - 12:12 PM
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.
Denunciar
0
0
→ Voltar para WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto