#include <gimp-print/gimp-print.h>
#include <gimp-print/gimp-print-intl-internal.h>
#include "gimp-print-internal.h"
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
|
Definition at line 48 of file print-pcl.c. |
|
Definition at line 163 of file print-pcl.c. Referenced by pcl_convert_media_size(). |
|
Definition at line 238 of file print-pcl.c. Referenced by pcl_parameters(). |
|
Definition at line 187 of file print-pcl.c. Referenced by pcl_parameters(). |
|
Definition at line 258 of file print-pcl.c. Referenced by pcl_describe_resolution(), pcl_do_print(), and pcl_parameters(). |
|
Definition at line 195 of file print-pcl.c. Referenced by pcl_do_print(). |
|
Definition at line 310 of file print-pcl.c. Referenced by pcl_describe_output(), and pcl_do_print(). |
|
Definition at line 311 of file print-pcl.c. |
|
Definition at line 312 of file print-pcl.c. Referenced by pcl_do_print(). |
|
Definition at line 314 of file print-pcl.c. Referenced by pcl_do_print(). |
|
Definition at line 313 of file print-pcl.c. Referenced by pcl_parameters(). |
|
Definition at line 309 of file print-pcl.c. Referenced by pcl_parameters(). |
|
Definition at line 111 of file print-pcl.c. |
|
Definition at line 109 of file print-pcl.c. |
|
Definition at line 110 of file print-pcl.c. |
|
Definition at line 103 of file print-pcl.c. |
|
Definition at line 102 of file print-pcl.c. Referenced by internal_imageable_area(), and pcl_do_print(). |
|
Definition at line 101 of file print-pcl.c. |
|
Definition at line 108 of file print-pcl.c. |
|
Definition at line 115 of file print-pcl.c. |
|
Definition at line 116 of file print-pcl.c. |
|
Definition at line 113 of file print-pcl.c. |
|
Definition at line 117 of file print-pcl.c. Referenced by pcl_do_print(). |
|
Definition at line 114 of file print-pcl.c. |
|
Definition at line 95 of file print-pcl.c. |
|
Definition at line 106 of file print-pcl.c. |
|
Definition at line 122 of file print-pcl.c. |
|
Definition at line 118 of file print-pcl.c. |
|
Definition at line 119 of file print-pcl.c. |
|
Definition at line 120 of file print-pcl.c. |
|
Definition at line 105 of file print-pcl.c. |
|
Definition at line 104 of file print-pcl.c. |
|
Definition at line 121 of file print-pcl.c. |
|
Definition at line 97 of file print-pcl.c. |
|
Definition at line 96 of file print-pcl.c. |
|
Definition at line 112 of file print-pcl.c. |
|
Definition at line 107 of file print-pcl.c. |
|
Definition at line 99 of file print-pcl.c. |
|
Definition at line 100 of file print-pcl.c. |
|
Definition at line 98 of file print-pcl.c. |
|
Definition at line 210 of file print-pcl.c. |
|
Definition at line 208 of file print-pcl.c. |
|
Definition at line 219 of file print-pcl.c. |
|
Definition at line 217 of file print-pcl.c. |
|
Definition at line 214 of file print-pcl.c. |
|
Definition at line 215 of file print-pcl.c. |
|
Definition at line 199 of file print-pcl.c. |
|
Definition at line 205 of file print-pcl.c. |
|
Definition at line 202 of file print-pcl.c. |
|
Definition at line 203 of file print-pcl.c. |
|
Definition at line 204 of file print-pcl.c. |
|
Definition at line 198 of file print-pcl.c. |
|
Definition at line 197 of file print-pcl.c. Referenced by pcl_do_print(). |
|
Definition at line 170 of file print-pcl.c. Referenced by pcl_do_print(). |
|
Definition at line 172 of file print-pcl.c. Referenced by pcl_do_print(). |
|
Definition at line 169 of file print-pcl.c. Referenced by pcl_do_print(). |
|
Definition at line 171 of file print-pcl.c. Referenced by pcl_do_print(). |
|
Definition at line 174 of file print-pcl.c. |
|
Definition at line 175 of file print-pcl.c. |
|
Definition at line 173 of file print-pcl.c. Referenced by pcl_do_print(). |
|
Definition at line 323 of file print-pcl.c. Referenced by pcl_do_print(). |
|
Definition at line 322 of file print-pcl.c. Referenced by pcl_papersize_valid(). |
|
Definition at line 317 of file print-pcl.c. Referenced by pcl_do_print(). |
|
Definition at line 316 of file print-pcl.c. |
|
Definition at line 321 of file print-pcl.c. Referenced by pcl_do_print(). |
|
Definition at line 318 of file print-pcl.c. Referenced by pcl_do_print(). |
|
Definition at line 320 of file print-pcl.c. Referenced by pcl_do_print(). |
|
Definition at line 245 of file print-pcl.c. |
|
Definition at line 240 of file print-pcl.c. |
|
Definition at line 246 of file print-pcl.c. |
|
Definition at line 241 of file print-pcl.c. Referenced by pcl_parameters(). |
|
Definition at line 242 of file print-pcl.c. |
|
Definition at line 244 of file print-pcl.c. |
|
Definition at line 243 of file print-pcl.c. Referenced by pcl_describe_output(), and pcl_do_print(). |
|
Definition at line 2624 of file print-pcl.c. |
|
Definition at line 2623 of file print-pcl.c. |
|
Definition at line 1887 of file print-pcl.c. References stp_check_float_parameter(), stp_get_float_parameter(), and STP_PARAMETER_ACTIVE. Referenced by canon_do_print(), lexmark_do_print(), pcl_do_print(), set_ink_ranges(), and setup_inks(). |
|
Definition at line 1652 of file print-pcl.c. References pcl_cap_t::a4_margins, stp_papersize_t::bottom, margins_t::bottom_margin, stp_papersize_t::left, margins_t::left_margin, MAX, stp_papersize_t::name, pcl_cap_t::normal_margins, pcl_convert_media_size(), pcl_get_model_capabilities(), PCL_PAPERSIZE_A4, stp_papersize_t::right, margins_t::right_margin, STP_DBG_PCL, stp_default_media_size(), stp_deprintf(), stp_get_model_id(), stp_get_page_height(), stp_get_page_width(), stp_get_papersize_by_name(), stp_get_papersize_by_size(), stp_get_string_parameter(), stp_papersize_t::top, and margins_t::top_margin. Referenced by canon_do_print(), canon_imageable_area(), escp2_imageable_area(), lexmark_do_print(), lexmark_imageable_area(), pcl_do_print(), pcl_imageable_area(), and setup_page(). |
|
Definition at line 1341 of file print-pcl.c. References NUM_PRINTER_PAPER_SIZES, pcl_cap_t::paper_sizes, pcl_get_model_capabilities(), pcl_string_to_val(), STP_DBG_PCL, and stp_deprintf(). Referenced by internal_imageable_area(), pcl_do_print(), and pcl_papersize_valid(). |
|
Definition at line 1744 of file print-pcl.c. References pcl_cap_t::color_type, PCL_COLOR_CMY, pcl_describe_resolution(), pcl_get_model_capabilities(), PCL_RES_600_600_MONO, pcl_cap_t::resolutions, stp_get_model_id(), and stp_get_string_parameter(). |
|
Definition at line 261 of file print-pcl.c. References NUM_RESOLUTIONS, pcl_t::p0, pcl_t::p1, and stp_get_string_parameter(). Referenced by pcl_describe_output(). |
|
|
Definition at line 1324 of file print-pcl.c. References pcl_cap_t::model, and stp_erprintf(). Referenced by internal_imageable_area(), pcl_convert_media_size(), pcl_describe_output(), pcl_do_print(), pcl_limit(), pcl_papersize_valid(), and pcl_parameters(). |
|
Definition at line 1720 of file print-pcl.c. References internal_imageable_area(). |
|
Definition at line 1730 of file print-pcl.c. References pcl_cap_t::custom_max_height, pcl_cap_t::custom_max_width, pcl_cap_t::custom_min_height, pcl_cap_t::custom_min_width, pcl_get_model_capabilities(), and stp_get_model_id(). |
|
Definition at line 1456 of file print-pcl.c. References float_parameter_count, stp_parameter_list_add_param(), stp_parameter_list_create(), stp_parameter_list_t, and the_parameter_count. |
|
Definition at line 2565 of file print-pcl.c. References stp_zfwrite(), and stp_zprintf(). Referenced by pcl_do_print(). |
|
Definition at line 2580 of file print-pcl.c. References pcl_privdata_t::comp_buf, stp_get_component_data(), stp_pack_tiff(), stp_zfwrite(), and stp_zprintf(). Referenced by pcl_do_print(). |
|
Definition at line 1391 of file print-pcl.c. References pcl_cap_t::custom_max_height, pcl_cap_t::custom_max_width, pcl_cap_t::custom_min_height, pcl_cap_t::custom_min_width, stp_papersize_t::height, stp_papersize_t::name, pcl_convert_media_size(), pcl_get_model_capabilities(), PCL_PRINTER_CUSTOM_SIZE, pcl_cap_t::stp_printer_type, and stp_papersize_t::width. Referenced by pcl_parameters(). |
|
|
Definition at line 2534 of file print-pcl.c. References pcl_do_print(), stp_prune_inactive_options(), stp_vars_create_copy(), and stp_vars_destroy(). |
|
Definition at line 1774 of file print-pcl.c. References pcl_privdata_t::blank_lines, pcl_privdata_t::do_6color, pcl_privdata_t::do_blank, pcl_privdata_t::do_cret, pcl_privdata_t::do_cretb, pcl_privdata_t::height, STP_DBG_PCL, stp_deprintf(), stp_dither_get_channel(), stp_dither_get_last_position(), STP_ECOLOR_C, STP_ECOLOR_K, STP_ECOLOR_M, STP_ECOLOR_Y, stp_get_component_data(), stp_get_string_parameter(), stp_zprintf(), and pcl_privdata_t::writefunc. Referenced by pcl_do_print(). |
|
Definition at line 1227 of file print-pcl.c. References pcl_t::pcl_code, STP_DBG_PCL, and stp_deprintf(). Referenced by pcl_convert_media_size(), and pcl_do_print(). |
|
Definition at line 1255 of file print-pcl.c. References pcl_t::pcl_code, pcl_t::pcl_name, STP_DBG_PCL, and stp_deprintf(). Referenced by pcl_parameters(). |
|
Definition at line 1279 of file print-pcl.c. References pcl_t::pcl_code, pcl_t::pcl_text, STP_DBG_PCL, and stp_deprintf(). Referenced by pcl_parameters(). |
|
Definition at line 2616 of file print-pcl.c. References stp_family::printer_list, and stp_family_unregister(). |
|
Definition at line 2609 of file print-pcl.c. References stp_family::printer_list, and stp_family_register(). |
|
Initial value: { PCL_PAPERTYPE_PLAIN, PCL_PAPERTYPE_BOND, PCL_PAPERTYPE_PREMIUM, PCL_PAPERTYPE_GLOSSY, PCL_PAPERTYPE_TRANS, -1, } Definition at line 574 of file print-pcl.c. |
|
|
Initial value: { PCL_PAPERSIZE_EXECUTIVE, PCL_PAPERSIZE_LETTER, PCL_PAPERSIZE_LEGAL, PCL_PAPERSIZE_A5, PCL_PAPERSIZE_A4, PCL_PAPERSIZE_4x6, PCL_PAPERSIZE_5x8, -1, } Definition at line 483 of file print-pcl.c. |
|
Definition at line 424 of file print-pcl.c. |
|
Initial value: { PCL_PAPERSIZE_EXECUTIVE, PCL_PAPERSIZE_LETTER, PCL_PAPERSIZE_LEGAL, PCL_PAPERSIZE_A5, PCL_PAPERSIZE_A4, PCL_PAPERSIZE_HAGAKI_CARD, PCL_PAPERSIZE_A6_CARD, PCL_PAPERSIZE_4x6, PCL_PAPERSIZE_5x8, PCL_PAPERSIZE_3x5, PCL_PAPERSIZE_COMMERCIAL10_ENV, PCL_PAPERSIZE_DL_ENV, PCL_PAPERSIZE_C6_ENV, PCL_PAPERSIZE_INVITATION_ENV, -1, } Definition at line 497 of file print-pcl.c. |
|
|
Initial value: { PCL_PAPERSOURCE_STANDARD, PCL_PAPERSOURCE_MANUAL, PCL_PAPERSOURCE_DJ_AUTO, PCL_PAPERSOURCE_DJ_TRAY, PCL_PAPERSOURCE_DJ_TRAY2, PCL_PAPERSOURCE_DJ_OPTIONAL, -1, } Definition at line 624 of file print-pcl.c. |
|
Initial value: Definition at line 358 of file print-pcl.c. |
|
Initial value: { PCL_PAPERSOURCE_STANDARD, PCL_PAPERSOURCE_MANUAL, PCL_PAPERSOURCE_340_PCSF, PCL_PAPERSOURCE_340_DCSF, -1, } Definition at line 607 of file print-pcl.c. |
|
Initial value: { PCL_PAPERSIZE_EXECUTIVE, PCL_PAPERSIZE_LETTER, PCL_PAPERSIZE_LEGAL, PCL_PAPERSIZE_A4, PCL_PAPERSIZE_JIS_B5, -1, } Definition at line 367 of file print-pcl.c. |
|
Initial value: { PCL_PAPERSIZE_LETTER, PCL_PAPERSIZE_LEGAL, PCL_PAPERSIZE_A4, PCL_PAPERSIZE_COMMERCIAL10_ENV, -1, } Definition at line 377 of file print-pcl.c. |
|
Initial value: { PCL_PAPERSIZE_EXECUTIVE, PCL_PAPERSIZE_LETTER, PCL_PAPERSIZE_LEGAL, PCL_PAPERSIZE_A4, PCL_PAPERSIZE_A5, PCL_PAPERSIZE_JIS_B5, PCL_PAPERSIZE_HAGAKI_CARD, PCL_PAPERSIZE_A6_CARD, PCL_PAPERSIZE_4x6, PCL_PAPERSIZE_5x8, PCL_PAPERSIZE_COMMERCIAL10_ENV, PCL_PAPERSIZE_DL_ENV, PCL_PAPERSIZE_C6_ENV, -1, } Definition at line 388 of file print-pcl.c. |
|
Initial value: { PCL_PAPERSIZE_EXECUTIVE, PCL_PAPERSIZE_LETTER, PCL_PAPERSIZE_LEGAL, PCL_PAPERSIZE_A4, PCL_PAPERSIZE_A5, PCL_PAPERSIZE_HAGAKI_CARD, PCL_PAPERSIZE_A6_CARD, PCL_PAPERSIZE_4x6, PCL_PAPERSIZE_5x8, PCL_PAPERSIZE_COMMERCIAL10_ENV, PCL_PAPERSIZE_DL_ENV, PCL_PAPERSIZE_C6_ENV, PCL_PAPERSIZE_INVITATION_ENV, -1, } Definition at line 406 of file print-pcl.c. |
|
Initial value: Definition at line 616 of file print-pcl.c. |
|
Definition at line 1303 of file print-pcl.c. Referenced by pcl_do_print(). |
|
Definition at line 1304 of file print-pcl.c. Referenced by pcl_do_print(). |
|
Initial value: { -1 } Definition at line 337 of file print-pcl.c. |
|
Initial value: sizeof(float_parameters) / sizeof(const float_param_t) Definition at line 1220 of file print-pcl.c. Referenced by pcl_list_parameters(), and pcl_parameters(). |
|
Definition at line 1168 of file print-pcl.c. |
|
Initial value: Definition at line 1379 of file print-pcl.c. |
|
Initial value: { PCL_PAPERSOURCE_STANDARD, PCL_PAPERSOURCE_MANUAL, PCL_PAPERSOURCE_LJ_TRAY1, PCL_PAPERSOURCE_LJ_TRAY2, PCL_PAPERSOURCE_LJ_TRAY3, PCL_PAPERSOURCE_LJ_TRAY4, -1, } Definition at line 596 of file print-pcl.c. |
|
Initial value: { PCL_PAPERSIZE_LETTER, -1 } Definition at line 352 of file print-pcl.c. |
|
|
Initial value: { PCL_PAPERSIZE_EXECUTIVE, PCL_PAPERSIZE_STATEMENT, PCL_PAPERSIZE_LETTER, PCL_PAPERSIZE_LEGAL, PCL_PAPERSIZE_A4, PCL_PAPERSIZE_MONARCH_ENV, PCL_PAPERSIZE_COMMERCIAL10_ENV, PCL_PAPERSIZE_DL_ENV, PCL_PAPERSIZE_C5_ENV, PCL_PAPERSIZE_C6_ENV, -1, } Definition at line 537 of file print-pcl.c. |
|
Initial value: { PCL_PAPERTYPE_PLAIN, PCL_PAPERTYPE_BOND, PCL_PAPERTYPE_PREMIUM, PCL_PAPERTYPE_GLOSSY, PCL_PAPERTYPE_TRANS, PCL_PAPERTYPE_QPHOTO, PCL_PAPERTYPE_QTRANS, -1, } Definition at line 584 of file print-pcl.c. |
|
Definition at line 132 of file print-pcl.c. |
|
Initial value: { { "Standard", N_ ("Standard"), PCL_PAPERSOURCE_STANDARD}, { "Manual", N_ ("Manual"), PCL_PAPERSOURCE_MANUAL}, { "MultiPurpose", N_ ("Tray 1"), PCL_PAPERSOURCE_LJ_TRAY1}, { "Upper", N_ ("Tray 2"), PCL_PAPERSOURCE_LJ_TRAY2}, { "Lower", N_ ("Tray 3"), PCL_PAPERSOURCE_LJ_TRAY3}, { "LargeCapacity", N_ ("Tray 4"), PCL_PAPERSOURCE_LJ_TRAY4}, { "Portable", N_ ("Portable Sheet Feeder"), PCL_PAPERSOURCE_340_PCSF}, { "Desktop", N_ ("Desktop Sheet Feeder"), PCL_PAPERSOURCE_340_DCSF}, { "Tray", N_ ("Tray"), PCL_PAPERSOURCE_DJ_TRAY}, { "Tray2", N_ ("Tray 2"), PCL_PAPERSOURCE_DJ_TRAY2}, { "Optional", N_ ("Optional Source"), PCL_PAPERSOURCE_DJ_OPTIONAL}, { "Auto", N_ ("Autoselect"), PCL_PAPERSOURCE_DJ_AUTO}, } Definition at line 222 of file print-pcl.c. |
|
Initial value: { { "Plain", N_ ("Plain"), PCL_PAPERTYPE_PLAIN}, { "Bond", N_ ("Bond"), PCL_PAPERTYPE_BOND}, { "Premium", N_ ("Premium"), PCL_PAPERTYPE_PREMIUM}, { "Glossy", N_ ("Glossy Photo"), PCL_PAPERTYPE_GLOSSY}, { "Transparency", N_ ("Transparency"), PCL_PAPERTYPE_TRANS}, { "GlossyQD", N_ ("Quick-dry Photo"), PCL_PAPERTYPE_QPHOTO}, { "TransparencyQD", N_ ("Quick-dry Transparency"), PCL_PAPERTYPE_QTRANS}, } Definition at line 177 of file print-pcl.c. |
|
Definition at line 641 of file print-pcl.c. |
|
Initial value: { { "150dpi", N_("150x150 DPI"), PCL_RES_150_150, 150, 150}, { "300dpi", N_("300x300 DPI"), PCL_RES_300_300, 300, 300}, { "600x300dpi", N_("600x300 DPI"), PCL_RES_600_300, 600, 300}, { "600mono", N_("600x600 DPI monochrome"), PCL_RES_600_600_MONO, 600, 600}, { "600dpi", N_("600x600 DPI"), PCL_RES_600_600, 600, 600}, { "1200x600dpi", N_("1200x600 DPI"), PCL_RES_1200_600, 1200, 600}, { "2400x600dpi", N_("2400x600 DPI"), PCL_RES_2400_600, 2400, 600}, } Definition at line 248 of file print-pcl.c. |
|
Initial value: { { 1.0000, 1, single_dotsize }, { 0.3333, 1, single_dotsize }, } Definition at line 80 of file print-pcl.c. |
|
Initial value: { &print_pcl_printfuncs, NULL } Definition at line 2601 of file print-pcl.c. |
|
Initial value: { pcl_list_parameters, pcl_parameters, stp_default_media_size, pcl_imageable_area, pcl_limit, pcl_print, pcl_describe_resolution, pcl_describe_output, stp_verify_printer_params, NULL, NULL } Definition at line 2544 of file print-pcl.c. |
|
Initial value: { { 0x1, 1.0 } } Definition at line 75 of file print-pcl.c. |
|
Initial value: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" "<gimp-print>\n" "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n" "<sequence count=\"48\" lower-bound=\"-6\" upper-bound=\"6\">\n" "0.00 0.06 0.10 0.10 0.06 -.01 -.09 -.17 " "-.25 -.33 -.38 -.38 -.36 -.34 -.34 -.34 " "-.34 -.34 -.36 -.40 -.50 -.40 -.30 -.20 " "-.12 -.07 -.04 -.02 0.00 0.00 0.00 0.00 " "0.00 0.00 0.00 -.05 -.10 -.15 -.22 -.24 " "-.26 -.30 -.33 -.28 -.25 -.20 -.13 -.06 " "</sequence>\n" "</curve>\n" "</gimp-print>\n" Definition at line 1095 of file print-pcl.c. Referenced by pcl_do_print(). |
|
Initial value: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" "<gimp-print>\n" "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n" "<sequence count=\"48\" lower-bound=\"0\" upper-bound=\"4\">\n" "0.50 0.52 0.56 0.60 0.66 0.71 0.74 0.77 " "0.81 0.79 0.74 0.68 0.70 0.74 0.77 0.82 " "0.88 0.93 0.95 0.97 0.97 0.96 0.95 0.95 " "0.95 0.96 0.97 0.98 0.99 1.00 1.00 1.00 " "1.00 0.97 0.94 0.92 0.90 0.88 0.85 0.79 " "0.69 0.64 0.58 0.54 0.54 0.54 0.53 0.51 " "</sequence>\n" "</curve>\n" "</gimp-print>\n" Definition at line 1080 of file print-pcl.c. Referenced by pcl_do_print(). |
|
Initial value: { PCL_PAPERSIZE_EXECUTIVE, PCL_PAPERSIZE_STATEMENT, PCL_PAPERSIZE_LETTER, PCL_PAPERSIZE_LEGAL, PCL_PAPERSIZE_A4, -1, } Definition at line 342 of file print-pcl.c. |
|
Initial value: { PCL_PAPERSOURCE_STANDARD, -1 } Definition at line 635 of file print-pcl.c. |
|
Initial value: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" "<gimp-print>\n" "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n" "<sequence count=\"48\" lower-bound=\"0\" upper-bound=\"4\">\n" "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 " "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 " "1.00 0.95 0.90 0.90 0.90 0.90 0.90 0.90 " "0.90 0.95 0.95 1.00 1.00 1.00 1.00 1.00 " "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 " "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 " "</sequence>\n" "</curve>\n" "</gimp-print>\n" Definition at line 1065 of file print-pcl.c. |
|
Initial value: { "pcl", VERSION, "PCL family driver", STP_MODULE_CLASS_FAMILY, NULL, print_pcl_module_init, print_pcl_module_exit, (void *) &print_pcl_module_data } Definition at line 2628 of file print-pcl.c. |
|
Definition at line 2626 of file print-pcl.c. |
|
Initial value: sizeof(the_parameters) / sizeof(const stp_parameter_t) Definition at line 1156 of file print-pcl.c. Referenced by pcl_list_parameters(), and pcl_parameters(). |
|
Definition at line 1110 of file print-pcl.c. |
|
Initial value: { { 0x1, 0.5 }, { 0x2, 0.67 }, { 0x3, 1.0 } } Definition at line 1306 of file print-pcl.c. |
|
Initial value: { { 0.38, 3, variable_dotsizes }, { 1.0, 3, variable_dotsizes } } Definition at line 1313 of file print-pcl.c. |