Creating a remote printing program

All Editions

The first step in setting up remote printing for a printer that Windows does not support is creating a program that actually drives the printer. This program must interpret the control file created when printing an image from Imagenation, and then print the image. For details, see Interpreting the remote print control file.

To create the program, you must know the data formats accepted by the printer, and general site information. After the print process starts, the print process and printer together are responsible for:

· identifying the data formats accepted by the printer. If Imagenation is not capable of writing the required format, then the print process must convert the image appropriately. Otherwise, you can select the format in the [printer-name] section of the Image.ini file.

· rotating the print images into their proper orientation. Note that, by using the Printer Can Rotate keyname, you can instead have Imagenation rotate the image before the temp file is created.

· scaling the images to fit the page

· scaling the images to compensate for different printer and image resolutions

· sending the images to the printer for printing

Some printers are capable of automatically scaling and rotating prints, and some are not. If the printer cannot scale images, then the print process must. The print process may scale images on its own, or it may invoke an Imagenation API session to scale the prints. (For details, refer to the OLE Automation Help (oleauto.hlp), DDE API Help (ddeapi.hlp), or C API Help (capi.hlp).)

The print process may be any combination of scripts or binaries. You must determine which method best suits the user's needs and the printer's requirements.

See also

Setting up remote printing

Adding a remote printer to the Image.ini file