|
-
Feb 20th, 2002, 04:20 AM
#1
Thread Starter
Junior Member
Help API ???????? head now hurts a lot
I have a printer dll ajlmon.dll I need to do stuff
so now I have tried
Declare Function AJLSystem_Initialize Lib "c:\windows\system\ajlmon.dll" () As Long
and in a form
Dim lonuseme As Long
lonuseme = AJLSystem_Initialize&
this returns an error
cant find entry point
the book says
0.0.1. System Initialization
Description: The AJLSystem_Initialize() function call must be the first call made to the Axiohm Print System. This call results in the creation of a Windows 95 print job that contains the AJL language command shown below. This command will be used to set up the AJL Language Monitor after AJLMON.DLL is loaded by the system spooler.
API call: AJLError AJLSystem_Initialize(long *printerID, LPCSTR pDriverName, LPCSTR pDeviceName, LPCSTR pPortName, Cedit pnull)
Return Value: The standard AJLError enum type is returned by this call.
Parameters: long *printerID A pointer to the printer identification which will be used in any further API calls.
LPCSTR pPrinterName A pointer to the c string holding the name of the printer driver for output. (This will be the name of the spooler in most cases.)
LPCSTR pDeviceName A pointer to the c string holding the device name of the printer. In the future, if the driver supports more than one type of printer, the actual type of printer can be selected here.
LPCSTR pPortName A pointer to the c string holding the name of the port to which the printer is connected.
CEdit pnull A pointer to a null string.
Last edited by abselect; Feb 20th, 2002 at 06:03 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|