home *** CD-ROM | disk | FTP | other *** search
- on PrintoMaticInit_Xtra
- global printer, gpropfont, gmonofont, gxobjfile, Xtrapath
- if the machineType = 256 then
- set gpropfont to "arial"
- set gmonofont to "courier new"
- set gxobjfile to "pmatic.dll"
- else
- set gpropfont to "helvetica"
- set gmonofont to "courier"
- set gxobjfile to "pmatic.xobj"
- end if
- if not objectp(printer) then
- set printer to new(xtra("printomatic"))
- end if
- if not objectp(printer) then
- alert("There is no currently selected printer. Printing features are disabled.")
- else
- put register(printer, "PMAT130-135-01241")
- end if
- end
-