I want to implement a server-side printing function. my idea is to use the execute external printing tool, but I do not know how to write it. execute does not know how to use it. the external tool used is the print tool under CMD. if you want a software package, let's say
Reply to discussion (solution)
You can use exec or system
Exec --- execute external program
Syntax: string exec (string command [, array & output [, int & return_var])
System --- execute an external program and display the output
Syntax: string system (string command [, int & return_var])
The above is the exec usage. The example may be as follows. as
Exec ("c: \ Program print.exe *****") ***** is a parameter. you have to study the command line parameters of program print.
You can use exec or system
Exec --- execute external program
Syntax: string exec (string command [, array & output [, int & return_var])
System --- execute an external program and display the output
Syntax: string system (string command [, int & return_var])
The above is the exec usage. The example may be as follows. as
Exec ("c: \ Program print.exe *****") ***** is a parameter. you have to study the command line parameters of program print.
There is a problem. after EXEC, the entire web page is suspended directly. what should I do?