Re: Printing a text file

2004-03-29 Thread RWAPSoftware
In a message dated 29/03/2004 19:46:37 GMT Daylight Time, [EMAIL PROTECTED] writes: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\>print /? Prints a text file. PRINT [/D:device] [[drive:][path]filename[...]]    /D:device   Specifies a print

Re: shifting bits

2004-03-29 Thread Sisyphus
Anton Ganeshalingam wrote: yes this is good solution. But how would I convert integer values. let say $num = '1234' I may have to insert this into a integer field in a db. Hence, using your approuch would cause me problems when I convert int data types. For example trying to convert '10' will pro

Re: shifting bits

2004-03-29 Thread Mike Jackson
yep :) of course, this would make the encoding mechanism very easy to work out - a shift left n bits is the same as multiplying by 2^n - so if you <<= 2, the result will just be 4 times bigger. if someone with a decent understanding of maths saw this pattern, all they would have to do is work

RE: shifting bits

2004-03-29 Thread Anton Ganeshalingam
yes this is good solution. But how would I convert integer values. let say $num = '1234' I may have to insert this into a integer field in a db. Hence, using your approuch would cause me problems when I convert int data types. For example trying to convert '10' will produce this '?ê?Ç'. should

connecting to DB on diff server

2004-03-29 Thread Lori
Is it possible to connect to a Oracle database on a different server ? I just started reading the docs for DBI and DBD::Oracle, but Im not sure what module I would use for connecting to a different server on the same network. Thanks in advance for any tips Lori

Re: shifting bits

2004-03-29 Thread Mike Jackson
crypt:: modules ARE the simple solution :) give it a key and some data, and you have industry-level data protection, as safe as the very code of your program - or even better than that if you use a password as the source for the key... and all it takes is about 2-3 instructions. On Mon, 29 Mar

Re: shifting bits

2004-03-29 Thread Sisyphus
Anton Ganeshalingam wrote: Let's say my data is the following phrase 'Hello World'. This phrase is represented in machine language in bits (assuming I'm right). So this was the reason I thought I could insert the data into MS db after shifting a bit. Well, you'd have to left shift - and then right

RE: shifting bits

2004-03-29 Thread Anton Ganeshalingam
Mike, yes I wanted to use crypt:: modules but my boss looking for a simple solution. tks Anton -Original Message- From: Arms, Mike [mailto:[EMAIL PROTECTED] Sent: Monday, March 29, 2004 2:29 PM To: 'Anton Ganeshalingam'; 'Mike Jackson' Cc: [EMAIL PROTECTED] Subject: RE: shifting b

RE: Printing a text file

2004-03-29 Thread Hugh Loebner
Hi Peter, The command: system ">print temp.txt" prints, but only to the screen. I can not get the command: PRINT [/D:device] [[drive:][path]filename[...]] to work. Going to the Control Panel for 'printers and other hardware' I get Properties Gestetner 2212 RPCS location blank Port

RE: Printing a text file

2004-03-29 Thread Andrew Timberlake-Newell
> On 29 Mar 2004 at 9:03, Hugh Loebner wrote: > > > I can get perl to write a text file 'xyz.txt' to disk with > no problem, > > but I don't know how to actually get my preferred printer > to actually > > print it out. > > Peter has already mentioned using the windows "Print" command.  > D

RE: shifting bits

2004-03-29 Thread Andrew Timberlake-Newell
Anton Ganeshalingam wrote: > > but why would you want to shift a bit of textual data? It would no > > longer be text.. > > I'm trying to avoid people looking at the data without proper access Why not just use an encryption module? ___ Perl-Win32-Users

RE: shifting bits

2004-03-29 Thread Arms, Mike
This combined with this quote from Anton: I'm trying to avoid people looking at the data without proper access sounds like he is wanting to do some really simplistic encryption of his data that will be stored in a database accessible by others. Anton, this will be incredibly easy to decipher. M

RE: shifting bits

2004-03-29 Thread Anton Ganeshalingam
I'm trying to avoid people looking at the data without proper access tks Anton -Original Message- From: Mike Jackson [mailto:[EMAIL PROTECTED] Sent: Monday, March 29, 2004 1:54 PM To: Anton Ganeshalingam Cc: [EMAIL PROTECTED] Subject: Re: shifting bits yes, the string is represented by