Pepper_31_C_interfaces
Public Attributes | List of all members
PPP_Printing_Dev_0_6 Struct Reference

#include <ppp_printing_dev.h>

Collaboration diagram for PPP_Printing_Dev_0_6:
Collaboration graph

Public Attributes

uint32_t(* QuerySupportedFormats )(PP_Instance instance)
 
int32_t(* Begin )(PP_Instance instance, const struct PP_PrintSettings_Dev *print_settings)
 
PP_Resource(* PrintPages )(PP_Instance instance, const struct PP_PrintPageNumberRange_Dev *page_ranges, uint32_t page_range_count)
 
void(* End )(PP_Instance instance)
 
PP_Bool(* IsScalingDisabled )(PP_Instance instance)
 

Detailed Description

Definition at line 51 of file ppp_printing_dev.h.

Member Data Documentation

int32_t(* PPP_Printing_Dev_0_6::Begin)(PP_Instance instance, const struct PP_PrintSettings_Dev *print_settings)

Begins a print session with the given print settings. Calls to PrintPages can only be made after a successful call to Begin. Returns the number of pages required for the print output at the given page size (0 indicates a failure).

Definition at line 65 of file ppp_printing_dev.h.

void(* PPP_Printing_Dev_0_6::End)(PP_Instance instance)

Ends the print session. Further calls to PrintPages will fail.

Definition at line 77 of file ppp_printing_dev.h.

PP_Bool(* PPP_Printing_Dev_0_6::IsScalingDisabled)(PP_Instance instance)

Returns true if the current content should be printed into the full page and not scaled down to fit within the printer's printable area.

Definition at line 82 of file ppp_printing_dev.h.

PP_Resource(* PPP_Printing_Dev_0_6::PrintPages)(PP_Instance instance, const struct PP_PrintPageNumberRange_Dev *page_ranges, uint32_t page_range_count)

Prints the specified pages using the format specified in Begin. Returns a PPB_Buffer resource that represents the printed output. Returns 0 on failure.

Definition at line 72 of file ppp_printing_dev.h.

uint32_t(* PPP_Printing_Dev_0_6::QuerySupportedFormats)(PP_Instance instance)

Returns a bit field representing the supported print output formats. For example, if only PDF and PostScript are supported, QuerySupportedFormats returns a value equivalent to: (PP_PRINTOUTPUTFORMAT_PDF | PP_PRINTOUTPUTFORMAT_POSTSCRIPT)

Definition at line 58 of file ppp_printing_dev.h.


The documentation for this struct was generated from the following file: