dnlees Posted January 21, 2020 Posted January 21, 2020 Hi, I have a printer on a Server 2019, with Internet printing enabled.... the printers Network name is: http://localhost/printers/BrotherQL-570/.printer I have a section of PHP, as follows: /* BEGIN Server side printing section */ $sIPPPrinterOrServerHost = '127.0.0.1'; // The host name or the IP address of the IPP Printer or IPP Server. $sIPPPrinterOrServerPort = '631'; // By default it is set to IANA assigned port (631). $sIPPPrinterURI = 'http://localhost/printers/BrotherQL-570/.printer'; // The URI of the IPP printer (examples : '/printers/epson', 'ipp://localhost:631/printers/epson'). $sIPPJobUserName = 'anonymous'; // Depending on the configuration of your printer, you may have to set this to 'anonymous' or a valid username on your system. $aIPPPrinterPerClientFixedIPArray = array(); $aIPPPrinterPerClientFixedIPArray['127.0.0.1'] = array(); $aIPPPrinterPerClientFixedIPArray['127.0.0.1']['IPPPrinterOrServerHost'] = '127.0.0.1'; $aIPPPrinterPerClientFixedIPArray['127.0.0.1']['IPPPrinterOrServerPort'] = '631'; $aIPPPrinterPerClientFixedIPArray['127.0.0.1']['IPPPrinterURI'] = 'http://localhost/printers/BrotherQL-570/.printer'; /* END Server side printing section */ However, it is not printing.... Have I got the formatting wrong....?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now