Thanks, that may be helpful. I will be working on it tomorrow. Rich Love - Carnation Software richlove@... MacWise Terminal emulation for Macintosh http://www.carnationsoftware.com Yellow Button Program and Document Launcher for OS X http://www.yellowbutton.com 512 858-9234 On Oct 16, 2004, at 8:36 AM, George Beckman wrote: > Not sure what you mean, but perhaps this will help. > > You can get the page range that the user specified like this: > > #if carbonLib > 'the driver will only print those pages within the user-specified > 'range, as counted by *it* Date { 14/11/02 } > dim prHdl as handle > prHdl = prhandle > > Startpage=prHdl..prJob.iFstPage% > LastPage=prHdl..prJob.iLstPage% > > #endif > > One of the smart guys gave me that. > > In other words I calculated the pages I knew I had to print. > lets say that there were 8 pages possible > > I do this: > gFBFirstPrintedtPage=1 > gFBLastPrintedtPage=8 > > Now the print dialog will not have 1 to 9999 > > Then I put up the print dialog and the user may decide to set 2 to 3 > as the pages wanted. > so the lines > > Startpage=prHdl..prJob.iFstPage% > LastPage=prHdl..prJob.iLstPage% > > > for X=StartPage to LastPage > psudo code: printmypage(x) > Next x > > Pages 2-3 are printed > ---- > Best Wishes, > > George > http://www.pggp.com > On Oct 16, 2004, at 12:29 AM, Rich Love wrote: > >> What I can't figure out is where to enter the number of pages into >> the carbon printing program. >> I see variables for min pages and max pages and numPages > > -- > > -- To unsubscribe, send ANY message to: futurebasic-unsubscribe@...