Products   Support   Download   Contact

PRINTING FROM WEB-BASED APPLICATIONS

Contents | Index | About the Icons

Abstract

Another title for this Technical Memo could be "Can I Change my Printer Properties with JavaScript?", and the answer is: using the ScriptServer® PAN Printing System, yes you can!

JavaScript

Web-based applications typically rely on JavaScript to offload at least some functionality from the server to the client. So, you have a client, and one of the things it needs to do is print.. and you want to change the queue that the job prints on, or select stock in a different paper tray, or print on a particular electronic form, or duplexed, or multiple copies, etc.

This is exactly what the PAN web interface does when you submit a print job!

The PAN web interface is no exception: it is a web-based application (in its own right), and it relies heavily on JavaScript to define and communicate the characteristics associated with a job to be printed; if we can do it, you can, too!

Note that we're not submitting our jobs through the client OS printing system, but directly to our printing system via a CGI interface.

Modes of Submission

If you want to integratethe ScriptServer PAN Printing System with your web-based application, you'll want to discuss it with us in greater detail than we can go into in this technical memo ("Does that cost me money?" you rightly ask, and the answer is "it depends". Generally if you're already a ScriptServer PAN licensee and you pay for support, asking questions is covered under support. If we have to write code or support your JavaScript that's consulting and we address that on a case-by-case basis.). But broadly speaking, when you're architecting this thing, there are some high-level considerations and that's what we want to lay out here for you to think about before you call.

There are many different ways to get a print job into a PAN:

© 2020 GrayMatter Software Corporation