wannabemaster
asked on
Directly two receipt printers
Currently Im making POS system with Coldfusion.
I don't know whick one is better either usb receipt printer or network.
One will be on the front desk. The other is in the kitchen
When I click the button, contents print out directly to both locations.
Which one is better(usb or network)? What brand do you recommend?
What is coldfusion code?
Thank you.
I don't know whick one is better either usb receipt printer or network.
One will be on the front desk. The other is in the kitchen
When I click the button, contents print out directly to both locations.
Which one is better(usb or network)? What brand do you recommend?
What is coldfusion code?
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you must connect your printer serial to LPT1 f.e.:
then you have to produce a binary pdf.file and send it direct to the LPT port via cfexecute
The "/b" tells the computer this is a "binary" file.
<cfexecute name = "C:\Windows\System32\cmd.e xe"
arguments = "copy YOURPDF.pdf /B LPT1"
outputFile = "C:\Temp\output.txt"
timeout = "1">
</cfexecute>
then you have to produce a binary pdf.file and send it direct to the LPT port via cfexecute
The "/b" tells the computer this is a "binary" file.
<cfexecute name = "C:\Windows\System32\cmd.e
arguments = "copy YOURPDF.pdf /B LPT1"
outputFile = "C:\Temp\output.txt"
timeout = "1">
</cfexecute>
To verify that your printer is working correct,
put some files on a diskette, open a commandline and use:
dir a: > lpt1
Should print a directory list of the files of the diskette.
Make sure that there has been no LPT1 redirect. Go to a cmd window and issue a "Net Use" command. If that shows no redirect try issuing a "Mode lpt1" command.
put some files on a diskette, open a commandline and use:
dir a: > lpt1
Should print a directory list of the files of the diskette.
Make sure that there has been no LPT1 redirect. Go to a cmd window and issue a "Net Use" command. If that shows no redirect try issuing a "Mode lpt1" command.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you for all comments.
I'm still working on it with all suggestions.
I'm still working on it with all suggestions.
http://justtalkaboutweb.com/2008/05/09/javascript-print-bypass-printer-dialog-in-ie-and-firefox/
Obviously only a solution for an in house POS system and not one you are looking to resell (ie: you can't ask a client to make these kinds of changes) but sounds like that's what the OP is looking for.
There still is the issue of print speed but at least that might be manageable.