trta911
asked on
How to send command to printer with PHP
I have multi-page pdf (which is generated by mpdf and codeigniter) and I want to print on reciept printer (OKprint 085) I want after every page on this pdf activate cutter on printer and cut page. On manual I inspected, there is a command "GS V m / GS V m n" (select cut mode and cut paper).
How can I send this command by php to pdf /printer for cutting every page on pdf?
Very thanks!
How can I send this command by php to pdf /printer for cutting every page on pdf?
Very thanks!
ASKER
I meant that on this printer is knife that cut pages after printing. I generating some pdf bulk reports that I wish print on this printer and after every page on pdf i need to cut it from printer. I using this printer: http://www.barcode-manufacturer.com/pdf/PRP-085.pdf
And yes, I need explicitly cut pages, because at now printer cut printer paper roll after last page.
And yes, I need explicitly cut pages, because at now printer cut printer paper roll after last page.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
isn't it printing one page at a time?
do u need to explicitly 'ask' to cut the page?