0
<?php

$fh = fopen($file_name.".pdf", "rb");
$content = fread($fh, filesize($file_name.".pdf"));
fclose($fh);

**$handle = printer_open("192.168.1.252\\Deskjet-D2600-series");**

printer_set_option($handle,PRINTER_MODE,"raw");
printer_write($handle,$content);
printer_close($handle);

?>

I am unable to connect to an IP printer. Please give me the solution to solve the problem.

EM-Creations
  • 4,195
  • 4
  • 40
  • 56

0 Answers0