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/unsubscribe.cfm?user=89.70.4
                                

Reply via email to