Without waiting for an answer, I found a workaround for this: pdftk will rotate any landscape documents "1-endwest", so they are printed as usual.
If anyone here is interested in the code, you're welcome of course :) Regards Rolf Am 30.11.2015 12:24, schrieb Rolf-Werner Eilert: > Gambas can produce landscape A4 PDF documents. > > I have three PDF viewers, and they show and print these documents as > landscape. No problem. > > Now I tried to send these PDFs to the printer from the Gambas program > via Exec and lp or kprinter, but it doesn't print landscape. Commandline > directly the same. > > Has anyone here had this problem and knows a way to solve this problem? > What might be wrong in these documents that the pdf viewers see > landscape, and the printer does not? > > (One workaround might be to call a pdf-viewer in case of landscape and > let the user print from there, but it's really just a workaround) > > Regards > Rolf > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user