Salut Benoît, seen on qt4 : if you change the printer target to .pdf or .ps file, the <printer>.paper switches to 0 = Custom, was 2 = A4 before.
Same if you change it by code <printer>.OutputFile="/tmp/myOutputFile.pdf" The Landscape is printed on Portrait Orientation. -- Amicalement Charlie [System] OperatingSystem=Linux Kernel=3.0.0-31-generic Architecture=x86 Distribution=Ubuntu 10.04.4 LTS Desktop=GNOME Theme=QPlastique Language=de_DE.UTF-8 Memory=3026M [Libraries] GStreamer=libgstreamer-0.10.so.0.24.1 GTK+=libgtk-x11-2.0.so.0.2000.1 Poppler=libpoppler.so.5.0.0 Qt4=libQtCore.so.4.6.2 SDL=libSDL-1.2.so.0.11.3 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user