i have a couple of php scripts that need to print documents each with different paper formats.
Problem
I try setting the width and length manually with the following printer_set_option commands:
Code: Select all
<?php
printer_set_option($handle,PRINTER_PAPER_FORMAT,PRINTER_FORMAT_CUSTOM);
printer_set_option($handle,PRINTER_PAPER_LENGTH,175);
printer_set_option($handle,PRINTER_PAPER_WIDTH,275);
?>Constraints
1- The formats are not standard
2- Tractor fed
3- They need to print on the same printer
4- Printer is old and discontinued -> Fujistu DL 3400
5- XP or Win 2000