PageElements Not Printing

PageElements Not Printing

Forum member · Aug 1, 2006
I am trying to add page elements to a PDF using the following code using the evaluation version. TransparencyGroup group = new TransparencyGroup(0.9f); ceTe.DynamicPDF.PageElements.Label PreLimLabel = new ceTe.DynamicPDF.PageElements.Label("Preliminary Data", 50, 150, 600, 10, ceTe.DynamicPDF.Font.Helvetica, 76, TextAlign.Center, RgbColor.LightGrey ); PreLimLabel.Angle = -45; //Add label to TransparencyGroup group.Add( PreLimLabel ); AnchorGroup gp = new AnchorGroup(600, 10, Align.Center, VAlign.Center); gp.Add( group ); for(int i=0; i < document.Pages.Count; i++) { document.Pages[i].Elements.Add(gp); } AnchorGroup gpPN = new AnchorGroup(100, 20, Align.Center, VAlign.Bottom); gpPN.Add(new ceTe.DynamicPDF.PageElements.PageNumberingLabel("Page %%CP%% of %%TP%%", 0, 0, 512, 12 )); for(int i=0; i < document.Pages.Count; i++) { document.Pages[i].Elements.Add(gpPN); } The page elements(text) are showing up properly on the physical PDF, however when I try to print the PDF the page elements are not present. Does the evaluation version not allow printing of these features?

Re: PageElements Not Printing

Support · Aug 1, 2006
Hello, I tried running the example same code you posted and I was able to print the output PDF file with all the page elements without any problem. The evaluation version is fully functionally and it does allow printing of page elements without any problem. Make sure that you have your printer driver updated. Also can you try printing the same PDF to another printer and see if you get the same behavior? The most likely reason you are not able to see the page elements printed is due to the printer driver. Thanks, ceTe Software Support Team

Re: PageElements Not Printing

Forum member · Aug 2, 2006
Just an update. It appears that there is an issue with Adobe Acrobat 5.0 and having the Label.Angle = -45. (I was able to re-produce the problem on a different PC/Printer combination) If I do not use the Label.Angle the label will print. However if I print from Adobe Reader 7.0 the label will print properly on the pages the Label.Angle = -45.

Re: PageElements Not Printing

Support · Aug 2, 2006
Hello, We are able to recreate the error in Acrobat Reader v5.0.1. But the label with Angle property when added to TransparencyGroup printed fine in Acrobat Reader v5.0.5. The PDF generated using our product does meet the PDF specs and it seems like an issue in Acrobat Reader v5.0.1 which has been fixed in v5.0.5. I would recommend updating your version of Acrobat Reader to v5.0.5 or higher. Thanks, ceTe Software Support Team