> I need to execute a print command with print string inside of
> CF template. I have 2 PC with Windows 2000 and Windows NT
> workstation, both has CF 4.5 Server running and the IBM
> Infoprint Client Software (printer software)Installed.
> All I need is call this print.cfm page shown below
>
> <cfexecute name="c:\Infoprint\pdpr.exe" arguments="-p PSFLO44
> d:\readme.txt"></cfexecute>
>
> The readme.txt got sent it to IBM Infoprint (Printer) when I
> run this print.cfm on Windows 2000, but it did not get send it
> to IBM Infoprint (Printer) when I run print.cfm on Window NT 4
> Workstation or Window NT 4 Server.
>
> On both PCs, I have changed the ColdFusion Application Server
> to login as domain user who has access right to access network.
> This changed made the windows 2000 able to execute the print
> command inside of Coldfusion, but it does not work on Windows
> NT Server or Windows NT Workstation.
I've never worked with IBM Infoprint, so I don't have many ideas. You might
try auditing file access to the exe, to see if it's a permissions problem.
As a test, you might also try writing a batch file that calls the program
with the arguments, then calling the batch file with CFEXECUTE instead of
calling the program directly. I've run into odd syntax problems using
CFEXECUTE in the past.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]