Re: Driving a POS printer from Perl

2006-03-13 Thread Foo Ji-Haw
David Ressler wrote: Thanks for the start. I managed to get Win32::SerialPort to wake up the printer but it's printing gibberish. I'm setting it to the same baud rate, etc., as the (functioning) Generic / Text printer that I set up using the Windows Add Printer. Do you have any code snippits

List Installed Font Names?

2006-03-13 Thread Steve Green
Can anyone suggest a way to make a list of the names of the fonts installed on a Windows system? -- Thanks ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: List Installed Font Names?

2006-03-13 Thread Allegakoen, Justin Devanandan
8-- Can anyone suggest a way to make a list of the names of the fonts installed on a Windows system? -- Thanks 8-- use strict; use warnings; my @Fonts; my $Dir = $ENV{'windir'}\\Fonts; chdir $Dir or die Cant cd to $Dir:- $!; foreach my $Font(*) { push @Fonts,

FW: How to transfer the output of find command of Dos in perl to file

2006-03-13 Thread Yekhande, Seema \(MLITS\)
Title: FW: How to transfer the output of find command of Dos in perl to file Hi Everyone, The regular _expression_ in Perl works slower when the size of file is bigger and we want to find the multilple patterns. So, what I found is using the find command in DOS we can get the output

RE: How to transfer the output of find command of Dos in perl tofile

2006-03-13 Thread Ken Barker
Title: FW: How to transfer the output of find command of Dos in perl to file If you are asking how to put this into a file - just use the re-direct with DOS: system(@argsfile.txt); Ken Barker IT Lead Tel: 314-213-7927 1100 Corporate Square St. Louis, MO 63132 [EMAIL PROTECTED] From:

RE: How to transfer the output of find command of Dos in perl tofile

2006-03-13 Thread Bullock, Howard A.
The regular expression in Perl works slower when the size of file is bigger and we want to find the multilple patterns. I disagree with your assessment. Testing this past weekend using 52 files 200MB to 1.9GB in size showed that FIND.EXE was substantially slower than Perl RegEx. My tests show

how to communicate with a forked process

2006-03-13 Thread Hon Shi
I have never done this and just need help getting off the 'dime'. I have a monitor program that I tried to fork from TK - doesn't work... won't work. So, I thought, can I start a Tk window from the monitor and collect the input that way? Forget Tk for now. How do I fork a process and have that

RE: ActivePerl 5.8.8.816 released

2006-03-13 Thread John Serink
Has the handles leak on Win32 when using shared variables with threads been fixed? :) John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jan Dubois Sent: Tuesday, March 14, 2006 7:42 AM To: activeperl@listserv.ActiveState.com;

Re: List Installed Font Names?

2006-03-13 Thread $Bill Luebkert
Chris Wagner wrote: I would start by looking in Scriptomatic for a WMI call into the fonts system. And then use that with the standard OLE perl thingy to get the information. Of course if u just listed the fonts directory u would have to decode the font files urself to get their

Re: Driving a POS printer from Perl

2006-03-13 Thread Foo Ji-Haw
Printing gibberish may be a sign that one or more settings may be incorrect, potentially the databit, parity, or stopbits. Have you tried doing a similar setup in HyperTerminal? David Ressler wrote: Here's what prints gibberish: use Win32::SerialPort; $port=new Win32::SerialPort('COM2') ||

Incomplete set of HTTP Headers

2006-03-13 Thread Inoue Nakagawa
Please forgive me if this is a rather stupid question, however I am new to Perl and Activestate perl on win32. My problem is as follows:No matter what program I run (be it mine or a downloaded app) I always seem to run into the exact same error (Useing IIS6) The specified CGI application