beautypg.com

Triggering printing from a third-party application – Epiphan VGA Printer User Manual

Page 34

background image

3. Printing Basics

Printing a Captured Image

Page 34

Epiphan VGA Printer

Figure 17:Print Page Now button on the Web admin interface

Triggering Printing From a Third-Party

Application

You can integrate the VGA Printer device with a third-party

application or a script that “touches” the Print Page Now URL to

trigger the VGA Printer device to print the currently captured

image. If the VGA Printer IP address is 1.1.1.1 a print URL could

be:

http://1.1.1.1/admin/submit.cgi?cmd=prnow

.

You must also include the admin user name and password. To do

this, you can combine the URL with authentication using a tool

such as

Wget

. For example, if you use

Wget

and the VGA Printer

Web admin interface password is vga_print the syntax could be:

wget --http-user=admin --http-passwd="vga_print"

“http://1.1.1.1/admin/submit.cgi?cmd=prnow”

See

http://en.wikipedia.org/wiki/Wget

for information about

Wget.