6.2 PDFlib                              
6.2.1                                                        
                                                                                                 
                                                                                               
                                                                                       
                                                                             
>                                                                                            
                                                                                                      
                                                                                                 
                                                                                               
                               
>                                                                                                                              
                                                                                                   
                                                                                                                                
                                                                                            
                                                                                             
                                                       
                                                                                                 
                                                                                                    
                                                                                                     
                                                                                                                                          
                                                                                                       
                                                                
                                                    
                                             
                                                                                            
                                                                 
firstname                            
                                                   
doc = PDF_open_pdi(p, filename, "", 0);
if (doc ==  1) {
printf("Couldn t open PDF template  %s \n", filename);
return (1);
}
page = PDF_open_pdi_page(p, doc, pageno, "");
if (page ==  1) {
printf("Couldn t open page %d of PDF template  %s \n", pageno, filename);
return (2);
}
PDF_begin_page_ext(p, width, height, "");
PDF_fit_pdi_page(p, page, 0.0, 0.0, "");
PDF_fill_textblock(p, page, "firstname", "Serge", 0, "encoding winansi");
PDF_close_pdi_page(p, page);
PDF_end_page_ext(p, "");
6.2.2                                  
                                                                                                                                               
                                                                             
6.2  PDFlib                             
159






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

cgi web hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved