Search   Feed   Browse   Add
Feed items 1 - 10 of 10 for January 2003

Re: MacPerl-WebCGI Filtering the input from a transmitet form by Bruce Van Allen - January 10, 2003

On Friday, January 10, 2003, at 10:05 AM, Eelco Alosery wrote:> I have a problem when I reseave a transmitet form and want to writh it > to a data base.> All the reseaved info must by written to a single line, but somtimes > it starts writing multiple lines.> This happens when there has giffen a enter for a new line in the > textfield on the form.The canonical way to process newlines from (almost) any source is: $string = s(015012)015NEW_LINE_REPLACEMENTgs;where...
http://www.nntp.perl.org/group/perl.macperl.webcgi/2003/01/msg186.html

Re: MacPerl-WebCGI Filtering the input from a transmitet form by Thomas De Groote - January 10, 2003

Didn&39;t see you also want to filter white space, use this to achieve the whole thing :$data = snrnr<br>g; Filters the line breaks$data = ss+; Filters out white space in front$data = ss+$; Filters out white space in end$data = ss+ g; Filters out double white spaces and makes it a single space.Maybe that can all be joined a little more, but this is clearer code (I think).Greetz,Thomas
http://www.nntp.perl.org/group/perl.macperl.webcgi/2003/01/msg185.html

Re: MacPerl-WebCGI Filtering the input from a transmitet form by Thomas De Groote - January 10, 2003

Hi,I always use this to transform textarea results to single line :$data = snrnr<br>g;Good luck,ThomasOn vrijdag, jan 10, 2003, at 19:05 EuropeBrussels, Eelco Alosery wrote:> I have a problem when I reseave a transmitet form and want to writh it > to a data base.> All the reseaved info must by written to a single line, but somtimes > it starts writing multiple lines.> This happens when there has giffen a enter for a new line in the > textfield on the form.> How do I...
http://www.nntp.perl.org/group/perl.macperl.webcgi/2003/01/msg184.html

Filtering the input from a transmitet form by Eelco Alosery - January 10, 2003

I have a problem when I reseave a transmitet form and want to writh it to a data base.All the reseaved info must by written to a single line, but somtimes it starts writing multiple lines.This happens when there has giffen a enter for a new line in the textfield on the form.How do I filter al enters to the the foloing text: <br>I als want to filter multiple whithe spaces to a single white space and i want to filter out white spaces at the start end the end of the reseaved text.My problem..
http://www.nntp.perl.org/group/perl.macperl.webcgi/2003/01/msg183.html

Antw.: MacPerl-WebCGI perl and printing on a printer by Eelco Alosery - January 7, 2003

I found my problem of the many page printing.I was telling the comand in a while loop, sily me.I use now this litle script to print to my printer:open(TMPOUT,"$tekst_file") die "Content-type: texthtmlnnCannot open $file!";results = <TMPOUT>;close (TMPOUT);open(LPR, "lpr -P hp_color_LaserJet_2500 >devnull 2>&1"); print LPR results;close(LPR);But now my foloing problem,what if I use my script on my laptop and want to print it on my printer via my...
http://www.nntp.perl.org/group/perl.macperl.webcgi/2003/01/msg182.html

Re: MacPerl-WebCGI perl and printing on a printer by Eelco Alosery - January 7, 2003

The script below works, but it prints only 2 lines on a page.Imagen if I have a text from 100 lines, it wil print 50 pages.How do i fix thisWilliam Piel heeft op dinsdag, 7 jan 2003 om 00:12 (EuropeAmsterdam) het volgende geschreven:> open(LPR, "lpr -P myprinter >devnull 2>&1");> print LPR results;> close(LPR);Met vriendelijke groet,Multi-GraphicsEelco AloseryKoekoeksbloem 118255 KH SwifterbantTel : 0321-380014Fax :...
http://www.nntp.perl.org/group/perl.macperl.webcgi/2003/01/msg181.html

Re: MacPerl-WebCGI perl and printing on a printer by Christoph Grunau - January 7, 2003

On Monday, January 6, 2003, at 09:39 PM, Eelco Alosery wrote:> I&39;m using macosx 10.2.3 and I run my own webserver.> Now I have a contact form whitch send&39;s me the input to a e-mail adres, > but is it posible to print the input directly on my HP ColorLaserJet > 2500.> I want to do it whith a cgi program, anny help is verry welcom.>Maybe a setup problem. In multi-user mode os-x reads the printer (and other) information from netinfo. There was an article how to make lpr...
http://www.nntp.perl.org/group/perl.macperl.webcgi/2003/01/msg180.html

Re: MacPerl-WebCGI perl and printing on a printer by William Piel - January 6, 2003

On Monday, January 6, 2003, at 03:39 PM, Eelco Alosery wrote:> Hy,>> I&39;m using macosx 10.2.3 and I run my own webserver.> Now I have a contact form whitch send&39;s me the input to a e-mail > adres, but is it posible to print the input directly on my HP > ColorLaserJet 2500.> I want to do it whith a cgi program, anny help is verry welcom.>First, make sure that your printer is listed with the Print Center utility.Then check that BSD sees it by entering "lpstat...
http://www.nntp.perl.org/group/perl.macperl.webcgi/2003/01/msg179.html

Re: MacPerl-WebCGI perl and printing on a printer by Bill Becker - January 6, 2003

At 21:39 +0100 01062003, Eelco Alosery wrote:>Hy,Howdy.>>I&39;m using macosx 10.2.3 and I run my own webserver.>Now I have a contact form whitch send&39;s me the input to a e-mail >adres, but is it posible to print the input directly on my HP >ColorLaserJet 2500.>I want to do it whith a cgi program, anny help is verry welcom.>Since you are running a Unix system, it would be quite easy to set up a background print taskprocess (with Perl) that "listens" on a...
http://www.nntp.perl.org/group/perl.macperl.webcgi/2003/01/msg178.html

perl and printing on a printer by Eelco Alosery - January 6, 2003

Hy,I&39;m using macosx 10.2.3 and I run my own webserver.Now I have a contact form whitch send&39;s me the input to a e-mail adres, but is it posible to print the input directly on my HP ColorLaserJet 2500.I want to do it whith a cgi program, anny help is verry welcom.ThanksMet vriendelijke groet,Multi-GraphicsEelco AloseryKoekoeksbloem 118255 KH SwifterbantTel : 0321-380014Fax : 0321-843340infomulti-graphics.nlwww.multi-graphics.nl
http://www.nntp.perl.org/group/perl.macperl.webcgi/2003/01/msg177.html
Available Archives
- January (10 items)
- February (2 items)
- April (6 items)
- May (6 items)
- June (6 items)
- July (3 items)
- August (3 items)
- October (1 item)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact