I can come up with the calculations to figure out how many lines are on each page and then determine how many pages to print. 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 I tried manually changing numPages in FN MyGetDocumentNumPagesInDoc But no matter how many pages I set numPages to, it still fails with Printer error 1 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 15, 2004, at 8:52 AM, George Beckman wrote: > Rich, > > You are right. It is a problem. 9 used to handle all of this > stuff. You have to count your pages. I don't know if you have > gotten there yet, but if the user selects 3 to 4 in the print dialog, > you have to send only 3 and 4 to the printer. > > I am off to work this am, but I can dig out some of this this weekend > for you if you would like an example. > ---- > Best Wishes, > > George > http://www.pggp.com > On Oct 15, 2004, at 5:07 AM, Rich Love wrote: > >> The problem is that the MyDoPrintLoop funtion always thinks it is one >> page when it is really more than one page. >> It gets the error here... >> tempErr = fn PMSessionEndPage( printSession ) >> >> Has anyone solved this problem? > > -- > > -- To unsubscribe, send ANY message to: futurebasic-unsubscribe@...