Interesting idea adding a printer via IP address. Obviously we would have to
open the firewall in order to make that happen.

Dave Cordes
Senior ColdFusion Developer
636-939-1081 (H)
636-578-4235 (M)

-----Original Message-----
From: Paris Lundis [mailto:PLundis@;areaindex.com]
Sent: Thursday, October 24, 2002 11:38 AM
To: CF-Talk
Subject: RE: Using CFEXECUTE from a Web Browser???


ahh, connect a printer to your server.. which isn't a smart idea...

alternatively... hmmm CF from the server runs the custom batch to get
report or whatever (custom barcode).. then uses the CFHTTP to post to a
CF template on your local box where the printer is...

you could use other means to accomodate... but generally, thats what I
would do...

or, you could just connect the webserver to the printer by mapping it
as a connected printer resource - especially if the printer support IP
or you have a print server attached to it... so you would print to like
LPT2 instead which is really a mapped resource that isn't physically
connected to the server but your workstation...

If you have the IP ability and can peer through firewall in and out,
you could really make this work with your servers sitting across the
planet.

-paris

Paris Lundis
Founder
Areaindex, L.L.C.
http://www.areaindex.com
http://www.pubcrawler.com
412-292-3135
[finding the future in the past, passing the future in the present]
[connecting people, places and things]


-----Original Message-----
From: "Dave Cordes" <[EMAIL PROTECTED]>
Date: Thu, 24 Oct 2002 11:26:35 -0500
Subject: RE: Using CFEXECUTE from a Web Browser???

> Jochem,
> Do you have an idea how I would use this solution from the server. I
> mean,
> it works great on localhost, but I can't run this from the server
> because
> the printer is installed locally.
>
> Dave Cordes
> Senior ColdFusion Developer
> 636-939-1081 (H)
> 636-578-4235 (M)
>
> -----Original Message-----
> From: Jochem van Dieten [mailto:jochemd@;oli.tudelft.nl]
> Sent: Thursday, October 24, 2002 10:19 AM
> To: CF-Talk
> Subject: Re: Using CFEXECUTE from a Web Browser???
>
>
> Dave Cordes wrote:
>
> > Windows XP
> > ColdFusion MX
>
> OK, so your process will always run for as long as the timeout
> specified.
>
> > What did you mean by the "/c" parameter? Should I add that command
> in
> > order to close the command?
>
> Yes. But I usually make it the first option I specify:
> <CFEXECUTE NAME="C:\WINDOWS\system32\cmd.exe"
>    ARGUMENTS="/c copy C:\Inetpub\wwwroot\CFDEV\barcode\zebra.txt LPT"
>    TIMEOUT="5">
>    </CFEXECUTE>
>
> Jochem
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to