NOTE:
Requires v16 UBC
// 2012-07-02
// v4.9.17
// v4.9.16
// v4.9.15
1. show printHeadLifeCount in the getInfo for the DNP series printer

// 2011-11-10
// v4.9.14
1. adjust dnp print remains value when displaying
2. for unsupported printRemains - don't show [??]

// 2011-11-01
// v4.9.13
1. enable dnp saturation/brightness/contrast

// 2011-10-19
// v4.9.12
1. fix printer status when printing

// 2011-10-17
// v4.9.11
1. show printer error/status for dnp series printer in main window
2. show print remaining for dnp series printer in main window

// FOR Teps V15.7.x (after the freeform version)

// 2011-09-13
// v4.9.10
1. show print quantity for dnps - under the "stills" tools button

// 2011-07-22
// 4.9.9
1. fix cut in half for 6x8 for printers (dnps etc)??
	but not sure if supported by all models

// 2011-07-18
// 4.9.8
// 2011-05-10
1. fix printing for vendor version of tepes
2. default days to log to 2

// 4.9.5
1. fix mits cp70 to not to check for error - let printer do the check (double deck printer)

4.9.4
1. fix crash issue when NO color correction with dnp
2. remove outputted debug files

// 2011-04-11
// v4.9.3
1. fix print quantity issue with citizen printer (mitsu 3800, dnp 40/80)
2. mix message with being stuck on "printingÉ"


// 2011-04-07
// v4.9.2
1. fix issue with matte not printing correctly for citizen printers
2. show prints remaining as part of printer info for citizen based printers
3. allow sharpness pref to work with mitsu d70
4. fix issue with mitsu d70 and cut in half
5. simulate print quantity command for mitsu d70

// 2010-12-15
// v4.8.9beta4
1. honor new kodak 8600 printer media code
2. delete old logs immediately - don't just put in trash


// 2011-10-25
// v4.8.9beta2
1. fix issue with updr150 cut mode

// 2010-10-15
// v4.8.9
=================
1. Internal changes and bug fixes

// 2010-10-15
// v4.8.8
=================
1. fix "black" print issue with dnp ds80/40
2. fix memory leak with the mitsu3800/dnp80/dnp40 printers
3. now also redirects some debug logs to "/Library/Logs/Teps/PrintCenter.log"

// v4.8.7betaTESTx
=================
1. prevent "black" print but had memory leak...

// 2010-10-04
// v4.8.6beta
=================
1. add overCoat for Mitsu 3800 (needs new firmware too)

// 2010-09-27
// v4.8.5beta
==================
1. make sure job for mitsu 70D from teps is dotSequential - not planar
2. MAKE SURE TO use New Framework from Mitsu to get the color for 70D to look correct


// 2010-09-27
// v4.8.4beta
==================
1. put back "doPrint" for a series of printer (shinko, mitsu all citizen printers)


// 2010-09-23steve
// v4.8.3beta
===================
1. rebuild again with new version number to prevent confusion


// 2010-09-23steve
// v4.8.2beta
===================
1. add CIColor controls for DNP DS40/80 printers


// v4.8.1
1. new job header for new version with freeform TEPS-X v15.6.x series
2. started to add code for mitsu d70 - but not done
	need mitsu to fix their framework

// 2010-07-13
// v4.7.6
1. fix issue where shinko printing status was being treated as error code

// 2010-04-16
// v4.7.5
====================

1. remove spurious debug files
	"mitsuBmpData.raw"
	"mistuBmpHeaderTeps.txt"

// 2009-11-17
// v4.7.4
====================

add code to get version number of dnp printer

// 2009-11-15
rebuild project to generate a PrintCenter PhotoTouch

// 2009-10-29
1. allow dnp printers to be recognized

// 2009-10-10
1. fix updr200 issue when sending interleaved jobs of cut and noCut jobs


// 2009-09-29
// v4.6.7
====================
1. replicate changes from v4.6.6 after the crash


// 2009-08-31
// v4.6.6
====================
1. fix issue with Updr200 and cut mode
	only had 6x8 media to test
2. try to remove some messages in the system.log

// 2009-08-05
// v4.6.5 for postcard4x6
====================
1. allow postcard 4x6 to be same as regular 4x6 - no distinction in media type
Teps did NOT change - user must make sure that only ONE 4x6 printer is online
with the same media type

// 2009-06-16
// v4.6.4
====================
1. fix issue with Mitsu 9800 printer jobs not returning proper status code
	jobs may end up going to the "jobs failed" folder

// 2009-05-11
// v4.6.3
====================
1. Build Custom print centers with new targets/names
2. each printCenter Version displays its own custom app name in window title
3. fix possible usb1 timing issue with shinko 1245
4. show thermal prinn count info for sony usb printers

// 2009-01-11
// v4.6.2
====================
1. Fixed UPDR-200 detection issue

// 2009-01-11
// v4.6.2
====================
1. Fixed UPDR-200 detection issue

// 2009-01-11
// v4.6.2
====================
1. Fixed UPDR-200 detection issue

// 2008-12-12
// v4.6.1
====================
1. add new 2145 matte and print mode options
2. fix issue with 1245 print mode option

// 2008-11-13
// v4.5.20
=============
1. give better messages/warnings for sony usb printers

// 2008-10-10
// 4.5.19
=============
1. give better messages/warnings for mitsu 3800 printer

// 2008-08-29
// v4.5.18
=============
1. fix key verification for custom versions

// 2008-08-12
// v4.5.17
=============
1. added mitsu 3800 "real" print quantity command the worked

// 2008-08-16
// v4.5.17
=============
1. fix cp9800 default.cpd file

// 2008-07-01
// v4.5.15
=============
1. fix 6x9 paper size issue for 9800 printer


// 2008-06-27
// v4.5.14
=============
1. added support for 3800 and print qty (old command)

// 2008-06-02
// v4.5.13
=============
1. added support mitsu 3800 printer

// 05-23-08
// v4.5.12
=========
1. Fix UP-DR200 buffer lockup

// 03-06-08
// v4.5.11
=========
1. added mitsu 9800 driver as BETA
2. uses new v3.0 library from mitsu for color conversion

// 04-21-08
// v4.5.10
=========
1. fix issue with op800 and cut mode

// 03-06-08
// v4.5.9
=========
1. finish implementing the expert feature for the sony usb printers

// 03-06-08
// v4.5.8
=========
1. finish implementing the expert feature for the sony usb printers

// 03-05-08
// v4.5.8
=========
1. fix issue with older firmware of sony cr10L
2. show the remaining media counts for the sony usb printers
3. added support for sony updr200

// 01-04-08
// v4.5.7
========
1. Fixed SnapLab with old firmware communication problems
2. Validates 9045 and 1245 jobs
3. Media left in Sony info window now shows up.
4. remove debug 9045 jobs being interpreted as 2145 jobs

// 10-29-07
// v4.5.6
========
1. if media option is zero - then force to 5x7 index for updr150
2. always enable 'turn on' option for the media pref

// 10-25-07
// v4.5.5
=========
1. changed job header and structure to match teps-processor


// NOTE: v1.10+ versions of PrintCenter requires v12+ (or beta v11b10+) of Teps-X
// Job header has changed to support the new printers

ALL Teps-Version14 NOW Requires NEW version 4.5.xx of the PrintCenter
split up from version 13 teps


// 10-16-07
// v4.5.4
=========
1. fix 9810 crash when sending out test raw image for calibration
2. TEPS-Processor update required for job to be sent with BGR8 verses RGB8 planar


// 10-05-07
// v4.5.3
=========
make the log output the correct running os version number
eg Mac OS 10.4.10


// v4.5.2
======
1. fix old sony transfer problem with usb1-hub connected via usb2 cpus
2. fix old sony upd150 6x8 paper issue

// v4.5.1
======
Requires NEW version 4.5.xx for Teps-X v14 NOW
split up from version 13 teps


// v3.1.17
=======
1. fix old sony transfer problem with usb1-hub connected via usb2 cpus

// v3.1.16
=======
1. fix old sony upd150 6x8 paper issue


// v3.1.15
=======
1. fix issue with sony updr150 "locking up" when changing paper
2. added extra check for cx1 when reloading new media - (did not test yet)
3. fix issue with jobs to the same sony printer model not bouncing over to the next printer


// v3.1.14 (0.1.2ubc)
===============
1. requires new security key to launch (the xcode version)
2. give message before "moving job to trash" (user will need to empty trash later)


// v3.1.13
=======
1. require new job version from tepsProcessor for shinko printer
2. supports matteLevel for shinko 1245


// v3.11???
// 
========
1. fix updr150 version 4.01 model with cut mode
2. try to fix "lockup" when paper runs out on the sony usb printers



// v3.1.11
// ??
========
1. allow updr150 to accept cut pref from teps-x job
2. try to fix usb1 speed issue (esp in gr700)
3. force toolbar to be visible always
4. allow user dragged positions of main and pref windows to be saved
5. if selected printCenter Folder is missing - try creating it first  - before creating its subfolders





// v3.1.10
// 05-25-07
========
1. added preference ignoreFailedJobsAtStartup
2. disable the hideToolBarButton
3. show error message when unable to read sony gr700 print count



// v3.1.9
// 04-11-07
=========
1. fix kodak scsi printer lut for intel and ppc (NO need for rosetta on intel macs for kodak scsi)
2. added extra delays for kodak scsi printer to fix possible timing errors??
3. show print center CFBundleShortVersionString in main window
4. shows new icon (todd's) when jobs are in the queue
5. fix minor text message focus issues


// v3.1.8
// 04-05-07
===========
1. FOR SCSI printers - need to run under rosetta
2. fix the accidental bug of the other printers (non-9810) "ignoring" jobs after the first job got sent



// v3.1.7
// 03-27-07
========
1. fix teps-x to pass the 9810 pref to print center - not forced
2. fix issue that makes 9810 appear to "lock up" when printer is NOT ready and there is a job in queue

// v3.1.6
// 03-26-07 - for jed to test
========
1. read the gr700 sharpen pref parameter as passed by teps-x
2. added more info on ribbon remains for sony gr700
3. for 9810 - FORCED sharpness to HIGH (will make it user selectable later after JED test)


// v3.1.5
// 03-21-07
========
NOTE - sony gr700 still has issues in getting ribbon remaining
1. fix issue with kodak scsi printers and xcode built app - LUT was not loaded correctly
2. added support for sony gr700 media options (cut mode, lamination type)
3. fixed sony gr700 library issues
4. show newer util window for sony gr700


// v3.1.5pma?
// 03-06-07
=========
1. added sony gr700 driver
2. added sony gr700 library for color conversion


// v3.1.4
// 03-02-07
========
1. fixed noritsu issue with too many registered media types (greater than 30) (freezeframe found issue)
2. added status menu icon for print center


// v3.1.3
// 2-19-07
1. do not allow kodak scsi printer to continue is connection is found
	(may have been crashing for those who were testing with it)
	(hopefully 1.12.12cw will resolve this - but only supports the kodak scsi printer)
2. give message before deleting a job from the "jobs waiting to be printed" queue

// v 3.1.2
// 2-12-07
1. put back call to upload firmware to 9810 printer

// v3.1.1
// 1-11-07
1. added 2145 driver for show


// 1-10-07 - but didnt really work???
<string>3.0.0.11 kodakScsi UBC</string>
// try to fix issue with those customer with 8660
// even if there is a connection - still allow to go forward


// 12-14-06
1. fix issue with multiple copies on 9810

// 11-08-07
1. fix issue sony reserve/release problems - some printers do and some dont 

// 11-03-06
1. allow 8500 to issue print command
2. fix color adjust command with sony upd75


// 10-30-06
// v3.0.0.10 (give to john ashley and ici for testing)
1. make print quantity work for olmec printer
2. fix dual buffer issue with olmec printer
3. fix color issue with the ici-olmec printer
4. fix byte swapping issue when reading olmec lut file

// 10-4-06
4. fix shinko1245 print size options

// 08-04-06
1. recompile to work with tiger only




// 7-13-06
// v2.0.6usb after 5:13pm
1. fix media code issue with kodak 6850 printer


// 7-06-06
// released as v2.0.5
1. fixed issue with gamma for 3020
2. fixed color conversion issues (ie contrast table) with mitsu printers 95xx and 3020s
3. try to fix issue with sending 8x12 image to older 3020 - still has overflow issue


// 6-26-06
// released as v2.0.4
1. added support for 5x7 media for 6850 printer
2. fixed compatibility issue between the 6800 and 6850 structure sizes


// 06-16-06
// release as version 2.0.3UBC universal binary code version
// REQUIRES the following framework
	CPDImageFilter.framework v2.20 ubc
	Sentinel.framework
	SuperPro32.framework
0. versions 2.0.x is the start of the universal binary code version
1. support the 3020dau
2. support the new print prefs for the 3020 dau
3. support both kodak 6800 and 6850 thru the same driver
4. try to fix issue with sony updr150 printer with the reserve/release issue
5. for the shinko model printers ( includes kodak 6800/6850 ) - slight amount of sharpen is auto applied
6. fix problem with sony updr150 and not printing correctly to the 6x8 (2K) media type


// 03-08-06
// release as verison 1.12.11
1. allow the 9810 update firmware feature to work
2. use the newer utility window method for the sony printers (d70,d75,dr100,dr150)

// 03-03-06
// release as version 1.12.10
1. added 9810 utility window for printer alignment procedure
(requires a 9810 test image in /Test Folder/9810 BGR TestFile.raw )
2. fix print quantity problem with 9810 (was forced to one always before)
3. allow 8x12 image to be sent to 8x12 media for 9810


// 02-13-06
// release as version 1.12.9
1. enable cut-in-half mode for 9810 from teps-x
2. pass the resize method for noritsu jobs from teps-x


// 02-07-06
// release as version v1.12.8
1. remove the forced cut feature for 9810 (norman thacker)


// 02-03-06
// release as version v1.12.7
1. forced noritsu net order printer to never resize - uses original image pixels.
   (next version will allow popup pref to change this option)
2. fixed the centering of the kodak 9810 - but requires corresponding teps-x
3. ability to search for sony's latest firmware version - need to be included in new packagizer



// 12-15-05
// release as v1.12.6
1. allow newer version firmwares of chc-1945 to show up in print center
2. allow newer version firmwares of chc-1245 to show up in print center
3. try to fix more 9810 related issues



// 11-22-05
// release as v1.12.5
NOTE: JOB VERSION HEADER Changed Again
	Requires Teps-x v12.5b5+
1. print image name, template name, and package name on back of noritsu prints





// 11-17-05
// release as version v1.12.3
1. fix issue with noritsu and fractional paper length
2. fix timing issues with new faster G5s


// 11-07-05
// release as version v1.12.2
// not sure if v1.12.1 was ever out there.
0. requires the latest version of teps to have correct noritsu paper size popups in teps-x prefs
1. use dual buffer pref is always from teps print center - ignores the one
	passed thru from teps processor - will remove that soon
2. fix sony usb printing issues when opening cover to replace paper
3. allows sony updr150 to upload new firmware if needed
4. enable teps print center main window to hide on suspend (when not frontmost process)
5. change main window have metallic appearance - user can select/drag window on any metallic surface
// 10-14-05
1. fix noritsu driver to send to installed papers first then to registered papers
2. if noritsu printer is not set for net order mode, then job will not get sent
	(used to end up in jobs not printed folder)
3. make sure we are getting a valid next order number when sending jobs to net order







// 09-23-05
// v1.11.6
1. fix so that 9000/9500 jobs only print to 9000/9500
	and 9550 jobs print to 9550 printer only
2. fix crashing when printing to 9550 and using new mitsu color library


// 9-6-05 (approx)
// v1.11.5 - was really a test version
1. changed the print job version to match with teps-x after 9-06-05
2. read in new contrast table index from teps-x
3. added new mitsu color library for 9550 printer
4. fix 3020 cmy-rgb conversion


// 08-17-05
// v1.11.1
1. CHANGED JOB VERSION NUMBER!!!!!
2. supports noritsu printer in netorder mode


// 08-02-05
// v1.11.0
1. fix issue with jobs not being sent to 2nd buffer to dr150 while printing
2. support the firmware uploading for sony usb printers (updr150, upd75)
3. added support for sony upd75


// 7-06-05
// v1.10.3newJobHeader
// also created new target for mitsubishi-only version
1. added mitsubishi 3020


// 6-21-05
// v1.10.2
1. allow 9550 to print

// 5/9/05
1. fix USB problem and bad job version issues


// 4-30-05
// v1.10.1
1. updated the job header to support new options of new printers





// 01-02-05
// v1.9.11
1. try to fix problem where if a printer item is halted and a new job comes in,
dont assign the job to that printer.  then there is no way to remove or delete that job
anymore thru teps-printCenter.
2. change text in pref window to reflect "teps-printcenter" instead of "teps os-x spool folder
mainmenu.nib file changed



// 08-25-04
// v1.9.10
1. fix printing to kodak 6800 with 4x6media


// 07-07-04
// 7-01-04
// v1.9.9
1. fix upload firmware command to sony printer
2. try to fix issue with pg3500 returned unit status



// 06-18-04
// release as v1.9.8
1. show correct scsi printer names



// 06-17-04
// release as v1.9.7
1. show just name of job under "current job" column
2. fix issue with "after printing the job" pref - was always stuck on "delete immediately"
3. added beta test code for kodak 8500


- added 8500 test code




// 06-07-04
// had to re-install os and xcode libs



// 05-20-04
// release as v1.9.6
1. fix issues with printing to pg3500 - must set for "NO SIMULTANEOUS TRANSFER"


// 05-10-04
// release as v1.9.5
1. Improved auto search and manual selection of firmware files for sony printers
2. Added new pref to support debugging by outputting error log to file
3. Changed preferences window to be normal window style (does not deactivate on hide)
4. Try to improve issues with sony scsi transfers



// 4-13-04
// release as v1.9.4
1. fix media detection issue with sony updr100 printers


// 03-27-04
// release as v1.9.3
1. fix text strings referencing old "teps os-x spoolfolder"
2. read job files from non-ascii string path (eg a "Ä" char in folder path name)
3. remove persistent error message if job is not a job file (eg app file or image file)
4. allows firmware upgrades for sony updr100 printers

¥¥ REQUIRES UPGRADE $$$ in TEPS-X to get these new features:
1. print to mitsubishi cp1000 printer via scsi port
2. print to kodak 6800 usb2 printer



// 02-11-04
// release as v1.8.6
1. put back calls to print to mitsu printer
2. put back calls to print to sony printers


// 02-10-04
// release as v1.8.5
1. make upload button work again for sony updr100
2. change utility icon


// 02-09-04
// release as v1.8.4
// use with Teps-X 10b6
1. added support for mitsubishi cp8000 printer
   only supports cut in half for now or no cut
2. added support for uploading of updr100 firmware
  (works with pci scsi board and ratoc adapter)
  (did not work with microtech adapter)



// 01-26-04
// release as v1.8.3
// fix problem with missing kodak resource file "kodakPrinter.rsrc"
(used current newer job header again)



// 01-22-04
// v1.8.2 (only given to gary leif)
// fix problem with missing kodak resource file "kodakPrinter.rsrc"
(but used older project again and older job header again)


// 1-15-04
// version 1.8.1

// updated project to compile with CW9.1 and Panther Only
// changed job header file - will not accept 1.7.xx jobs
// added new log ouptput file "Teps-PrintCenterLog.txt" to show traces and warning messages
// added media support for updr100


// ============================================================================================

// v1.7.21
// 1-20-04
// went back to v1.7.19 project
// added missing "kodakPrinter.rsrc" file which caused kodak driver to crash when printing



// v1.7.20
// 1-19-04
// had to use older project "PrinterSpooler 01-19-04 1.7test17 pg3500 CW8"
// copied fix for out of sequence printing
// masked out warning message with HardwareSCSIDevice::HardwareSCSIDevice


// v1.7.19
// 1-16-04
// for gary leif
// NOTE: missing "kodakPrinter.rsrc"
// log warning message to file from pci-scsi card for gary leif (HardwareSCSIDevice::HardwareSCSIDevice)


// v1.7.18
// NOTE: missing "kodakPrinter.rsrc"
1. ¥ project converted to CW9 and Panther only ¥
2. added log file messaging to "PrintCenterLog.txt"
3. fix out of sequence printing


// v1.7test17
// 9-9-03
1. changed 'cancel' toolbar item to 'delete' function
2. added pg4500 to print like pg4000 (never test with actual pg4500 printer)
3. for sony printer, preserve lamination set in printer when NOT using teps upd printer settings
   (used to be forced ON)


// v1.7test16
// 7-1-03
1. get pg3500 to print

// v1.7test15
1. do not send to printer if printer not ready (accidental debug left behind from test14)

// v1.7test14
1. try to fix VM leaks
2. do not use file mapping when reading jobs


// v1.7test13
// 6-6-03
1. do not use sony printers' internal rotation feature. rotate first, if needed
2. suppress error message for upd5500 initialization sequence


// v1.7test12
// 5-28-03
// check for possible nil pointers


// v1.7test11
// 5-27-03
// fix 8660 driver to print check correct status from printer


// v1.7test10
// 5-23-03
// fix minor sony error checks
// show color adj info in log for sony printer
// fix issue with sony color adj command with firewire-to-scsi adapter
// all sony commands uses group 0 scsi code


// v1.7test9
// 5-16-03
// added more preferences to debug printing problems
// - send job one at a time or one to each printer
// - enable/disable dual buffer mode
// - enable/disable thread lock mechanism
// revamp entire sony printing method
// fix possible erroroneous crash to no-where-land
// fix printing to sony updr100 with 3x5 paper
// fix minor issues when checking for kodak printers


// Teps-Print Center v1.7.0
// 4-24-03
// fix to see kodak printers in printer list 
// also recognize both "UP D8800" & "UP-D8800" printers in printer list (esp with 3.10/3.11 ROMs of UPD8800)
(note need to use "Adaptec290X-2930.kext" (141,542 bytes and created 2/20/02 and v1.1.0)


// Teps-Print Center v1.6.9
// 4-18-03
1. fix problem with two printers on a single scsi bus


// Teps-Print Center v1.6.8
// 4-7-03
1. fix crash or lockup of non-printer scsi devices (esp with canon 1ds)
2. fix possible jobs printing out of sequence after resuming print center
3. fix firewire to scsi devices not returning proper task status (for ratoc)
4. add bus specific locks on devices connected to multiple buses (eg 2printers on 2-2930s)


// 3-14-03
// Teps-Print Center v1.6.7
1. fix kodak printing to 5x7 media
2. put jobs not printed into the jobs not printed folder

