If I read the question correctly, the problem with client side javascript is that it doesn't actually start the print job but rather displays the print dialog. I believe he's looking for a way to start the print job on the client side, which would probably require a browser plugin since javascript doesn't allow this (I believe for security reasons or the like).
s. isaac dealey 954-776-0046 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to tapestry api is opensource http://www.turnkey.to/tapi certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 > Hi Eric, > The first example of JS script I send, prints the content > of the clients > browser. > As you were talking about printing a file, i assumed you > wanted to print a > file on the server, which you could do with CFEXECUTE. > I am not sure why neither of these solutions are not right > for you? > Can you not read the content of your file file with > CFFILE, output it to the > clients browser and use the JS script to start the print > job? > Taco Fleur > ----- Original Message ----- > From: "Eric Homa" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Wednesday, February 05, 2003 4:48 PM > Subject: Re: Printing on the client side..... >> I appreciate all of the assistance. Here is the >> scenario: >> >> We have a warehouse were we want to set up a client >> system on the net that >> will access our website and enter data into a database >> about shipments > that >> arrive. They will enter the order number, number of >> pallets and model >> numbers, etc., etc. They will fill in the data and >> submit the form. At > the >> same time I want the client computer to print a bar-code >> label on a Zebra >> printer. We can then label the boxes and put them away. >> Maybe I am going >> about this all wrong. I was hoping that I could write >> code that would run >> on the client browser that would cause the print job to >> happen. I believe >> that cfexecute will cause things to happen on the server >> side, correct? >> >> Thanks, >> >> Eric Homa >> >> ----- Original Message ----- >> From: "Taco Fleur" <[EMAIL PROTECTED]> >> To: "CF-Talk" <[EMAIL PROTECTED]> >> Sent: Tuesday, February 04, 2003 8:20 PM >> Subject: Re: Printing on the client side..... >> >> >> > Exactly! >> > >> > Thats why I said, "Assuming your file is local" i.e. on >> > the server >> executing >> > the command. >> > >> > He wants to send a file to the printer, I assume he is >> > not going to > upload >> a >> > file to the client and the run some code to print the >> > file he just send >> > them. >> > But then again I might be assuming too much. >> > >> > Anyway I already gave him the code to print the content >> > from a > browser... >> > >> > Ciao.......... >> > >> > ----- Original Message ----- >> > From: "Dave Watts" <[EMAIL PROTECTED]> >> > To: "CF-Talk" <[EMAIL PROTECTED]> >> > Sent: Wednesday, February 05, 2003 2:08 PM >> > Subject: RE: Printing on the client side..... >> > >> > >> > > > Subject: Re: Printing on the client side..... >> > > > >> > > > Try cfexecute and execute the command PRINT >> > > > [/D:device] >> > > > [[drive:][path]filename[...]] >> > > > >> > > > That definately does the trick.. Assuming your file >> > > > is local... >> > > >> > > Uh, I think that'll print to a printer attached to >> > > your web server, > not >> a >> > > printer attached to the machine running the browser. >> > > >> > > Dave Watts, CTO, Fig Leaf Software >> > > http://www.figleaf.com/ >> > > voice: (202) 797-5496 >> > > fax: (202) 797-5444 >> > > >> > > >> > >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ~~~~~~~~~~~| > Archives: > http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 > Subscription: http://www.houseoffusion.com/cf_lists/index. > cfm?method=subscribe&forumid=4 > FAQ: http://www.thenetprofits.co.uk/coldfusion/faq > Structure your ColdFusion code with Fusebox. Get the > official book at http://www.fusionauthority.com/bkinfo.cfm > Unsubscribe: http://www.houseoffusion.com/cf_lists/uns > ubscribe.cfm?user=633.558.4 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4