Solution for Error number
1796
The Black Ice Technical Support Team recently encountered a
handful of computer systems where the printer driver
installation failed with the following error message: “Error
in function dAddPrinter, Parameter Black Ice PDF (Demo).
Error code 1796".
It turned out that on all of these systems, the registry
privileges were very limited, keys were created with read
only access right, and the setup wasn’t able to create the
necessary registry keys to correctly install the printer
driver on the system (“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors\Ice
Monitor P (Demo)\ PortList”, in the case of the PDF demo
driver) .
In the latest version of the printer drivers, Black Ice has
solved this issue by forcing read and write access rights to
the Black Ice specific registry keys.
The
Group file
What is
a Group file ?
A “group file” is generated by the Black Ice printer driver
for every print job. The group file contains information
about the generated images such as Paper size, DPI, color
depth, encoding (JPEG, TIFF, PDF, etc) and of course the
name of the generated files.
After
printing, how can I learn the name of the group file?
The group file name is the same as the generated image file
name, ending with a .grp extension. It is located in the
same directory as the generated image file. The name of the
group file is also sent with the start doc and end doc event
when you capture the printer driver messages.
How can
I get the name of the generated image files?
The group file contains the name of the generated images.
First the application should check for the print status, to
see if the document was successfully printed. Newt read the
number of total pages from the “Total number of pages=”
value. The name of each image is saved to the “FileName”
value in the section reserved for the actual page ( section
[Page 1] for the first page, etc.)
[Black Ice TIFF]
Image Format=TIFF Group 4
Append Image Enabled=Yes
Bits Per Pixel=1
Print status=Printing finished
successfully
Document name=Microsoft Word - New.doc
Total number of pages=1
[Page 1]
FileName=C:\Documents and
Settings\alpar.BLACKICE.001\Local Settings\Temp\AAA10.TIF
TextFileName=C:\Documents and
Settings\alpar.BLACKICE.001\Local Settings\Temp\AAA10.TXT