Try cfexecute and execute the command PRINT [/D:device]
[[drive:][path]filename[...]]

That definately does the trick.. Assuming your file is local...

Taco Fleur


----- Original Message -----
From: "Taco Fleur" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, February 04, 2003 11:26 AM
Subject: Re: Printing on the client side.....

Hi,

I appreciate your response to my message.  What you have suggested may help
but it seems that it prints the contents of the browser window.  I need to
send a file to a printer that has control characters along with the text.
It is a Zebra barcode label printer.

Thanks,

Eric Homa


> A link with window.print() will do the trick, if in a onlclick event use
> window.print() if used in a ahref use javascript:window.print()
>
> Hope thats what your after...
> ----- Original Message -----
> From: "Eric Homa" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Tuesday, February 04, 2003 11:18 AM
> Subject: Printing on the client side.....
>
>
> > Hi,
> >
> > I am working on a CF application where the client is filling out a form
> and the data is going into a database and I'd like for the information to
> also be printed on a printer.  How would one go about printing to a
printer
> attached to the client computer.  Can I do this with CF or Java?
> >
> > The actual scenario is a receiving dock that is receiving product and we
> want to print a bar-code label to go onto each box while the data is being
> recorded to the database.
> >
> > Thanks,
> >
> > Eric Homa
> >
> >
> >
> >
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to