forked from agalakhov/captdriver
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix LBP3000 support, add multiple page sizes
- Loading branch information
Showing
8 changed files
with
832 additions
and
113 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
AC_PREREQ([2.69]) | ||
AC_INIT([captdriver], [0.1.0]) | ||
AC_INIT([captdriver], [0.1.2]) | ||
|
||
AC_CONFIG_SRCDIR([src/std.h]) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
/* | ||
* Canon CAPT LBP Printers | ||
* captdriver PPD Source File | ||
* for use with CUPS ppdc to generate PPDs | ||
* | ||
*/ | ||
#include <font.defs> | ||
#include <media.defs> | ||
|
||
#media "SISG5/SIS G5" 169mm 239mm | ||
#media "SISE5/SIS E5" 115mm 220mm | ||
#media "SAC16K/SAC 16K" 188mm 260mm | ||
#media "SAC32K/SAC 32K" 130mm 184mm | ||
|
||
Copyright "(C)2020 Moses Chong" | ||
ColorModel "Gray/Grayscale" k chunky 2 | ||
Filter application/vnd.cups-raster 1 rastertocapt | ||
*Manufacturer "Canon Inc" | ||
Version 0.1.2 | ||
{ | ||
Font * | ||
|
||
// Common Sizes | ||
*MediaSize A4 | ||
MediaSize A5 | ||
MediaSize A6 | ||
MediaSize B6 | ||
MediaSize C6 | ||
MediaSize EnvC5 | ||
MediaSize EnvC6 | ||
MediaSize EnvChou3 | ||
MediaSize EnvDL | ||
MediaSize Env10 | ||
MediaSize EnvItalian | ||
MediaSize Executive // US 7.25x10.5 inch | ||
MediaSize Folio // SE Asian F4 | ||
MediaSize Legal | ||
MediaSize Letter | ||
MediaSize SISG5 | ||
MediaSize SISE5 | ||
MediaSize SAC16K | ||
MediaSize SAC32K | ||
|
||
// Less Common Sizes | ||
/* | ||
* Sizes A6 and larger, and no wider than US Legal have | ||
* been included here. | ||
* | ||
* PROTIP: Delete this section and recompile PPD, for a | ||
* less cluttered Paper Size menu in most applications, | ||
* if you don't use these sizes. If you use any of them, | ||
* move the sizes you need from below to the section above, | ||
* then delete the rest. | ||
* | ||
* NOTE: Some of the sizes appear to be identical to | ||
* another at least in terms of width and length. There | ||
* could be other differences, and may be useful in managing | ||
* multiple trays on printers that support them. | ||
* | ||
*/ | ||
MediaSize 7x9 | ||
MediaSize 8x10 | ||
MediaSize A4Small // Same dimensions as A4 | ||
MediaSize A4Plus // Longer than Folio (F4) by just one point | ||
MediaSize A5Extra | ||
MediaSize B5 | ||
MediaSize B7 | ||
MediaSize DoublePostcard | ||
MediaSize Env9 | ||
MediaSize Env11 | ||
MediaSize Env12 | ||
MediaSize Env14 | ||
MediaSize EnvC65 | ||
MediaSize EnvChou4 | ||
MediaSize EnvISOB5 | ||
MediaSize EnvISOB6 | ||
MediaSize EnvKaku3 | ||
MediaSize EnvMonarch | ||
MediaSize EnvPersonal | ||
MediaSize EnvPRC1 | ||
MediaSize EnvPRC2 | ||
MediaSize EnvPRC3 | ||
MediaSize EnvPRC4 | ||
MediaSize EnvPRC5 | ||
MediaSize EnvPRC6 | ||
MediaSize EnvPRC7 | ||
MediaSize EnvPRC8 | ||
MediaSize EnvYou4 | ||
MediaSize FanFoldGerman | ||
MediaSize FanFoldGermanLegal | ||
MediaSize ISOB5 | ||
MediaSize ISOB5Extra | ||
MediaSize ISOB6 | ||
MediaSize ISOB7 | ||
MediaSize LetterPlus | ||
MediaSize Note // Same dimensions as Letter (US) | ||
MediaSize Postcard | ||
MediaSize PRC16K | ||
MediaSize PRC32K | ||
MediaSize PRC32KBig | ||
MediaSize Quarto | ||
MediaSize Statement | ||
// End Less Common Sizes | ||
|
||
*Resolution k 1 70 592 0 "600dpi/600 DPI" | ||
MaxSize 215.9mm 355.6mm // US Legal | ||
VariablePaperSize yes | ||
{ | ||
// nearly matched to Alexey Galakhov's original 2011 specs | ||
*ModelName "LBP2900/LBP3010 r2c" | ||
FileName "Canon-LBP2900.ppd" | ||
MinSize 75mm 105mm | ||
HWmargins 4.7095835mm 4.7095835mm 4.709583mm 4.709583mm | ||
PCFileName "CNLB2K9.ppd" | ||
} | ||
|
||
{ | ||
*ModelName "LBP3000 r2c" | ||
FileName "Canon-LBP3000.ppd" | ||
HWmargins 5mm 5mm 5mm 5mm | ||
MinSize 75mm 105mm | ||
MediaType 1 "Plain/Plain Paper" | ||
PCFileName "CNLB3K.ppd" | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters