You are here: php_printer printer_get_option($my_printer, PRINTER_PAPER_WIDTH) function « All PHP « IT news, forums, messages
php_printer printer_get_option($my_printer, PRINTER_PAPER_WIDTH) function

Posted by rf on 01/12/06 18:25

Where does the printer_get_option($my_printer, PRINTER_PAPER_WIDTH) get
the value from? I am trying to print to a Genicom 4490XT (a line
printer) and the width is off. I try to set the width with
printer_set_option( $my_printer,PRINTER_PAPER_WIDTH, 340); but it
doesn't work. When I print with printer_write($my_printer,
"1234567890...1234567890"') it only prints to about 215.

Another problem I am having is that it is printing the first character
or two at the end of the lines and in the front such as:
123456789 12
456789012 45

And I have no idea what would be causing that.

Any ideas?

Thanks

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация