Hi there,
I want to grep the serial of a Lexmark printer from its config webpage from a windows server by using php (with symfony2).
Is there a way to connect to the web interface by handing over the login data automatically:
http://<printername>/cgi-bin/dynamic/printer/config/reports/deviceinfo.html
I only know to hand it over like this, but it doesn't work:
http://username:password@<printername>/cgi-bin/dynamic/printer/config/reports/deviceinfo.html
Any hints?
Cheers
Pedy
I want to grep the serial of a Lexmark printer from its config webpage from a windows server by using php (with symfony2).
Is there a way to connect to the web interface by handing over the login data automatically:
http://<printername>/cgi-bin/dynamic/printer/config/reports/deviceinfo.html
I only know to hand it over like this, but it doesn't work:
http://username:password@<printername>/cgi-bin/dynamic/printer/config/reports/deviceinfo.html
Any hints?
Cheers
Pedy