PCL_COMMAND( "Media Type", pcl_media_type, pca_neg_ok | pca_big_ignore ) }, { 'a', 'W', PCL_COMMAND( "Set Logical Page", set_logical_page, pca_bytes ) }, END_CLASS DEFINE_ESCAPE( '9', "Clear Horizontal Margins", clear_horizontal_margins ) DEFINE_CLASS_COMMAND_ARGS( '*', 'o', 'Q', "Print Quality", pcl_print_quality, pca_neg_ok | pca_big_ignore ) return 0; } pcl_paper_size_t * pcl_get_default_paper( pcl_state_t * pcs
PCL_COMMAND("Push/Pop Cursor", push_pop_cursor, pca_neg_ok | pca_big_ignore) }, END_CLASS DEFINE_CLASS('*') { 'p', 'X', PCL_COMMAND("Horizontal Cursor Position Units", horiz_cursor_pos_units, pca_neg_ok | pca_big_ok | pca_in_rtl) }, { 'p', 'Y', PCL_COMMAND("Vertical Cursor Position Units", vert_cursor_pos_units, pca_neg_ok | pca_big_ok | pca_in_rtl) }, END_CLASS DEFINE_CONTROL(CR, "CR", cmd_CR) DEFINE_CONTROL(BS, "BS", cmd_BS) DEFINE_CONTROL(HT, "HT", cmd_HT) DEFINE_ESCAPE('=', "Half Line Feed", half_line_feed) DEFINE_CONTROL(LF, "LF", cmd_LF) DEFINE_CONTROL(FF, "FF", cmd_FF) return 0; } static void pcursor_do_reset(pcl_state_t * pcs, pcl_reset_type_t type) { static const uint mask = (pcl_reset_initial | pcl_reset_printer | pcl_reset_overlay); if ((type & mask) == 0) return;