Scott Hochberg wrote: > Working with an old FB4 app, need to modify without rewriting the whole thing. > > Trying to create and print a barcode which requires precise positioning. I'd like to take advantage of all the resolution a given printer has. So two questions: > > 1.) When I use the PRHANDLE to find the printer resolution, I can only get 72x72, which is obviously not correct. What am I doing wrong? PrHandle became obsolete with Carbon. AFAIK it is useless. > 2.) How can I change the resolution of the printer window I'm drawing to now that COODINATE no longer works? I need more than 72 pixels/inch resolution? '-------------------- dim as PMResolution pmRes dim as long x def lprint if prcancel then end pmRes.hRes = 150 pmRes.vRes = 150 fn PMSetResolution( gFBPageFormat, @pmRes ) route _toPrinter for x = 20 to 40 step 2 MoveTo( x, 20 ) : LineTo( x, 120 ) next close lprint route _toScreen '-------------------- Robert P.