Re: Printing From Web Application for Raw printing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4-4-2014 20:15, deffrin joseph wrote:
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





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux