Hi, I have two questions
1. Is it possible to add short cut keys in my php application, show that the user can access different menu items using them?
2. How can I print something directly to a printer without showing them on screen using php?
Hi, I have two questions
1. Is it possible to add short cut keys in my php application, show that the user can access different menu items using them?
2. How can I print something directly to a printer without showing them on screen using php?
I'm no expert and will probably be corrected here, but IMO, php is a server side language, which means it does its thing before the page is sent to the browser. So in essence, php does its thing and sends the result (usually as html) to the browser (the client). So yes, you can use php to add shortcut keys to a page but not directly - it can output html (and js if required) to do so.
Printing via php is certainly possible, but I don't know whether this will ensure that you print from the server or the client machine. I assume the former, as grabbing control of a client's (user's) printer would be a no-no IMO.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.