[Lazarus] Landscape printing problem

Jesus Reyes jesusrmx at yahoo.com.mx
Wed Sep 17 20:21:24 CEST 2008




--- El mié 17-sep-08, Jon Foster <jon-lists at jfpossibilities.com> escribió:

> De:: Jon Foster <jon-lists at jfpossibilities.com>
> Asunto: [Lazarus] Landscape printing problem
> A: "lazarus" <lazarus at miraclec.com>
> Fecha: miércoles, 17 septiembre, 2008, 11:31 am
> OK, I've brought this up here before and was told this
> wasn't a Lazarus 
> problem. I half way believe that. Half way because it
> appears to be an 
> incompatibility between Lazarus and something else.
> 
> My problem is quite simple. I wrote a report that uses the
> "printers" 
> unit for output. I use TPrintDialog.execute to setup the
> printer and 
> then use printers.printer() to get a TPrinter object that I
> then use to 
> render my report. I'm printing this report landscape,
> which is where my 
> problem comes in. The first page is always portrait and
> every page there 
> after is landscape.
> 
> The first thing I do is set the TPrinter's orientation
> property to 
> poLandscape. It should always be landscape. The weird thing
> is this 
> works on an old SuSE 9.0 install I keep around because its
> the only 
> thing that will run this report properly. I've tried it
> on two other 
> current versions of Linux: Debian 4.0 and Ubuntu 8.04. Both
> of these 
> exhibit the problem. I'm using the exact same compiled
> binary on all 
> distributions.
> 
> My build environment is using FPC 2.2.0 and Lazarus 0.9.25
> from SVN, an 
> older version downloaded sometime around January 2008.
> I'm running on 
> Intel 32bit Linux on all the systems that I tried. Here are
> hopefully 
> relevant software versions for the three distros I've
> tried it on:
> 
> Distro		GS			CUPS	HPIJS	Works?
> Ubuntu 8.04	Artifex GPL 8.61	1.3.7	2.8.2	
> Debian 4	ESP 815.03		1.2.7	2.6.10	
> SuSE 9.0	ESP 7.07		1.1.19	2.1.4	Y
> 
> 
> I've listed HPIJS because that is the print driver I
> need to support my 
> HP Business Inkjet 1200. In the SuSE version I built the
> HPIJS myself. 
> The other two I'm using what came with the distro.
> 
> This is making me crazy. Any help would be appreciated.
> 
> THX - Jon
> 
> -- 
> Jon Foster
> JF Possibilities, Inc.
> jon at jfpossibilities.com
> 541-410-2760
> Making computers work for you!
> 


11 days ago, in revision 16443 a fix for landscape page orientation was commited, please try that revision or newer and report back if it's fixed, if not please submit a bug report and a sample project.

Jesus Reyes A.


__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ 




More information about the Lazarus mailing list