Subject: | bug in recent version with adding images |
Date: | Thu, 30 Aug 2012 15:58:43 -0400 |
To: | bug-PDF-Create [...] rt.cpan.org |
From: | Jonathan Shorie <jshorie [...] medinaco.org> |
We use pdf::create to create pdf's of customer bills that are then emailed to
the customer.
We have been using this since about 2009 without problems. This month, I
received a new computer running Kubuntu 12.04. Now there appears to be a
problem with the pdf that is being created. It neads to add 2 jpg graphics to
the pdf. When run with 1.06 it only adds 1 of the jpg graphics to the pdf.
While I do not have the old computer any more, I was able to run my program on
another computer with an old version of pdf::create and it is working there.
Enclosed is the relevant information:
My Desktop
# uname -a
Linux tetra7 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012
i686 i686 i386 GNU/Linux
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
# perl -v
This is perl 5, version 14, subversion 2 (v5.14.2) built for i686-linux-gnu-
thread-multi-64int
(with 53 registered patches, see perl -V for more detail)
# apt-cache showpkg libpdf-create-perl
Package: libpdf-create-perl
Versions:
1.06-1
(/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-
i386_Packages) (/var/lib/dpkg/status)
Description Language:
File:
/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-
i386_Packages
MD5: 09210befb5791f0fbd6e5c5033af7df9
Description Language: en
File:
/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_universe_i18n_Translation-
en
MD5: 09210befb5791f0fbd6e5c5033af7df9
Reverse Depends:
sgf2dg,libpdf-create-perl
Dependencies:
1.06-1 - perl (0 (null)) libpdf-api2-perl (0 (null))
Provides:
1.06-1 -
Reverse Provides:
=====================================
My Code
###########################
# Print Heading on Page 1 #
###########################
++$thepage;
$page->image('image' =>$img1,
'xalign' =>0,
'yalign' =>1,
'xscale' =>0.5,
'yscale' =>0.5,
'xpos' =>1,
'ypos' =>10.5*$inch);
$page->image('image' =>$img2,
'xalign' =>0,
'yalign' =>1,
'xscale' =>0.5,
'yscale' =>0.5,
'xpos' =>1,
'ypos' =>7.25*$inch);
======================================
The Machine where it is working:
# uname -a
Linux scorpionfish5 2.6.32-30-server #59-Ubuntu SMP Tue Mar 1 22:46:09 UTC 2011
x86_64 GNU/Linux
#lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid
#perl -v
This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi
Copyright 1987-2009, Larry Wall
#apt-cache showpkg libpdf-create-perl
Package: libpdf-create-perl
Versions:
1.03-1
(/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_lucid_universe_binary-
amd64_Packages) (/var/lib/dpkg/status)
Description Language:
File:
/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_lucid_universe_binary-
amd64_Packages
MD5: 09210befb5791f0fbd6e5c5033af7df9
Reverse Depends:
sgf2dg,libpdf-create-perl
Dependencies:
1.03-1 - perl (2 5.6.0-16) libpdf-api2-perl (0 (null))
Provides:
1.03-1 -
Reverse Provides:
=============================================
Please let me know if there is any more information that you need or anything
that I can do to help. Thanks
Jonathan R. Shorie
Systems Administrator
Medina County Sanitary Engineers
791 W Smith Rd
Medina, OH 44256
Phone: (330) 764-8332
Fax: (330) 723-9661