IF (NOT EXISTS (select Table_name from SysTable where LCase(Table_name)=LCase('Printers'))) THEN CREATE TABLE "DBA"."Printers" ( "Name" varchar(50) NOT NULL UNIQUE, "Driver" varchar(50) NOT NULL, "Port" varchar(50) NULL, "File" varchar(80) NULL, "Options" text NULL, "Header" text NULL, "Footer" text NULL, "Aktiv" integer NOT NULL DEFAULT 1, "TextWidth" integer NULL DEFAULT 40, "DirectPrint" integer NULL DEFAULT 1, "ReCoder" varchar(250) NULL DEFAULT '1', "Body" text NULL, "Description" text NULL, "N" integer NOT NULL DEFAULT autoincrement, PRIMARY KEY ("N") ); COMMENT ON COLUMN "DBA"."Printers"."Name" IS 'Name (alias) of the printer. Similar to Widows printer names.'; COMMENT ON COLUMN "DBA"."Printers"."Driver" IS 'Name of the printer driver. Currently supported: FP3530, Text, Text-BGR, Text-RUS, Screen'; COMMENT ON COLUMN "DBA"."Printers"."Port" IS 'Similar to Windows printer port. Examples: LPT1, \\Server\\HP-690C'; COMMENT ON COLUMN "DBA"."Printers"."File" IS 'If specified, the printer output goes there. If there is * in the file name, it will be replaced with consequential number.'; COMMENT ON COLUMN "DBA"."Printers"."Options" IS 'Printer options in form