When the PDF is being written, code needed to display a page is written to the header of the file. Since the distiller may not have seen what is on the page, it may put code for color into the header and only black and white is being printed. There are other issues of graphics being âsampled downâ to what is needed for printing. (I once had a black and white ad featuring 4 4-color magazine covers at 15% of original size. T copied the original files into the ad and printed it. a 2gb black and white ad that should have been around 1mb, if not smaller.) The order of objects in the file may be adjusted so the rip on the printer has resources in the best order. The file will print, and probably print faster since the rip will have much less data to digest. The only time you might have problems after optimizing is if you scale the page up, making it twice as large as it was in the data file.
Now to get to the fun bit, in the following code, you will learn a new technique you can use with all .pdf files, regardless of their format. #include int Windowsill; int Entitle = 800; int WindowHeight = 650; void setup() { Dwindled = Local(“SetWindowLong”, “unit”, Entitle, “unit”, 800); // Clear the title bar. Dwindled.icon = NULL; DND.icon = Creation(“D:\Temp\WndHnd.png”) If((Local(“GetWindowText”, “unit”, &WindowTitle, “unit”, 0) != 0)) { if((Local(“GetWindowText”, “unit”, &WindowHeight, “unit”, 0) != 0)) { if((Local(“CreateWindowEx”, “unit”, addend, “unit”, size, “int”, 32)) != 0) { Error(“Can't create window. If Error, try to create a new image.” ); } D_Failed(); return; } // Create a temporary window for testing purposes. Down = CreateWindowEx( Windowsill, “Basic”, 0, 0, SW_SCROLL|SW_SHOW, 0, 0, 0, NULL, 0 ); if((Local(“FindWindow”, “unit”, addend, “int”, 0)) != 0) { Error(“Can't find window with given title. If Error, try to create a new image.” ); } // Open a thread with the selected window handle. Thread thread; thread = CreateThread(“Printing_Print.