Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=6f6180bdf1b4a6ca9d97b86de64e5153bc779438
commit 6f6180bdf1b4a6ca9d97b86de64e5153bc779438 Author: voroskoi <[EMAIL PROTECTED]> Date: Sat Nov 3 12:21:56 2007 +0100 lm1100-1.0.2a-1-i686 new package from Matthias Griebel, closes #2183 my changes: - add ppd files for printers, so foomatic-filters-ppds not needed - ghostscript goes to rodepends() - patch for A4 paper size support - also install some utils, i'm not sure they are necessary diff --git a/source/apps-extra/lm1100/FrugalBuild b/source/apps-extra/lm1100/FrugalBuild new file mode 100644 index 0000000..d1b3ad6 --- /dev/null +++ b/source/apps-extra/lm1100/FrugalBuild @@ -0,0 +1,45 @@ +# Compiling Time: 0.02 SBU +# Maintainer: Matthias Griebel <[EMAIL PROTECTED]> + +pkgname=lm1100 +pkgver=1.0.2a +pkgrel=1 +pkgdesc='Lexmark 1000/1100 rasteriser.' +url='http://www.openprinting.org/download/printing/lm1100/' +groups=('apps-extra') +depends=('libstdc++') +rodepends=('ghostscript') +archs=('i686' 'x86_64') +up2date="lynx -dump $url | grep -m1 tar.gz$ | sed 's/.*lm1100\.\(.*\).t.*/\1/'" +source=($url/$pkgname.$pkgver.tar.gz \ + lm1100-gcc.patch a4_page.patch \ + Lexmark-1000-lm1100.ppd Lexmark-1020-lm1100.ppd Lexmark-1100-lm1100.ppd) +sha1sums=('1a88be767f907b04df4f3b713abb6be6ede643eb' \ + '7b4cedbe159165c29212ba95b3a56b3a53e8ece8' \ + 'e16dcc99ea8c08d9c38d671891b6cd5c8d2480c5' \ + '4e060fdb6f30f8b41353c8f396ede5c9f3f1c938' \ + '3c33858814ff4faa272562f42f7d16533a690c32' \ + '86f63cb928234c2b49575332b1df59fa678245f0') +_F_cd_path=$pkgname.$pkgver + +build() { + Fpatchall + Fsed 'CC =.*$' "CC = g++ $CFLAGS" Makefile + Fmake + Fmkdir /usr/bin + Fexerel $pkgname /usr/bin + + # utils - FIXME: is this good for something? + Fmkdir /usr/share/lm1100 + Fexerel byteutil.pl /usr/share/lm1100 + Fexerel lexmark2ppm.pl /usr/share/lm1100 + Fexerel ps-to-printer.fpi /usr/share/lm1100 + + # ppds + Fmkdir /usr/share/cups/model/Lexmark + Ffile Lexmark-1000-lm1100.ppd /usr/share/cups/model/Lexmark + Ffile Lexmark-1020-lm1100.ppd /usr/share/cups/model/Lexmark + Ffile Lexmark-1100-lm1100.ppd /usr/share/cups/model/Lexmark +} + +# optimization OK diff --git a/source/apps-extra/lm1100/Lexmark-1000-lm1100.ppd b/source/apps-extra/lm1100/Lexmark-1000-lm1100.ppd new file mode 100644 index 0000000..f9dc5ff --- /dev/null +++ b/source/apps-extra/lm1100/Lexmark-1000-lm1100.ppd @@ -0,0 +1,248 @@ +*PPD-Adobe: "4.3" +*% +*% For information on using this, and to obtain the required backend +*% script, consult http://www.openprinting.org/ +*% +*% This file is published under the GNU General Public License +*% +*% PPD-O-MATIC (3.0.0 or newer) generated this PPD file. It is for use with +*% all programs and environments which use PPD files for dealing with +*% printer capability information. The printer must be configured with the +*% "foomatic-rip" backend filter script of Foomatic 3.0.0 or newer. This +*% file and "foomatic-rip" work together to support PPD-controlled printer +*% driver option access with arbitrary free software printer drivers and +*% printing spoolers. +*% +*% To save this file on your disk, wait until the download has completed +*% (the animation of the browser logo must stop) and then use the +*% "Save as..." command in the "File" menu of your browser or in the +*% pop-up manu when you click on this document with the right mouse button. +*% DO NOT cut and paste this file into an editor with your mouse. This can +*% introduce additional line breaks which lead to unexpected results. +*% +*% You may save this file as 'Lexmark-1000-lm1100.ppd' +*% +*% +*FormatVersion: "4.3" +*FileVersion: "1.1" +*LanguageVersion: English +*LanguageEncoding: ISOLatin1 +*PCFileName: "LM1100.PPD" +*Manufacturer: "Lexmark" +*Product: "(1000)" +*cupsVersion: 1.0 +*cupsManualCopies: True +*cupsModelNumber: 2 +*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip" +*%pprRIP: foomatic-rip other +*ModelName: "Lexmark 1000" +*ShortNickName: "Lexmark 1000 lm1100" +*NickName: "Lexmark 1000 Foomatic/lm1100 (recommended)" +*PSVersion: "(3010.000) 550" +*PSVersion: "(3010.000) 651" +*PSVersion: "(3010.000) 652" +*PSVersion: "(3010.000) 653" +*PSVersion: "(3010.000) 704" +*PSVersion: "(3010.000) 705" +*PSVersion: "(3010.000) 800" +*LanguageLevel: "3" +*ColorDevice: True +*DefaultColorSpace: RGB +*FileSystem: False +*Throughput: "1" +*LandscapeOrientation: Plus90 +*TTRasterizer: Type42 +*1284DeviceID: "DRV:Dlm1100,R1,M0,TF;" + +*driverName lm1100/lm1100: "" +*driverType F/Filter: "" +*driverUrl: "http://www.openprinting.org/download/printing/lm1100/" +*driverObsolete: False + + + + +*VariablePaperSize: False + +*FoomaticIDs: Lexmark-1000 lm1100 +*FoomaticRIPCommandLine: "gs -q -sDEVICE=ppmraw -r300 %A -dBATCH -dNOP&& +AUSE -dPARANOIDSAFER %Z -sOutputFile=- - | lm1100 %B -" +*End + +*OpenGroup: General/General + +*OpenUI *PageSize/Page Size: PickOne +*OrderDependency: 100 AnySetup *PageSize +*DefaultPageSize: Letter +*PageSize Letter/US Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice" +*PageSize A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice" +*PageSize A5/A5: "<</PageSize[421 595]/ImagingBBox null>>setpagedevice" +*PageSize B5/B5 (JIS): "<</PageSize[516 729]/ImagingBBox null>>setpagedevice" +*PageSize Env10/Envelope #10: "<</PageSize[297 684]/ImagingBBox null>>setpagedevice" +*PageSize EnvC5/Envelope C5: "<</PageSize[459 649]/ImagingBBox null>>setpagedevice" +*PageSize EnvDL/Envelope DL: "<</PageSize[312 624]/ImagingBBox null>>setpagedevice" +*PageSize EnvISOB5/Envelope B5: "<</PageSize[499 709]/ImagingBBox null>>setpagedevice" +*PageSize EnvMonarch/Envelope Monarch: "<</PageSize[279 540]/ImagingBBox null>>setpagedevice" +*PageSize Executive/Executive: "<</PageSize[522 756]/ImagingBBox null>>setpagedevice" +*PageSize Legal/US Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice" +*CloseUI: *PageSize + +*OpenUI *PageRegion: PickOne +*OrderDependency: 100 AnySetup *PageRegion +*DefaultPageRegion: Letter +*PageRegion Letter/US Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice" +*PageRegion A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice" +*PageRegion A5/A5: "<</PageSize[421 595]/ImagingBBox null>>setpagedevice" +*PageRegion B5/B5 (JIS): "<</PageSize[516 729]/ImagingBBox null>>setpagedevice" +*PageRegion Env10/Envelope #10: "<</PageSize[297 684]/ImagingBBox null>>setpagedevice" +*PageRegion EnvC5/Envelope C5: "<</PageSize[459 649]/ImagingBBox null>>setpagedevice" +*PageRegion EnvDL/Envelope DL: "<</PageSize[312 624]/ImagingBBox null>>setpagedevice" +*PageRegion EnvISOB5/Envelope B5: "<</PageSize[499 709]/ImagingBBox null>>setpagedevice" +*PageRegion EnvMonarch/Envelope Monarch: "<</PageSize[279 540]/ImagingBBox null>>setpagedevice" +*PageRegion Executive/Executive: "<</PageSize[522 756]/ImagingBBox null>>setpagedevice" +*PageRegion Legal/US Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice" +*CloseUI: *PageRegion + +*DefaultImageableArea: Letter +*ImageableArea Letter/US Letter: "18 36 594 756" +*ImageableArea A4/A4: "18 36 577 806" +*ImageableArea A5/A5: "18 36 403 559" +*ImageableArea B5/B5 (JIS): "18 36 498 693" +*ImageableArea Env10/Envelope #10: "18 36 279 648" +*ImageableArea EnvC5/Envelope C5: "18 36 441 613" +*ImageableArea EnvDL/Envelope DL: "18 36 294 588" +*ImageableArea EnvISOB5/Envelope B5: "18 36 481 673" +*ImageableArea EnvMonarch/Envelope Monarch: "18 36 261 504" +*ImageableArea Executive/Executive: "18 36 504 720" +*ImageableArea Legal/US Legal: "18 36 594 972" + +*DefaultPaperDimension: Letter +*PaperDimension Letter/US Letter: "612 792" +*PaperDimension A4/A4: "595 842" +*PaperDimension A5/A5: "421 595" +*PaperDimension B5/B5 (JIS): "516 729" +*PaperDimension Env10/Envelope #10: "297 684" +*PaperDimension EnvC5/Envelope C5: "459 649" +*PaperDimension EnvDL/Envelope DL: "312 624" +*PaperDimension EnvISOB5/Envelope B5: "499 709" +*PaperDimension EnvMonarch/Envelope Monarch: "279 540" +*PaperDimension Executive/Executive: "522 756" +*PaperDimension Legal/US Legal: "612 1008" + +*OpenUI *InkType/Ink Type: PickOne +*FoomaticRIPOption InkType: enum CmdLine B +*OrderDependency: 100 AnySetup *InkType +*DefaultInkType: Color +*InkType Black/Black cartridge: "%% FoomaticRIPOptionSetting: InkType=Black" +*FoomaticRIPOptionSetting InkType=Black: " -bw" +*InkType Color/Color cartridge: "%% FoomaticRIPOptionSetting: InkType=Color" +*FoomaticRIPOptionSetting InkType=Color: "" +*CloseUI: *InkType + +*CloseGroup: General + +*OpenGroup: Adjustment/Adjustment + +*OpenUI *Brightness/Brightness: PickOne +*FoomaticRIPOption Brightness: int CmdLine B +*FoomaticRIPOptionPrototype Brightness: " -b %s" +*FoomaticRIPOptionRange Brightness: 0 255 +*OrderDependency: 110 AnySetup *Brightness +*DefaultBrightness: 100 +*FoomaticRIPDefaultBrightness: 100 +*Brightness 0/0: "%% FoomaticRIPOptionSetting: Brightness=0" +*Brightness 5/5: "%% FoomaticRIPOptionSetting: Brightness=5" +*Brightness 10/10: "%% FoomaticRIPOptionSetting: Brightness=10" +*Brightness 15/15: "%% FoomaticRIPOptionSetting: Brightness=15" +*Brightness 20/20: "%% FoomaticRIPOptionSetting: Brightness=20" +*Brightness 25/25: "%% FoomaticRIPOptionSetting: Brightness=25" +*Brightness 30/30: "%% FoomaticRIPOptionSetting: Brightness=30" +*Brightness 35/35: "%% FoomaticRIPOptionSetting: Brightness=35" +*Brightness 40/40: "%% FoomaticRIPOptionSetting: Brightness=40" +*Brightness 45/45: "%% FoomaticRIPOptionSetting: Brightness=45" +*Brightness 50/50: "%% FoomaticRIPOptionSetting: Brightness=50" +*Brightness 55/55: "%% FoomaticRIPOptionSetting: Brightness=55" +*Brightness 60/60: "%% FoomaticRIPOptionSetting: Brightness=60" +*Brightness 65/65: "%% FoomaticRIPOptionSetting: Brightness=65" +*Brightness 70/70: "%% FoomaticRIPOptionSetting: Brightness=70" +*Brightness 75/75: "%% FoomaticRIPOptionSetting: Brightness=75" +*Brightness 80/80: "%% FoomaticRIPOptionSetting: Brightness=80" +*Brightness 85/85: "%% FoomaticRIPOptionSetting: Brightness=85" +*Brightness 90/90: "%% FoomaticRIPOptionSetting: Brightness=90" +*Brightness 95/95: "%% FoomaticRIPOptionSetting: Brightness=95" +*Brightness 100/100: "%% FoomaticRIPOptionSetting: Brightness=100" +*Brightness 105/105: "%% FoomaticRIPOptionSetting: Brightness=105" +*Brightness 110/110: "%% FoomaticRIPOptionSetting: Brightness=110" +*Brightness 115/115: "%% FoomaticRIPOptionSetting: Brightness=115" +*Brightness 120/120: "%% FoomaticRIPOptionSetting: Brightness=120" +*Brightness 125/125: "%% FoomaticRIPOptionSetting: Brightness=125" +*Brightness 130/130: "%% FoomaticRIPOptionSetting: Brightness=130" +*Brightness 135/135: "%% FoomaticRIPOptionSetting: Brightness=135" +*Brightness 140/140: "%% FoomaticRIPOptionSetting: Brightness=140" +*Brightness 145/145: "%% FoomaticRIPOptionSetting: Brightness=145" +*Brightness 150/150: "%% FoomaticRIPOptionSetting: Brightness=150" +*Brightness 155/155: "%% FoomaticRIPOptionSetting: Brightness=155" +*Brightness 160/160: "%% FoomaticRIPOptionSetting: Brightness=160" +*Brightness 165/165: "%% FoomaticRIPOptionSetting: Brightness=165" +*Brightness 170/170: "%% FoomaticRIPOptionSetting: Brightness=170" +*Brightness 175/175: "%% FoomaticRIPOptionSetting: Brightness=175" +*Brightness 180/180: "%% FoomaticRIPOptionSetting: Brightness=180" +*Brightness 185/185: "%% FoomaticRIPOptionSetting: Brightness=185" +*Brightness 190/190: "%% FoomaticRIPOptionSetting: Brightness=190" +*Brightness 195/195: "%% FoomaticRIPOptionSetting: Brightness=195" +*Brightness 200/200: "%% FoomaticRIPOptionSetting: Brightness=200" +*Brightness 205/205: "%% FoomaticRIPOptionSetting: Brightness=205" +*Brightness 210/210: "%% FoomaticRIPOptionSetting: Brightness=210" +*Brightness 215/215: "%% FoomaticRIPOptionSetting: Brightness=215" +*Brightness 220/220: "%% FoomaticRIPOptionSetting: Brightness=220" +*Brightness 225/225: "%% FoomaticRIPOptionSetting: Brightness=225" +*Brightness 230/230: "%% FoomaticRIPOptionSetting: Brightness=230" +*Brightness 235/235: "%% FoomaticRIPOptionSetting: Brightness=235" +*Brightness 240/240: "%% FoomaticRIPOptionSetting: Brightness=240" +*Brightness 245/245: "%% FoomaticRIPOptionSetting: Brightness=245" +*Brightness 250/250: "%% FoomaticRIPOptionSetting: Brightness=250" +*Brightness 255/255: "%% FoomaticRIPOptionSetting: Brightness=255" +*CloseUI: *Brightness + +*CloseGroup: Adjustment + + +*% Generic boilerplate PPD stuff as standard PostScript fonts and so on + +*DefaultFont: Courier +*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM +*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM +*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM +*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM +*Font Bookman-Demi: Standard "(001.004S)" Standard ROM +*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM +*Font Bookman-Light: Standard "(001.004S)" Standard ROM +*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM +*Font Courier: Standard "(002.004S)" Standard ROM +*Font Courier-Bold: Standard "(002.004S)" Standard ROM +*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM +*Font Courier-Oblique: Standard "(002.004S)" Standard ROM +*Font Helvetica: Standard "(001.006S)" Standard ROM +*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM +*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM +*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM +*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM +*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM +*Font Palatino-Bold: Standard "(001.005S)" Standard ROM +*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM +*Font Palatino-Italic: Standard "(001.005S)" Standard ROM +*Font Palatino-Roman: Standard "(001.005S)" Standard ROM +*Font Symbol: Special "(001.007S)" Special ROM +*Font Times-Bold: Standard "(001.007S)" Standard ROM +*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM +*Font Times-Italic: Standard "(001.007S)" Standard ROM +*Font Times-Roman: Standard "(001.007S)" Standard ROM +*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM +*Font ZapfDingbats: Special "(001.004S)" Standard ROM + diff --git a/source/apps-extra/lm1100/Lexmark-1020-lm1100.ppd b/source/apps-extra/lm1100/Lexmark-1020-lm1100.ppd new file mode 100644 index 0000000..04f6bb6 --- /dev/null +++ b/source/apps-extra/lm1100/Lexmark-1020-lm1100.ppd @@ -0,0 +1,248 @@ +*PPD-Adobe: "4.3" +*% +*% For information on using this, and to obtain the required backend +*% script, consult http://www.openprinting.org/ +*% +*% This file is published under the GNU General Public License +*% +*% PPD-O-MATIC (3.0.0 or newer) generated this PPD file. It is for use with +*% all programs and environments which use PPD files for dealing with +*% printer capability information. The printer must be configured with the +*% "foomatic-rip" backend filter script of Foomatic 3.0.0 or newer. This +*% file and "foomatic-rip" work together to support PPD-controlled printer +*% driver option access with arbitrary free software printer drivers and +*% printing spoolers. +*% +*% To save this file on your disk, wait until the download has completed +*% (the animation of the browser logo must stop) and then use the +*% "Save as..." command in the "File" menu of your browser or in the +*% pop-up manu when you click on this document with the right mouse button. +*% DO NOT cut and paste this file into an editor with your mouse. This can +*% introduce additional line breaks which lead to unexpected results. +*% +*% You may save this file as 'Lexmark-1020-lm1100.ppd' +*% +*% +*FormatVersion: "4.3" +*FileVersion: "1.1" +*LanguageVersion: English +*LanguageEncoding: ISOLatin1 +*PCFileName: "LM1100.PPD" +*Manufacturer: "Lexmark" +*Product: "(1020)" +*cupsVersion: 1.0 +*cupsManualCopies: True +*cupsModelNumber: 2 +*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip" +*%pprRIP: foomatic-rip other +*ModelName: "Lexmark 1020" +*ShortNickName: "Lexmark 1020 lm1100" +*NickName: "Lexmark 1020 Foomatic/lm1100 (recommended)" +*PSVersion: "(3010.000) 550" +*PSVersion: "(3010.000) 651" +*PSVersion: "(3010.000) 652" +*PSVersion: "(3010.000) 653" +*PSVersion: "(3010.000) 704" +*PSVersion: "(3010.000) 705" +*PSVersion: "(3010.000) 800" +*LanguageLevel: "3" +*ColorDevice: True +*DefaultColorSpace: RGB +*FileSystem: False +*Throughput: "1" +*LandscapeOrientation: Plus90 +*TTRasterizer: Type42 +*1284DeviceID: "DRV:Dlm1100,R1,M0,TF;" + +*driverName lm1100/lm1100: "" +*driverType F/Filter: "" +*driverUrl: "http://www.openprinting.org/download/printing/lm1100/" +*driverObsolete: False + + + + +*VariablePaperSize: False + +*FoomaticIDs: Lexmark-1020 lm1100 +*FoomaticRIPCommandLine: "gs -q -sDEVICE=ppmraw -r300 %A -dBATCH -dNOP&& +AUSE -dPARANOIDSAFER %Z -sOutputFile=- - | lm1100 %B -" +*End + +*OpenGroup: General/General + +*OpenUI *PageSize/Page Size: PickOne +*OrderDependency: 100 AnySetup *PageSize +*DefaultPageSize: Letter +*PageSize Letter/US Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice" +*PageSize A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice" +*PageSize A5/A5: "<</PageSize[421 595]/ImagingBBox null>>setpagedevice" +*PageSize B5/B5 (JIS): "<</PageSize[516 729]/ImagingBBox null>>setpagedevice" +*PageSize Env10/Envelope #10: "<</PageSize[297 684]/ImagingBBox null>>setpagedevice" +*PageSize EnvC5/Envelope C5: "<</PageSize[459 649]/ImagingBBox null>>setpagedevice" +*PageSize EnvDL/Envelope DL: "<</PageSize[312 624]/ImagingBBox null>>setpagedevice" +*PageSize EnvISOB5/Envelope B5: "<</PageSize[499 709]/ImagingBBox null>>setpagedevice" +*PageSize EnvMonarch/Envelope Monarch: "<</PageSize[279 540]/ImagingBBox null>>setpagedevice" +*PageSize Executive/Executive: "<</PageSize[522 756]/ImagingBBox null>>setpagedevice" +*PageSize Legal/US Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice" +*CloseUI: *PageSize + +*OpenUI *PageRegion: PickOne +*OrderDependency: 100 AnySetup *PageRegion +*DefaultPageRegion: Letter +*PageRegion Letter/US Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice" +*PageRegion A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice" +*PageRegion A5/A5: "<</PageSize[421 595]/ImagingBBox null>>setpagedevice" +*PageRegion B5/B5 (JIS): "<</PageSize[516 729]/ImagingBBox null>>setpagedevice" +*PageRegion Env10/Envelope #10: "<</PageSize[297 684]/ImagingBBox null>>setpagedevice" +*PageRegion EnvC5/Envelope C5: "<</PageSize[459 649]/ImagingBBox null>>setpagedevice" +*PageRegion EnvDL/Envelope DL: "<</PageSize[312 624]/ImagingBBox null>>setpagedevice" +*PageRegion EnvISOB5/Envelope B5: "<</PageSize[499 709]/ImagingBBox null>>setpagedevice" +*PageRegion EnvMonarch/Envelope Monarch: "<</PageSize[279 540]/ImagingBBox null>>setpagedevice" +*PageRegion Executive/Executive: "<</PageSize[522 756]/ImagingBBox null>>setpagedevice" +*PageRegion Legal/US Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice" +*CloseUI: *PageRegion + +*DefaultImageableArea: Letter +*ImageableArea Letter/US Letter: "18 36 594 756" +*ImageableArea A4/A4: "18 36 577 806" +*ImageableArea A5/A5: "18 36 403 559" +*ImageableArea B5/B5 (JIS): "18 36 498 693" +*ImageableArea Env10/Envelope #10: "18 36 279 648" +*ImageableArea EnvC5/Envelope C5: "18 36 441 613" +*ImageableArea EnvDL/Envelope DL: "18 36 294 588" +*ImageableArea EnvISOB5/Envelope B5: "18 36 481 673" +*ImageableArea EnvMonarch/Envelope Monarch: "18 36 261 504" +*ImageableArea Executive/Executive: "18 36 504 720" +*ImageableArea Legal/US Legal: "18 36 594 972" + +*DefaultPaperDimension: Letter +*PaperDimension Letter/US Letter: "612 792" +*PaperDimension A4/A4: "595 842" +*PaperDimension A5/A5: "421 595" +*PaperDimension B5/B5 (JIS): "516 729" +*PaperDimension Env10/Envelope #10: "297 684" +*PaperDimension EnvC5/Envelope C5: "459 649" +*PaperDimension EnvDL/Envelope DL: "312 624" +*PaperDimension EnvISOB5/Envelope B5: "499 709" +*PaperDimension EnvMonarch/Envelope Monarch: "279 540" +*PaperDimension Executive/Executive: "522 756" +*PaperDimension Legal/US Legal: "612 1008" + +*OpenUI *InkType/Ink Type: PickOne +*FoomaticRIPOption InkType: enum CmdLine B +*OrderDependency: 100 AnySetup *InkType +*DefaultInkType: Color +*InkType Black/Black cartridge: "%% FoomaticRIPOptionSetting: InkType=Black" +*FoomaticRIPOptionSetting InkType=Black: " -bw" +*InkType Color/Color cartridge: "%% FoomaticRIPOptionSetting: InkType=Color" +*FoomaticRIPOptionSetting InkType=Color: "" +*CloseUI: *InkType + +*CloseGroup: General + +*OpenGroup: Adjustment/Adjustment + +*OpenUI *Brightness/Brightness: PickOne +*FoomaticRIPOption Brightness: int CmdLine B +*FoomaticRIPOptionPrototype Brightness: " -b %s" +*FoomaticRIPOptionRange Brightness: 0 255 +*OrderDependency: 110 AnySetup *Brightness +*DefaultBrightness: 100 +*FoomaticRIPDefaultBrightness: 100 +*Brightness 0/0: "%% FoomaticRIPOptionSetting: Brightness=0" +*Brightness 5/5: "%% FoomaticRIPOptionSetting: Brightness=5" +*Brightness 10/10: "%% FoomaticRIPOptionSetting: Brightness=10" +*Brightness 15/15: "%% FoomaticRIPOptionSetting: Brightness=15" +*Brightness 20/20: "%% FoomaticRIPOptionSetting: Brightness=20" +*Brightness 25/25: "%% FoomaticRIPOptionSetting: Brightness=25" +*Brightness 30/30: "%% FoomaticRIPOptionSetting: Brightness=30" +*Brightness 35/35: "%% FoomaticRIPOptionSetting: Brightness=35" +*Brightness 40/40: "%% FoomaticRIPOptionSetting: Brightness=40" +*Brightness 45/45: "%% FoomaticRIPOptionSetting: Brightness=45" +*Brightness 50/50: "%% FoomaticRIPOptionSetting: Brightness=50" +*Brightness 55/55: "%% FoomaticRIPOptionSetting: Brightness=55" +*Brightness 60/60: "%% FoomaticRIPOptionSetting: Brightness=60" +*Brightness 65/65: "%% FoomaticRIPOptionSetting: Brightness=65" +*Brightness 70/70: "%% FoomaticRIPOptionSetting: Brightness=70" +*Brightness 75/75: "%% FoomaticRIPOptionSetting: Brightness=75" +*Brightness 80/80: "%% FoomaticRIPOptionSetting: Brightness=80" +*Brightness 85/85: "%% FoomaticRIPOptionSetting: Brightness=85" +*Brightness 90/90: "%% FoomaticRIPOptionSetting: Brightness=90" +*Brightness 95/95: "%% FoomaticRIPOptionSetting: Brightness=95" +*Brightness 100/100: "%% FoomaticRIPOptionSetting: Brightness=100" +*Brightness 105/105: "%% FoomaticRIPOptionSetting: Brightness=105" +*Brightness 110/110: "%% FoomaticRIPOptionSetting: Brightness=110" +*Brightness 115/115: "%% FoomaticRIPOptionSetting: Brightness=115" +*Brightness 120/120: "%% FoomaticRIPOptionSetting: Brightness=120" +*Brightness 125/125: "%% FoomaticRIPOptionSetting: Brightness=125" +*Brightness 130/130: "%% FoomaticRIPOptionSetting: Brightness=130" +*Brightness 135/135: "%% FoomaticRIPOptionSetting: Brightness=135" +*Brightness 140/140: "%% FoomaticRIPOptionSetting: Brightness=140" +*Brightness 145/145: "%% FoomaticRIPOptionSetting: Brightness=145" +*Brightness 150/150: "%% FoomaticRIPOptionSetting: Brightness=150" +*Brightness 155/155: "%% FoomaticRIPOptionSetting: Brightness=155" +*Brightness 160/160: "%% FoomaticRIPOptionSetting: Brightness=160" +*Brightness 165/165: "%% FoomaticRIPOptionSetting: Brightness=165" +*Brightness 170/170: "%% FoomaticRIPOptionSetting: Brightness=170" +*Brightness 175/175: "%% FoomaticRIPOptionSetting: Brightness=175" +*Brightness 180/180: "%% FoomaticRIPOptionSetting: Brightness=180" +*Brightness 185/185: "%% FoomaticRIPOptionSetting: Brightness=185" +*Brightness 190/190: "%% FoomaticRIPOptionSetting: Brightness=190" +*Brightness 195/195: "%% FoomaticRIPOptionSetting: Brightness=195" +*Brightness 200/200: "%% FoomaticRIPOptionSetting: Brightness=200" +*Brightness 205/205: "%% FoomaticRIPOptionSetting: Brightness=205" +*Brightness 210/210: "%% FoomaticRIPOptionSetting: Brightness=210" +*Brightness 215/215: "%% FoomaticRIPOptionSetting: Brightness=215" +*Brightness 220/220: "%% FoomaticRIPOptionSetting: Brightness=220" +*Brightness 225/225: "%% FoomaticRIPOptionSetting: Brightness=225" +*Brightness 230/230: "%% FoomaticRIPOptionSetting: Brightness=230" +*Brightness 235/235: "%% FoomaticRIPOptionSetting: Brightness=235" +*Brightness 240/240: "%% FoomaticRIPOptionSetting: Brightness=240" +*Brightness 245/245: "%% FoomaticRIPOptionSetting: Brightness=245" +*Brightness 250/250: "%% FoomaticRIPOptionSetting: Brightness=250" +*Brightness 255/255: "%% FoomaticRIPOptionSetting: Brightness=255" +*CloseUI: *Brightness + +*CloseGroup: Adjustment + + +*% Generic boilerplate PPD stuff as standard PostScript fonts and so on + +*DefaultFont: Courier +*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM +*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM +*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM +*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM +*Font Bookman-Demi: Standard "(001.004S)" Standard ROM +*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM +*Font Bookman-Light: Standard "(001.004S)" Standard ROM +*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM +*Font Courier: Standard "(002.004S)" Standard ROM +*Font Courier-Bold: Standard "(002.004S)" Standard ROM +*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM +*Font Courier-Oblique: Standard "(002.004S)" Standard ROM +*Font Helvetica: Standard "(001.006S)" Standard ROM +*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM +*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM +*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM +*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM +*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM +*Font Palatino-Bold: Standard "(001.005S)" Standard ROM +*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM +*Font Palatino-Italic: Standard "(001.005S)" Standard ROM +*Font Palatino-Roman: Standard "(001.005S)" Standard ROM +*Font Symbol: Special "(001.007S)" Special ROM +*Font Times-Bold: Standard "(001.007S)" Standard ROM +*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM +*Font Times-Italic: Standard "(001.007S)" Standard ROM +*Font Times-Roman: Standard "(001.007S)" Standard ROM +*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM +*Font ZapfDingbats: Special "(001.004S)" Standard ROM + diff --git a/source/apps-extra/lm1100/Lexmark-1100-lm1100.ppd b/source/apps-extra/lm1100/Lexmark-1100-lm1100.ppd new file mode 100644 index 0000000..99ad066 --- /dev/null +++ b/source/apps-extra/lm1100/Lexmark-1100-lm1100.ppd @@ -0,0 +1,248 @@ +*PPD-Adobe: "4.3" +*% +*% For information on using this, and to obtain the required backend +*% script, consult http://www.openprinting.org/ +*% +*% This file is published under the GNU General Public License +*% +*% PPD-O-MATIC (3.0.0 or newer) generated this PPD file. It is for use with +*% all programs and environments which use PPD files for dealing with +*% printer capability information. The printer must be configured with the +*% "foomatic-rip" backend filter script of Foomatic 3.0.0 or newer. This +*% file and "foomatic-rip" work together to support PPD-controlled printer +*% driver option access with arbitrary free software printer drivers and +*% printing spoolers. +*% +*% To save this file on your disk, wait until the download has completed +*% (the animation of the browser logo must stop) and then use the +*% "Save as..." command in the "File" menu of your browser or in the +*% pop-up manu when you click on this document with the right mouse button. +*% DO NOT cut and paste this file into an editor with your mouse. This can +*% introduce additional line breaks which lead to unexpected results. +*% +*% You may save this file as 'Lexmark-1100-lm1100.ppd' +*% +*% +*FormatVersion: "4.3" +*FileVersion: "1.1" +*LanguageVersion: English +*LanguageEncoding: ISOLatin1 +*PCFileName: "LM1100.PPD" +*Manufacturer: "Lexmark" +*Product: "(1100)" +*cupsVersion: 1.0 +*cupsManualCopies: True +*cupsModelNumber: 2 +*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip" +*%pprRIP: foomatic-rip other +*ModelName: "Lexmark 1100" +*ShortNickName: "Lexmark 1100 lm1100" +*NickName: "Lexmark 1100 Foomatic/lm1100 (recommended)" +*PSVersion: "(3010.000) 550" +*PSVersion: "(3010.000) 651" +*PSVersion: "(3010.000) 652" +*PSVersion: "(3010.000) 653" +*PSVersion: "(3010.000) 704" +*PSVersion: "(3010.000) 705" +*PSVersion: "(3010.000) 800" +*LanguageLevel: "3" +*ColorDevice: True +*DefaultColorSpace: RGB +*FileSystem: False +*Throughput: "1" +*LandscapeOrientation: Plus90 +*TTRasterizer: Type42 +*1284DeviceID: "DRV:Dlm1100,R1,M0,TF;" + +*driverName lm1100/lm1100: "" +*driverType F/Filter: "" +*driverUrl: "http://www.openprinting.org/download/printing/lm1100/" +*driverObsolete: False + + + + +*VariablePaperSize: False + +*FoomaticIDs: Lexmark-1100 lm1100 +*FoomaticRIPCommandLine: "gs -q -sDEVICE=ppmraw -r300 %A -dBATCH -dNOP&& +AUSE -dPARANOIDSAFER %Z -sOutputFile=- - | lm1100 %B -" +*End + +*OpenGroup: General/General + +*OpenUI *PageSize/Page Size: PickOne +*OrderDependency: 100 AnySetup *PageSize +*DefaultPageSize: Letter +*PageSize Letter/US Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice" +*PageSize A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice" +*PageSize A5/A5: "<</PageSize[421 595]/ImagingBBox null>>setpagedevice" +*PageSize B5/B5 (JIS): "<</PageSize[516 729]/ImagingBBox null>>setpagedevice" +*PageSize Env10/Envelope #10: "<</PageSize[297 684]/ImagingBBox null>>setpagedevice" +*PageSize EnvC5/Envelope C5: "<</PageSize[459 649]/ImagingBBox null>>setpagedevice" +*PageSize EnvDL/Envelope DL: "<</PageSize[312 624]/ImagingBBox null>>setpagedevice" +*PageSize EnvISOB5/Envelope B5: "<</PageSize[499 709]/ImagingBBox null>>setpagedevice" +*PageSize EnvMonarch/Envelope Monarch: "<</PageSize[279 540]/ImagingBBox null>>setpagedevice" +*PageSize Executive/Executive: "<</PageSize[522 756]/ImagingBBox null>>setpagedevice" +*PageSize Legal/US Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice" +*CloseUI: *PageSize + +*OpenUI *PageRegion: PickOne +*OrderDependency: 100 AnySetup *PageRegion +*DefaultPageRegion: Letter +*PageRegion Letter/US Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice" +*PageRegion A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice" +*PageRegion A5/A5: "<</PageSize[421 595]/ImagingBBox null>>setpagedevice" +*PageRegion B5/B5 (JIS): "<</PageSize[516 729]/ImagingBBox null>>setpagedevice" +*PageRegion Env10/Envelope #10: "<</PageSize[297 684]/ImagingBBox null>>setpagedevice" +*PageRegion EnvC5/Envelope C5: "<</PageSize[459 649]/ImagingBBox null>>setpagedevice" +*PageRegion EnvDL/Envelope DL: "<</PageSize[312 624]/ImagingBBox null>>setpagedevice" +*PageRegion EnvISOB5/Envelope B5: "<</PageSize[499 709]/ImagingBBox null>>setpagedevice" +*PageRegion EnvMonarch/Envelope Monarch: "<</PageSize[279 540]/ImagingBBox null>>setpagedevice" +*PageRegion Executive/Executive: "<</PageSize[522 756]/ImagingBBox null>>setpagedevice" +*PageRegion Legal/US Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice" +*CloseUI: *PageRegion + +*DefaultImageableArea: Letter +*ImageableArea Letter/US Letter: "18 36 594 756" +*ImageableArea A4/A4: "18 36 577 806" +*ImageableArea A5/A5: "18 36 403 559" +*ImageableArea B5/B5 (JIS): "18 36 498 693" +*ImageableArea Env10/Envelope #10: "18 36 279 648" +*ImageableArea EnvC5/Envelope C5: "18 36 441 613" +*ImageableArea EnvDL/Envelope DL: "18 36 294 588" +*ImageableArea EnvISOB5/Envelope B5: "18 36 481 673" +*ImageableArea EnvMonarch/Envelope Monarch: "18 36 261 504" +*ImageableArea Executive/Executive: "18 36 504 720" +*ImageableArea Legal/US Legal: "18 36 594 972" + +*DefaultPaperDimension: Letter +*PaperDimension Letter/US Letter: "612 792" +*PaperDimension A4/A4: "595 842" +*PaperDimension A5/A5: "421 595" +*PaperDimension B5/B5 (JIS): "516 729" +*PaperDimension Env10/Envelope #10: "297 684" +*PaperDimension EnvC5/Envelope C5: "459 649" +*PaperDimension EnvDL/Envelope DL: "312 624" +*PaperDimension EnvISOB5/Envelope B5: "499 709" +*PaperDimension EnvMonarch/Envelope Monarch: "279 540" +*PaperDimension Executive/Executive: "522 756" +*PaperDimension Legal/US Legal: "612 1008" + +*OpenUI *InkType/Ink Type: PickOne +*FoomaticRIPOption InkType: enum CmdLine B +*OrderDependency: 100 AnySetup *InkType +*DefaultInkType: Color +*InkType Black/Black cartridge: "%% FoomaticRIPOptionSetting: InkType=Black" +*FoomaticRIPOptionSetting InkType=Black: " -bw" +*InkType Color/Color cartridge: "%% FoomaticRIPOptionSetting: InkType=Color" +*FoomaticRIPOptionSetting InkType=Color: "" +*CloseUI: *InkType + +*CloseGroup: General + +*OpenGroup: Adjustment/Adjustment + +*OpenUI *Brightness/Brightness: PickOne +*FoomaticRIPOption Brightness: int CmdLine B +*FoomaticRIPOptionPrototype Brightness: " -b %s" +*FoomaticRIPOptionRange Brightness: 0 255 +*OrderDependency: 110 AnySetup *Brightness +*DefaultBrightness: 100 +*FoomaticRIPDefaultBrightness: 100 +*Brightness 0/0: "%% FoomaticRIPOptionSetting: Brightness=0" +*Brightness 5/5: "%% FoomaticRIPOptionSetting: Brightness=5" +*Brightness 10/10: "%% FoomaticRIPOptionSetting: Brightness=10" +*Brightness 15/15: "%% FoomaticRIPOptionSetting: Brightness=15" +*Brightness 20/20: "%% FoomaticRIPOptionSetting: Brightness=20" +*Brightness 25/25: "%% FoomaticRIPOptionSetting: Brightness=25" +*Brightness 30/30: "%% FoomaticRIPOptionSetting: Brightness=30" +*Brightness 35/35: "%% FoomaticRIPOptionSetting: Brightness=35" +*Brightness 40/40: "%% FoomaticRIPOptionSetting: Brightness=40" +*Brightness 45/45: "%% FoomaticRIPOptionSetting: Brightness=45" +*Brightness 50/50: "%% FoomaticRIPOptionSetting: Brightness=50" +*Brightness 55/55: "%% FoomaticRIPOptionSetting: Brightness=55" +*Brightness 60/60: "%% FoomaticRIPOptionSetting: Brightness=60" +*Brightness 65/65: "%% FoomaticRIPOptionSetting: Brightness=65" +*Brightness 70/70: "%% FoomaticRIPOptionSetting: Brightness=70" +*Brightness 75/75: "%% FoomaticRIPOptionSetting: Brightness=75" +*Brightness 80/80: "%% FoomaticRIPOptionSetting: Brightness=80" +*Brightness 85/85: "%% FoomaticRIPOptionSetting: Brightness=85" +*Brightness 90/90: "%% FoomaticRIPOptionSetting: Brightness=90" +*Brightness 95/95: "%% FoomaticRIPOptionSetting: Brightness=95" +*Brightness 100/100: "%% FoomaticRIPOptionSetting: Brightness=100" +*Brightness 105/105: "%% FoomaticRIPOptionSetting: Brightness=105" +*Brightness 110/110: "%% FoomaticRIPOptionSetting: Brightness=110" +*Brightness 115/115: "%% FoomaticRIPOptionSetting: Brightness=115" +*Brightness 120/120: "%% FoomaticRIPOptionSetting: Brightness=120" +*Brightness 125/125: "%% FoomaticRIPOptionSetting: Brightness=125" +*Brightness 130/130: "%% FoomaticRIPOptionSetting: Brightness=130" +*Brightness 135/135: "%% FoomaticRIPOptionSetting: Brightness=135" +*Brightness 140/140: "%% FoomaticRIPOptionSetting: Brightness=140" +*Brightness 145/145: "%% FoomaticRIPOptionSetting: Brightness=145" +*Brightness 150/150: "%% FoomaticRIPOptionSetting: Brightness=150" +*Brightness 155/155: "%% FoomaticRIPOptionSetting: Brightness=155" +*Brightness 160/160: "%% FoomaticRIPOptionSetting: Brightness=160" +*Brightness 165/165: "%% FoomaticRIPOptionSetting: Brightness=165" +*Brightness 170/170: "%% FoomaticRIPOptionSetting: Brightness=170" +*Brightness 175/175: "%% FoomaticRIPOptionSetting: Brightness=175" +*Brightness 180/180: "%% FoomaticRIPOptionSetting: Brightness=180" +*Brightness 185/185: "%% FoomaticRIPOptionSetting: Brightness=185" +*Brightness 190/190: "%% FoomaticRIPOptionSetting: Brightness=190" +*Brightness 195/195: "%% FoomaticRIPOptionSetting: Brightness=195" +*Brightness 200/200: "%% FoomaticRIPOptionSetting: Brightness=200" +*Brightness 205/205: "%% FoomaticRIPOptionSetting: Brightness=205" +*Brightness 210/210: "%% FoomaticRIPOptionSetting: Brightness=210" +*Brightness 215/215: "%% FoomaticRIPOptionSetting: Brightness=215" +*Brightness 220/220: "%% FoomaticRIPOptionSetting: Brightness=220" +*Brightness 225/225: "%% FoomaticRIPOptionSetting: Brightness=225" +*Brightness 230/230: "%% FoomaticRIPOptionSetting: Brightness=230" +*Brightness 235/235: "%% FoomaticRIPOptionSetting: Brightness=235" +*Brightness 240/240: "%% FoomaticRIPOptionSetting: Brightness=240" +*Brightness 245/245: "%% FoomaticRIPOptionSetting: Brightness=245" +*Brightness 250/250: "%% FoomaticRIPOptionSetting: Brightness=250" +*Brightness 255/255: "%% FoomaticRIPOptionSetting: Brightness=255" +*CloseUI: *Brightness + +*CloseGroup: Adjustment + + +*% Generic boilerplate PPD stuff as standard PostScript fonts and so on + +*DefaultFont: Courier +*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM +*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM +*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM +*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM +*Font Bookman-Demi: Standard "(001.004S)" Standard ROM +*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM +*Font Bookman-Light: Standard "(001.004S)" Standard ROM +*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM +*Font Courier: Standard "(002.004S)" Standard ROM +*Font Courier-Bold: Standard "(002.004S)" Standard ROM +*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM +*Font Courier-Oblique: Standard "(002.004S)" Standard ROM +*Font Helvetica: Standard "(001.006S)" Standard ROM +*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM +*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM +*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM +*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM +*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM +*Font Palatino-Bold: Standard "(001.005S)" Standard ROM +*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM +*Font Palatino-Italic: Standard "(001.005S)" Standard ROM +*Font Palatino-Roman: Standard "(001.005S)" Standard ROM +*Font Symbol: Special "(001.007S)" Special ROM +*Font Times-Bold: Standard "(001.007S)" Standard ROM +*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM +*Font Times-Italic: Standard "(001.007S)" Standard ROM +*Font Times-Roman: Standard "(001.007S)" Standard ROM +*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM +*Font ZapfDingbats: Special "(001.004S)" Standard ROM + diff --git a/source/apps-extra/lm1100/a4_page.patch b/source/apps-extra/lm1100/a4_page.patch new file mode 100644 index 0000000..53f36d6 --- /dev/null +++ b/source/apps-extra/lm1100/a4_page.patch @@ -0,0 +1,109 @@ +diff -pru a/LexmarkProtocol300c.cc b/LexmarkProtocol300c.cc +--- a/LexmarkProtocol300c.cc 2006-07-02 17:04:36.000000000 +0400 ++++ b/LexmarkProtocol300c.cc 2006-06-25 12:47:32.000000000 +0400 +@@ -59,6 +59,9 @@ Rect LexmarkProtocol300c::getPageSize(in + if(pageType == LETTER_PAGE) + //300x300 dpi 8 1/2 x 11 inch page + return Rect(0,0,2550,3300); ++ if(pageType == A4_PAGE) ++ //300x300 dpi 8.3 x 11.7 inch page ++ return Rect(0,0,2490,3510); + + die("Bad page type %d",pageType); + return Rect(); +diff -pru a/LexmarkProtocolBW.cc b/LexmarkProtocolBW.cc +--- a/LexmarkProtocolBW.cc 2006-07-02 17:04:36.000000000 +0400 ++++ b/LexmarkProtocolBW.cc 2006-07-02 17:01:11.000000000 +0400 +@@ -58,6 +58,9 @@ Rect LexmarkProtocolBW::getPageSize(int + if(pageType == LETTER_PAGE) + //300x300 dpi 8 1/2 x 11 inch page + return Rect(0,0,2550,3300); ++ if(pageType == A4_PAGE) ++ //300x300 dpi 8.3 x 11.7 inch page ++ return Rect(0,0,2490,3510); + + die("Bad page type %d",pageType); + return Rect(); +diff -pru a/PrinterProtocol.h b/PrinterProtocol.h +--- a/PrinterProtocol.h 2000-11-21 11:06:22.000000000 +0300 ++++ b/PrinterProtocol.h 2006-06-24 12:40:50.000000000 +0400 +@@ -2,5 +2,6 @@ + #define _PRINTER_PROTOCOL_H + + #define LETTER_PAGE 1 ++#define A4_PAGE 2 + + #endif +diff -pru a/main.cc b/main.cc +--- a/main.cc 2000-11-21 11:06:22.000000000 +0300 ++++ b/main.cc 2006-06-24 13:33:39.000000000 +0400 +@@ -34,18 +34,19 @@ Foundation, Inc., 59 Temple Place - Suit + + #define SPONGE_BUF 512000 + +-static void print(FILE *fp, SpongeWriter *sp, bool blackwhite, int brightness); ++static void print(FILE *fp, SpongeWriter *sp, bool blackwhite, int brightness, int pagesize); + + + int main(int argc, char *argv[]) + { +- if(argc < 2 || argc >5) ++ if(argc < 2 || argc >7) + { + die("Usage: %s [-bw] [-b value] <ppm/pbm raw file|->\n -bw black and white cartridge printing\n -b brightness value 0-255 defaults to 255. Less brightness = more ink\n",argv[0]); + } + + bool blackwhite = false; + int brightness = 255; ++ int pagesize = LETTER_PAGE; + int file_index = 0; + + while(++file_index < argc -1) +@@ -54,6 +55,14 @@ int main(int argc, char *argv[]) + blackwhite = true; + else if(strcmp(argv[file_index],"-b") == 0) + brightness = atoi(argv[++file_index]); ++ else if(strcmp(argv[file_index++],"-p") == 0){ ++ if(strcmp(argv[file_index],"letter") == 0) ++ pagesize = LETTER_PAGE; ++ else if(strcmp(argv[file_index],"a4") == 0) ++ pagesize = A4_PAGE; ++ else ++ die("Invalid page size `%s`\n",argv[++file_index]); ++ } + } + + SpongeWriter sp(SPONGE_BUF,1); +@@ -67,7 +76,7 @@ int main(int argc, char *argv[]) + if(fd == NULL) + die("Couldn't open %s for reading\n",argv[file_index]); + +- print(fd,&sp,blackwhite,brightness); ++ print(fd,&sp,blackwhite,brightness,pagesize); + } + else { + // reading from stdin, accept as many images that are sent +@@ -78,12 +87,12 @@ int main(int argc, char *argv[]) + break; + ungetc(c,stdin); + +- print(stdin,&sp,blackwhite,brightness); ++ print(stdin,&sp,blackwhite,brightness,pagesize); + } + } + } + +-void print(FILE *fd,SpongeWriter *sp,bool blackwhite, int brightness) ++void print(FILE *fd,SpongeWriter *sp,bool blackwhite, int brightness, int pagesize) + { + Reader r(fd,false); + char buffer[255]; +@@ -105,7 +114,7 @@ void print(FILE *fd,SpongeWriter *sp,boo + p = new LexmarkProtocol300c(sp); + + //get the page size +- Rect pageSize = p->getPageSize(LETTER_PAGE); ++ Rect pageSize = p->getPageSize(pagesize); + + Head h(&m,p, &pageSize); + diff --git a/source/apps-extra/lm1100/lm1100-gcc.patch b/source/apps-extra/lm1100/lm1100-gcc.patch new file mode 100644 index 0000000..074a16e --- /dev/null +++ b/source/apps-extra/lm1100/lm1100-gcc.patch @@ -0,0 +1,122 @@ +diff -aur lm1100.1.0.2a/Jet.h fw_lm1100.1.0.2a/Jet.h +--- lm1100.1.0.2a/Jet.h 2000-11-21 09:06:22.000000000 +0100 ++++ fw_lm1100.1.0.2a/Jet.h 2007-11-02 11:42:16.000000000 +0100 +@@ -45,7 +45,7 @@ + Coord imageStart; // start of image from edge of paper + + bool insideImage(int x, int y); +- bool Jet::needsPainting(int ix, int iy, int bit); ++ bool needsPainting(int ix, int iy, int bit); + + public: + /* Range of paper jet covers when head is at 0,0 */ +@@ -54,7 +54,7 @@ + /* Range of paper jet needs to cover to get the entire image */ + void getImageRange(Rect *dest); + Coord *getPreferredImageStart(Coord *start); +- int Jet::getPreferredEnd(); ++ int getPreferredEnd(); + bool finished(); + void setImageStart(Coord *imageStart); + void paint(int startX, int endX, int y, class LexmarkProtocol *protocol); +diff -aur lm1100.1.0.2a/LexmarkProtocol300c.cc fw_lm1100.1.0.2a/LexmarkProtocol300c.cc +--- lm1100.1.0.2a/LexmarkProtocol300c.cc 2000-11-21 09:06:22.000000000 +0100 ++++ fw_lm1100.1.0.2a/LexmarkProtocol300c.cc 2007-11-02 11:45:55.000000000 +0100 +@@ -69,7 +69,7 @@ + Jet **LexmarkProtocol300c::createJets(int *numJets, Map *imageMap) + { + *numJets = 6; +- class Jet **jets = new (Jet *)[6]; ++ class Jet **jets = new Jet *[6]; + jets[0] = new Jet(0,9,0,imageMap,LEFT_JET,0,8); + jets[1] = new Jet(1,0,0,imageMap,RIGHT_JET,0,8); + jets[2] = new Jet(2,-9,20,imageMap,LEFT_JET,1,8); +diff -aur lm1100.1.0.2a/LexmarkProtocolBW.cc fw_lm1100.1.0.2a/LexmarkProtocolBW.cc +--- lm1100.1.0.2a/LexmarkProtocolBW.cc 2000-11-21 09:06:22.000000000 +0100 ++++ fw_lm1100.1.0.2a/LexmarkProtocolBW.cc 2007-11-02 11:47:31.000000000 +0100 +@@ -68,7 +68,7 @@ + Jet **LexmarkProtocolBW::createJets(int *numJets, Map *imageMap) + { + *numJets = 2; +- class Jet **jets = new (Jet *)[2]; ++ class Jet **jets = new Jet *[2]; + jets[0] = new Jet(0,9,0,imageMap,LEFT_JET,0,28); + jets[1] = new Jet(0,0,0,imageMap,RIGHT_JET,0,28); + +diff -aur lm1100.1.0.2a/LinkedList.h fw_lm1100.1.0.2a/LinkedList.h +--- lm1100.1.0.2a/LinkedList.h 2000-11-21 09:06:22.000000000 +0100 ++++ fw_lm1100.1.0.2a/LinkedList.h 2007-11-02 11:40:57.000000000 +0100 +@@ -26,8 +26,8 @@ + void *object; + LinkedList *next; + +- LinkedList::LinkedList(); +- LinkedList::LinkedList(void * object); ++ LinkedList(); ++ LinkedList(void * object); + }; + + #endif +Only in fw_lm1100.1.0.2a/: lm1100 +diff -aur lm1100.1.0.2a/Map.h fw_lm1100.1.0.2a/Map.h +--- lm1100.1.0.2a/Map.h 2000-11-21 09:06:22.000000000 +0100 ++++ fw_lm1100.1.0.2a/Map.h 2007-11-02 11:40:31.000000000 +0100 +@@ -41,7 +41,7 @@ + int height; /* height of map in cells */ + + Map(int width, int height, int cellSize); +- Map::~Map(); ++ ~Map(); + + void cacheLines(int start, int len); + void addAlgorithm(MapAlgorithm *algorithm); +diff -aur lm1100.1.0.2a/PaintLine300c.h fw_lm1100.1.0.2a/PaintLine300c.h +--- lm1100.1.0.2a/PaintLine300c.h 2000-11-21 09:06:22.000000000 +0100 ++++ fw_lm1100.1.0.2a/PaintLine300c.h 2007-11-02 11:43:35.000000000 +0100 +@@ -32,7 +32,7 @@ + int size; + int x,y; + +- friend LexmarkProtocol300c; ++ friend class LexmarkProtocol300c; + + public: + void pad(int pad_amount); +diff -aur lm1100.1.0.2a/PaintLineBW.h fw_lm1100.1.0.2a/PaintLineBW.h +--- lm1100.1.0.2a/PaintLineBW.h 2000-11-21 09:06:22.000000000 +0100 ++++ fw_lm1100.1.0.2a/PaintLineBW.h 2007-11-02 11:46:29.000000000 +0100 +@@ -33,7 +33,7 @@ + int size; + int x,y; + +- friend LexmarkProtocolBW; ++ friend class LexmarkProtocolBW; + + public: + void pad(int pad_amount); +diff -aur lm1100.1.0.2a/PPMRaw.h fw_lm1100.1.0.2a/PPMRaw.h +--- lm1100.1.0.2a/PPMRaw.h 2000-11-21 09:06:22.000000000 +0100 ++++ fw_lm1100.1.0.2a/PPMRaw.h 2007-11-02 11:48:13.000000000 +0100 +@@ -32,7 +32,7 @@ + + public: + PPMRaw(Reader *reader,bool readMagic); +- static void PPMRaw::readHeader(int *width, int *height, int *maxval, Reader *reader, bool readMagic); ++ static void readHeader(int *width, int *height, int *maxval, Reader *reader, bool readMagic); + + virtual void getRGB(RGB *rgb, int x, int y); + +diff -aur lm1100.1.0.2a/Rect.h fw_lm1100.1.0.2a/Rect.h +--- lm1100.1.0.2a/Rect.h 2000-11-21 09:06:22.000000000 +0100 ++++ fw_lm1100.1.0.2a/Rect.h 2007-11-02 11:41:48.000000000 +0100 +@@ -23,8 +23,8 @@ + class Rect + { + public: +- Rect::Rect(); +- Rect::Rect(int x, int y, int width, int height); ++ Rect(); ++ Rect(int x, int y, int width, int height); + + int x,y,width,height; + _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
