Please use the following command line for compiling and not the one shown above:
gcc -lcups -lcupsimage -o pdftoraster pdftoraster.c
Please use the following command line for compiling and not the one shown above:
gcc -lcups -lcupsimage -o pdftoraster pdftoraster.c