I have tried to get some help on this through the Allaire forums but no one has ny 
ideas.

I am trying to use the CFX_PRINT tag to print out receipts behind the scenes for a 
cash register system (fuseboxed, of course).

The receipt file is created just fine, the receipt deletes just fine but CFX_Print 
doesn't seem to respond at all. I don't get any error messages and the spooler never 
gets a print request.

If I leave out one of the mandatory variables for CFX_Print I get an appropriate error 
but when everything is correct I get nothing, not even the return code for the tag. 
Any thoughts?

I have tried this with both local and network printers and I have outputted the 
contents after the CFFILE read to make sure that I am getting data. I have also 
removed the delete action to see if that would change things.

Ian
Webmaster
CatholicStore.com
CatholicLiturgy.com

<CFFILE ACTION="Read"
    FILE="c:\cstorenewstore\temp\#Attributes.OrderNumber#.htm"
    VARIABLE="Variables.Receipt">
    
<CFX_PRINT
     DOCNAME="test"
 � TEXT="#Variables.Receipt#"
 � PRINTER="test"
 � NAME="Receipt">

<CFFILE ACTION="Delete"
    FILE="c:\cstorenewstore\temp\#Attributes.OrderNumber#.htm">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to