On Fri, 23 Mar 2012 11:11:17 +0100, Dr.Ruud wrote:
> On 2012-03-23 10:43, Huub van Niekerk wrote:
>
>> I have a problem with spacing. For a couple of years I've been using
>> the same script that retrieves data (being addresses for labels) from a
>> database and
Hi,
I have a problem with spacing. For a couple of years I've been using the
same script that retrieves data (being addresses for labels) from a
database and then prints it to a .ps file. This file is then printed.
Now, although neither the script nor the printer has been changed,
suddenly all
On Sun, 04 Dec 2011 10:21:37 +, Huub van Niekerk wrote:
> On Sun, 04 Dec 2011 14:15:44 +0530, Saravanan Murugaiah wrote:
>
>> Hi,
>>
>> Yes, the problem with the eps file, in general, if you open the .eps
>> file in notepad, you can see the below things:
>&g
On Sat, 03 Dec 2011 23:22:12 -0800, Jim Gibson wrote:
> At 7:05 AM + 12/4/11, Huub van Niekerk wrote:
>>Hi,
>>
>>I'm trying to import an eps file but I get errors. Can somebody tell how
>>I can solve either of these 2 errors. BTW, I'm not using them at the
> %%CreationDate: 9/7/2011
> %%BoundingBox: 0 0 367 321
> %%HiResBoundingBox: 0 0 366.7198 320.6792 %%CropBox: 0 0 366.7198
> 320.6792
>
> %%%
>
> If not so, then you can assume that, problem in that eps only.
>
> Regards,
> MadYuv
>
>
> On Sun, Dec 4, 2011 a
Hi,
I'm trying to import an eps file but I get errors. Can somebody tell how
I can solve either of these 2 errors. BTW, I'm not using them at the same
time.
$ps->importepsfile("/mnt/Kaapstadadmin/HVW/logo-2-gemeentekleuren.eps",
0,0, 151,90);
Error with above line: Can't call method "importep
On Sat, 03 Dec 2011 10:02:02 -0500, Zak Zebrowski wrote:
> Yes. Also, you may want to look at imager, which doesn't require image
> magic (which works better on some environments.). Also, the synopsis of
> imager produces thumbnails with perl.
>
> Best
> Zak
Ok, thanks. I'll with that..
--
Hi,
I want to use an existing png image for changing into a smaller size and
write into a .pl file that will be printed. So far I've found several
posts talking about using ImageMagick and dealing with raster images, but
nothing tells me about writing in combination with .pl. Is this possible
On Sun, 29 Nov 2009 14:30:47 -0500, Shawn H Corey wrote:
> Huub van Niekerk wrote:
>> Hi,
>>
>> I started getting this error after upgrading from Fedora 11 to 12. The
>> line of code hasn't been changed:
>>
>> open my $LPR, '|-', qw/lpr
> there is no %PATH variable in perl. if you read the post about clearing
> the PATH in the ENVIRONMENT, you would just set that value in the %ENV
> hash.
>
> uri
If you mean like this, it doesn't work.
$ENV{"lpr"} = "/usr/bin/lpr";
Nor do
$ENV{"/usr/bin/lpr"} = "lpr";
$ENV{"PATH"} = "/usr/bin
> Try specifying the full path for lpr
>
> %whereis lpr
> lpr: /usr/bin/lpr.cups /usr/bin/lpr /usr/share/man/man1/lpr.1.gz
>
> So on my box, /usr/bin/lpr
>
> If you look at that article I sent you previously, it gives some
> explanation for why you need to reset $ENV{"PATH"} (from memory).
>
O
>>
>> open my $LPR, '|-', qw/lpr -PDeskJet940C/ or die "can't fork lpr: $!";
>>
>
> $ENV{"PATH"} = "";
>
> at the start of the script, it doesn't seem to complain any more.
> Hope that helps,
>
Thank you, though I'm not out of problems yet. The message I'm getting
now is:
Can't exec "lpr": No
Hi,
I started getting this error after upgrading from Fedora 11 to 12. The
line of code hasn't been changed:
open my $LPR, '|-', qw/lpr -PDeskJet940C/ or die "can't fork lpr: $!";
The error is: "Insecure $ENV{PATH} while running with -T switch at"
pointing at the line above. From articles on
>
> Well I have no idea if it will solve your problem, but try one of these;
>
> a. make a symbolic link between libssl.so.8 and libssl.so.10 b. or
> simply copy libssl.so.10 as lbssl.so.8
>
Thank you. Didn't think of "ln -s". That works now.
--
To unsubscribe, e-mail: beginners-unsubscr...@
Thank you for your answer.
I changed the beginning of my code to this:
#!/usr/bin/perl
no lib "/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/";
use lib "/usr/lib/perl5/5.10.0/i386-linux-thread-multi/";
use DBI;
use strict;
use warnings;
use PostScript::Simple;
No errors are given
Hi,
Sorry if this is the wrong group.
Using Fedora Linux, due to system changes the path to the Perl modules
has changed. I've found that @INC contains the new path, but it's placed
after the old path. So now I'm getting messages that modules can't be
found in @INC anymore. The docs I've read
if (! defined($myvar)) {
The NULL in the database is mapped to an undef.
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery
Thank yo
Hi,
I'm adapting a Perl script using MySQL connectivity, and have to compare
a variable, e.g. $myvar, with the value NULL from the database. In
MySQL, I have to use the query 'where myvar is null', which works great.
But when I try this in Perl, like 'if ($myvar == null)' or 'if ($myvar
is nu
= 5;
$opdracht = "insert into woningen (complex,plaats,straat,huisnr) values
($complex,$plaats,$straat,$teller)";
$sth = $dbh->prepare($opdracht);
$sth->execute or die "Connection Error: $DBI::errstr\n";
This is the errormessage:
DBD::mysql::st execute failed: Unknown
19 matches
Mail list logo