There is special field called Total Page Numbers in crystal reports which returns total number of pages in report it same
There is special field called Total Page Numbers in crystal reports which returns total number of pages in report it same
yeah but i need to set the printer after the report is displayed on the form, and iam curious to know that whether that number can change with setting different types of printers ? -ashish on change
I think my main concern is that, is the number of pages calculated independent of the device selected ?? i.e either i choose any type of printer, or I export it to some file format etc. -ashish are wondering pages the viewer
1.Current Page and Total Page Count by record break
Hi all, I have to print more records into one pdf file.Suppose one record takes up two pages of the report. If I print three records, I'm going to print 6 pages. I have to take count of the current page and total page count regarding one record. I added the special fields 'PageNumber' And 'Total Page Count' on the header of the report,but I get: 1 of 6, 2 of 6, 3 of 6.... What I need to get is: 1 of 2, 2 of 2, 1 of 2, 2 of 2, 1 of 2, 2 of 2, 1 of 2, 2 of 2, 1 of 2, 2 of 2, 1 of 2, 2 of 2. How can I achieve this result? Obviously, one record can take up more of 2 pages. I'm using Crystal Reports 6. Thanks in Advance. Pier Paolo
2.How to count the number of pages printed when printing a non-contiguous range of pages
I don't think there is an easy way to do this... but maybe someone has has to deal with this before. I am printing documents using the ActiveDocument.PrintOut method in VBA. I'd like to know how many pages were sent to the printer so I can log the print job. It is easy if the user prints the entire document, but what if they print a range of pages (e.g. ActiveDocument.PrintOut Pages:="p2s2-p3s5") Does anyone know if there is i) a variable available that returns the number of pages that was printed or ii) a function for calculating the number of pages in the string "p2s2-p3s5" or iii) anything else? Any input appreciated! -Andrew Head
3.Programming a TOC to have page counts (not page location)
Here is what I am trying to accomplish using Word 2007 and XP: I want to create a TOC with the Title and Individual Section Page Counts using separate Individual Files to look like this: Section No. Title No. of Pages 200500 General Provisions 5 200505 Project Closeout and Start-up 10 Information: The section number and title are the file names (i.e. 2000500 General Provisions.doc) and are also included in the beginning of each document as well as a title (with a set style). All files are located in the same folder. Here is the current macro I am working with that was provided by someone on this site: This macro does not input the correct page count for each file, in fact it places the 1st file page count for each file instead. Looks like this: 200500 GENERAL PROVISIONS test.doc 3 SECTION 200523 VALVES DRAFT with index codes.doc 3 Table style settings-example.doc 3 The macro will put the correct page count ONLY if all the files are open. But considering I am trying to use this macro for 50+ documents at a time, this is not a viable solution. Any help would be GREATLY appreciated; Ie been working on this for months. Thanks. Sub TOCpgcnt() ' ' TOCpgcnt Macro ' ' Dim fd As FileDialog Dim PathToUse As String Dim SourceFile As String Dim Target As Document Dim Source As Document Dim numpages As Long Set Target = ActiveDocument Set fd = Application.FileDialog(msoFileDialogFolderPicker) With fd .Title = "Select the folder containing the files." If .Show = -1 Then PathToUse = .SelectedItems(1) & "\" Else End If End With Set fd = Nothing SourceFile = Dir$(PathToUse & "*.doc") Do While SourceFile&g<;<> "" Set Source = Documents.Open(PathToUse & SourceFile) numpages = Source.BuiltInDocumentProperties(wdPropertyPages) Target.Range.InsertAfter Source.Name & vbTab & numpages & vbCrLf Source.Close wdDoNotSaveChanges SourceFile = Dir$ Loop End Sub
4.count number of pages in a tiff file
I have a directory of tiff files. I need to loop thru the files and count the number of pages in each file. Can someone point me to where this info is stored? GW
7. Looking for Script who count pages printed on one or more print servers
Users browsing this forum: No registered users and 74 guest