Local printing on TS

C

chris

I have investigated the use of local printers accross a
terminal services environment. I have hit a few issues
that I am unable to resolve. Due to the difficulty of
finding a flavour of printer that is available and
natively uses the UNIDRV.dll I have tried following the
instructions to create an alternate lookup file for the
drivers so that the printer is recognised in the TS
session. This involves making an alternate ntprint.inf
file and making relevant registry changes. I have been
unable to get this to work properly and wondered if
someone might have had a similar experience and might have
advise to overcome.

Cheers
 
M

Matthew Harris [MVP]

Check out this article, it helped me.

support.microsoft.com/default.aspx?scid=kb;en-us;275495

-M
 
C

chris halling-brown

Cheers for the reply matey - have used this doc to no
affect... have added the registry entries, created
another ntprint.inf (renamed and mapped through reg) and
yet still get the same error - I reckon it may well be the
format of the .inf file or something, can you give me an
example of a changed print.inf file???

Cheers

Chris
 
M

Matthew Harris [MVP]

What errors are you receiving?

The substitute ntprint.inf file (the printupg.inf file)
should look almost exactly like the ntprint.inf file. The
structure of the file is the same, with the printer name
on the left and the server's printer driver name on the
right.

Did you happen to reboot the server after you installed
the regsitry entry?

-M
 
C

chris

Originally I copied the ntprint.inf and called it
ntprintnew.inf. Added the new printer into the details
section of the text file and made the relevant changes to
the registry. I then rebooted the server, hoping to have
the new .inf file utilised on next boot into the TS
session. to no avail.

Unsure that the format of the new entry into
ntprintnew.inf was correct, I have tried various formats
as suggested on Technet. I recently discovered some info
regarding the Printupg.inf file so have retraced my steps
and set the registry to look for the Printupg.inf and
added a new printer to the textfile - in this case.

"hp deskjet 840c Series" = "HP DESKJET
840c/841C/842C/843C"

Again, I have had no positive outcome on rebooting the
machine.

I need to have confirmation that I am asking the right
questions here - I am looking to use local printing
resource, across a terminal services session, using a
printer that uses a specific driver other than the UNIDRV.
does the driver have to be loaded onto the terminal
server, should I be creating a que on the terminal server
for this printer, am I overlooking something fundamental.

I am not sure that the instructions I have show to make
the printupg.inf match the ntprint.inf file??? I am
receiving errors;

Error 1111
Driver HP DeskJet 840C/841C/842C/843C required for printer
HP DeskJet 840C/841C/842C/843C is unknown. Contact the
administrator to install the driver before you log in
again.

And

Error 1106
The printer could not be installed.

Any help will be richly rewarded!!!

Cheers

Chris
 
V

Vera Noest [MVP]

I think you have the printer driver names in the wrong order.

On the left, put the name as it appears on the client (and in the
Eventlog, thus: HP DeskJet 840C/841C/842C/843C). On the right, put
the driver name on the server, thus: "hp deskjet 840c Series"

Note: Check "hp deskjet 840c Series"!! This entry is case
sensitive, and I'm pretty sure it is something like
"HP Deskjet 840C Series" or "HP Deskjet 840c Series".


239088 - Windows 2000 Terminal Services Server Logs Events 1111,
1105, and 1106
http://support.microsoft.com/?kbid=239088
 
C

chris

Ok...first things first. Let's get a driver on your
server so that the
server knows how to communicate properly with the client
printer. Do you
happen to see a pre-installed driver for the HP DeskJet
550C? The DeskJet
550C driver is a good driver for printing to most DeskJet
printers. The
550C driver is a driver that should come with the Windows
2000
installation, and should be installed natively. If it
isn't installed, the
system should ask you for the driver. To force the driver
onto your system
create a test LPT1 printer and tell the system to use the
550C
driver. After the printer is created, just delete it.

Second, let's adjust that printupg.inf file...Put this
into your
printupg.inf file:
"HP DeskJet 840C/841C/842C/843C" = "HP DeskJet 550C"
Remember, there is case sensitivity here, so make sure the
names of the
drivers are exactly written as the eventlog says they are.

Editing your printupg.inf tells your server that whenever
a client connects
using a printer with the driver HP DeskJet
840C/841C/842C/843C the server
should instead use the driver named HP DeskJet 550C. Once
again, copy the
client's driver's name exactly from the event log and copy
the system's
driver name exactly from the driver list (in the printer
folder) you looked
at originally. Looking at the above edit to your
printupg.inf file, the
client's driver name is always on the left and the
server's driver name is
always on the right.

I don't quite remember if you need to reboot after this,
but I would go for
it anyways.

Please let me know if this helps.

-M



I have followed your instruction but haven't had any joy.

The registry has the relevant key set
The printupg file has the line;

"HP DESKJET 840c/841C/842C/843C" = "HP DeskJet
850C"

and I have removed all entry to any 840 previously
installed (from the server properties also), I still get
the error messages...
Error 1111
Driver HP DeskJet 840C/841C/842C/843C required for printer HP DeskJet
840C/841C/842C/843C is unknown. Contact the administrator to install
the driver before you log in again.

And

Error 1106
The printer could not be installed.

In event viewer when connecting the client machine.... I
have gone as far as installing the 840 onto the local
machine (with the Driver HP DeskJet 840C/841C/842C/843C)
and have connected a printer to it.

I still get no virtual que on the TS session.

From experience, the only way to get it working across TS
is for it to use the UNIDRV natively!!!

Any other pearls???

Cheers

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top