I have a php script which needs to give a print command to two different networkprinters.
I use IrfanView's /print="\\\ipadress\printername1" and /print="\\\ipadress\printername2" in the script. But it doesnt execute at all.
The program lines which handles this command looks like this:
This works, but only the default printer. I want to add the name.
I use IrfanView's /print="\\\ipadress\printername1" and /print="\\\ipadress\printername2" in the script. But it doesnt execute at all.
The program lines which handles this command looks like this:
PHP Code:
$file = "c:\somejpg.jpg";
exec( '"c:\Program Files\IrfanView\i_view32.exe" '.$file.' /print="\\\ipadress\printername2"' );
PHP Code:
exec( '"c:\Program Files\IrfanView\i_view32.exe" '.$file.' /print');
Comment