========================================================================
       			CYBERPRINTER DEVELOPMENT KIT 1.0
========================================================================


This document describes how to communicate to Serpol Cyberprinter
Software (c) in order to customize the way it works.

You need to download the latest version of Cyberprinter (At least V 1.7)
Download at http://www.serpol.com/download.html
Install Cyberprinter Server, set Cyberprinter in hold mode and select
printers holding jobs.

Cyberprinter will communicate with your application using IPC.
This kit includes a VC++ example but you can communicate using VB, Delphi
or any other language that supports IPC.

The structure is the following:

	long RecNo;  // Record number
	int Copies;  // Number or copies					
	CHAR Printer[MAX_PATH + 1]; // Printer name
	CHAR Document[MAX_PATH + 1]; // Document name
	CHAR User[MAX_PATH + 1]; // User name, this is network user name
	CHAR PCname[MAX_PATH + 1]; // PC name where printout was sent
	CHAR PrintDate[MAX_PATH + 1]; // Printout date
	CHAR PrintTime[MAX_PATH + 1]; // Printout time
	int job;		// Job ID every printout has an unique 
				   number
	CHAR Color[MAX_PATH + 1]; // BW / Color
	CHAR PaperSize[MAX_PATH + 1]; // Letter, A4, etc.
	int PageCount; // Total Page Count
	DWORD PrintStatus; // 0 = Hold, 1 = Printed, 2 = Canceled
	double cost; // Retrieve cost as Cyberprinter reported.

Your Application can do the following tasks with the information provided

1. Print the job with the job id if Cyberprinter is in hold mode
2. Cancel the job with the job id if Cyberprinter is in hold mode
3. Release the printout with the job id if Cyberprinter is in hold mode
4. Exit Cyberprinter without password
5. Using data for your own application or saving it in a text file

Brief description on how to use the example:

1. Oninit has more documentation on how to initialize a communication among
your application and Cyberprinter.
2. OnCopyData this is where you get information comming from Cyberprinter
3. Once you have all job data you need to use the SetJobStatus to release
the printout

For more information visit http://www.serpol.com

//////////////////////////////////////////////////////////////////////////
