delphi - Can't access printer Borland C++ 5 -


i've moved windows xp 32 bit windows 7 64 bit. can't access printer in borland c++ 5 ide. seems it's sort of privileges problem because if log in administrator problem goes away. have simple 1 line program shows issue

printdialog1->execute()

the dialog opens if press properties button nothing happens. if attempt change of printer properties, i.e. page orientation etc, message saying "operation not supported on selected printer" , several access violations.

here's weird bit. if use program print , open printer properties, problem goes away in ide , doesn't return until restart ide. i've granted myself full access printers , have full access directory borland installed to, c:\borland.

thanks in advance help.

this happens when there no default printer assigned, or when there no printers installed. you've indicated works fine if print application first (which means current printer has been set), know have printer installed. seems indicate problem related not having default printer assigned.

go devices , printers, , see if 1 of printers has green check mark. if not, right-click 1 , choose set default printer.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -