javascript - use of printer using php -


i have developed pos application using codeigniter, want print bill using printer, can 1 me pass printer name php/javascript code printed in, appreciated

you cannot directly u can use

window.print() 

and hide elements u dnt want printed ur css

@media print {       .no-print, .no-print *   {     display: none !important;   } } 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

javascript - Bootstrap Popover: iOS Safari strange behaviour -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -