Question : Where is the Default Printer set in Crystal Reports?

Hello Experts,

The Crystal Reports I've created appear to all have the 'Microsoft XPS Document Writer' set as the default printer when viewed in Info View.  
Question #1: Where is that default printer set?  
Quesiton #2: Is there a way to set a report so that when a user wants to print it from Info View, the printer will default to whichever is the default printer for the computer they are using?

Thank you for your help.
~Chopp

Answer : Where is the Default Printer set in Crystal Reports?

Hi learningunix,

the line checks if the left-most byte of 'num' is '1'.

'&num' is a pointer to the memory address where the first byte of 'num' resides. The '(char*)' casts this pointer '&num' (which is a pointer to int) to a pointer to char. Since char is a one byte data type accessing that 'pointer to char' with '*' accesses the first byte of the int. In little endian this byte has to be '1' for and 'int' which is '1' - in big endian the first byte would be '0' since the least significant byte is the most right one ...

Hope that helps,

ZOPPO

Random Solutions  
 
programming4us programming4us