Collection of macros and functions shared by all HL1 printer drivers.
More...
Go to the source code of this file.
- Copyright
- GNU General Public License 2 or later
- Author
- Jürgen Borleis
- Warning
- Use as experimental
◆ to_hl1_drv()
| static struct hl1_drv * to_hl1_drv |
( |
void * |
d | ) |
|
|
inlinestatic |
Convert the anonymous pointer used in libcapsdriver into our HL1 information collection
- Parameters
-
| [in] | d | Anonymous structure pointer |
- Returns
- Pointer to our struct hl1_drv
◆ hl10_driver_submodule_init()
◆ hl11_driver_submodule_init()
◆ hl12_driver_submodule_init()
◆ hl14_driver_submodule_init()
◆ hl16_driver_submodule_init()
◆ hl18_driver_submodule_init()
◆ hl_group1_printable_media
Supported media sizes for laser printer group #1
These values are valid for:
- HL-2000 series laser printers
- HL-2100 series laser printers
◆ hl_group2_printable_media
Supported media sizes for laser printer group #2
These values are valid for:
- HL-1030
- HL-1230
- HL-1240
- HL-1250
- HL-1270N
- HL-1435
- HL-1440
- HL-1450
- HL-1470
- HL-1650
- HL-1670
- HL-1800 series laser printers
- HL-1050?
- HL-1070?
- Note
- All values in 1/72 inch
◆ hl_group1_printable_margins
Hardware margins for laser printer group #1
These values are valid for:
- HL-2000 series laser printers
- HL-2100 series laser printers
- HL-1230
- HL-1440
- HL-1450
- HL-1470N
- HL-1650
- HL-1670
- Note
- All values in 1/72 inch
-
Experiences show, the HL-2030 can print up to 205 mm in width
-
Experiences show, the HL-2130 can print up to 210 mm in width
-
If you report a letter format to the printer you can print to an A4 format to its full width (210 mm). E.g. the printer moves the first printable dot 3 mm to the right, if you report an A4 paper format to the printer.
-
Experiences show, the really hard limits are: 4 mm at the top of the page, 2.8 mm at the right and left border of the letter format (due to the OLPC drum covers 210 mm and letter is of 216 mm). At least for an HL-2130 printer.
◆ hl_group2_printable_margins
Hardware margins for laser printer group #2
These values are valid for:
- HL-1030
- HL-1240
- HL-1250
- HL-1270N
- HL-1800 series laser printer
- Note
- All values in 1/72 inch