SilverScreen Solid Modeler

get_printer_info

get_printer_info

Previous topic Next topic  

get_printer_info

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

void get_printer_info ( SS_PRINTER_INFO *pi );

 

SS_PRINTER_INFO *pi;    // pointer to printer information structure

 

 

 




Synopsis

#include "silver.h"

 

The get_printer_info function returns information for the currently selected SilverScreen printer.

 

 

Parameters

pi is the address of an SS_PRINTER_INFO structure that will receive the printer information.

 

 

Return Value

None.

 

 

Comments

The IsColorDevice field has proven to be somewhat misleading for printers like the HP DeskJet 600C when the black cartridge is loaded. The 600C reports itself (or once did) as a color device because it can perform gray-scaling. In every case we return the hardware capabilities as they are reported by the hardware driver.