Le forum (ô combien francophone) des utilisateurs de Powerbuilder.
Bonjour,
Dans une fenêtre j'ai une liste box avec différentes échelles d'impression,
sur certains postes je n'ai pas de problème d'impression mais sur 2 postes
Je n'arrive pas à imprimer avec l'échelle que je veux, il m'impreime toujours à 100 %
ci dessous le script utilisé, quelqu'un aurait une piste ?
String ls_printscale ls_printscale = ddlb_printscale.Text DW_1.Modify("DataWindow.Print.scale=" + ls_printscale) DW_1.Print()
Dernière modification par pkhayat (29-11-2007 15:47:31)
Hors ligne
Salut
Tu as essayé avec
DW_1.Modify("DataWindow.zoom=" + string(li_zoom)) DW_1.Print()
Hors ligne
Salut, peut-être un problème de drivers sur certains postes ? (versions différentes?)
Scale An integer specifying the scale of the printed output as a percent.The scaling percentage is passed to the print driver. If you have problems with scaling, you might be using a driver that does not support scaling.The user can specify the value in the system's Print dialog box if the printer driver supports it.For more information, see your print driver documentation.
Hors ligne
Ca a l'air de marcher,
je te remercie.
A+
Hors ligne
Merci de mettre dans le titre du premier message [RESOLU]
Hors ligne