Spooler
Hi!
If I stop Spooler service on Win2000, I don't see any printer.
It is problem for printing from RB. Preview is OK, but click
on Print icon generates Access violation error in SetupDialog
and I cannot close application because of repeating error.
Regards
Roman Krupicka
If I stop Spooler service on Win2000, I don't see any printer.
It is problem for printing from RB. Preview is OK, but click
on Print icon generates Access violation error in SetupDialog
and I cannot close application because of repeating error.
Regards
Roman Krupicka
This discussion has been closed.
Comments
this issue.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
RB 6.03
Win2000 SP2
ExtraDevices 2.01
Delphi 5 SP1
Regards
Roman Krupicka
Win2K
Delphi 6 (UP 2)
RB 6.03 for D6
RB 7.0 for D6
HP LaserJet 5 with the latest driver installed
I could not reproduce the problem. Can you reproduce this behavior in our
demo report projects?
When the report generates, it generates to the preview using the selected
printer in the printer setup of the report object. It defaults to the
default printer that is installed on the machine. Are you using the default
printer? What are the exact steps you take to reproduce the problem and what
is the selected printer model?
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
Did you use ExtraDevices? Maybe the problem is there...?
I found out that error is generated in unit ppPDlg:
procedure TppPrintDialog.InitializePrinterControls;
...
for liIndex := 0 to cbxPrinters.Items.Count - 1 do
begin
// HERE
if (ppPrinters.PrinterInfo[cbxPrinters.Items[liIndex]].IsLocal)
then
cbxPrinters.Items.Objects[liIndex] := TObject(0)
else
cbxPrinters.Items.Objects[liIndex] := TObject(1);
end;
...
I have instaled these printers:
Canon Bubble-Jet BJC-800 (print to file only)
HP DeskJet 1200C (print to file only)
Kyocera Mita KM-2530 KX (print to file only)
OKIPAGE 14ex (print to file only)
HP LaserJet 2200 Series PCL 6 - default printer (network printer)
After calling this command: net stop Spooler /Y
MS Word tell me that No printer is installed on my machine and
printing from our application which used RB 6.03 Enterprise caused
Access violation error (print, not preview). Preview is OK.
It is all...
Regards
Roman Krupicka
longer available.
Maybe I'm doing something different than you are. Can you describe the steps
you take to reproduce the problem. If I preview a report, then stop the
service then try to print the report from the preview, it doesn't AV. What
happens is that it just doesn't print because there is no spooler service
running. My machine is Win2K and the printer server is Win 2K.
First, make sure you have the latest printer drivers installed for these
printers by checking the manufacturer's websites. It may be that one of the
drivers is causing the other drivers to fail. I've seen this happen just by
installing a specific label printer driver. Try installing only the HP
Laserjet 2200 series PCL 6 printer on the machine and remove all the others
as installed printers. Does the problem persist? Can you install the HP
Laserjet 4 driver and print with it to the 2200 series printer? If the
problem still persists, then I can use this driver to print with and
hopefully be able to isolate the problem using this driver. Can you send an
example project which causes the AV along with the exact steps you take to
reproduce the problem to mailto:support@digital-metaphors.com
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com