PHP Server Side Printing Ubuntu Server

后端 未结 3 1186
北荒
北荒 2021-01-19 04:33

I have been all over stack looking at what is required to do this and have wound up being slightly confused.

Lets get one thing straight this is a local based intra-

3条回答
  •  旧时难觅i
    2021-01-19 05:20

    Judicious use of php's shell_exec() should allow you to print PDFs synchronously, immediately after their creation, thus avoiding the need for bash.

    I've not used shell_exec() for printing so can't help with the detail but essentially, if you can successfully compose a UNIX print command, then you can write the shell_exec() instruction.

提交回复
热议问题