Discussion:
Printing From Web Application for Raw printing
deffrin joseph
2014-04-04 18:15:49 UTC
Permalink
Hi,
I like to add a printing facility in the online booking website I create,
which can print to a TM-U295 POS Slip Printer.
I think I need raw printing facility for this.I found jzebra,which can be
used for raw printing.But I am not sure that for printing to a Slip Printer
I need raw printing or basic window.print() of javascript will be
sufficient.
I need some help on this.
Maciek Sokolewicz
2014-04-04 20:17:21 UTC
Permalink
Post by deffrin joseph
Hi,
I like to add a printing facility in the online booking website I create,
which can print to a TM-U295 POS Slip Printer.
I think I need raw printing facility for this.I found jzebra,which can be
used for raw printing.But I am not sure that for printing to a Slip Printer
I need raw printing or basic window.print() of javascript will be
sufficient.
I need some help on this.
Ehm... where is that printer? Is it connected to your server machine
somehow? Or is it at the client?

In the first case: you'll need a script which either communicates
directly with the printer, or you can often use the printing facilities
of your environment (ie. the shell). In this case you *can not* use
window.print() since that's executed fully at the client's side.

In the second case: You don't have much of a choice, you'll have to
either go for window.print() or have the client download a file (ie. a
pdf file) with specific instructions to print it.

- Tul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Continue reading on narkive:
Loading...