Problems redirecting Canon PIXMA MP780

S

sh

Hi' there,

I'm using the above printer/fax/scanner connected to my own PC with a
USB cable. The printer is shared on my local network and this works
perfect. All computers on the network is running XP PRO. However when
trying to print from an old DOS application I can't get the printer to
work.

I'm using the old NET USE trick:

NET USE LPT3 \\ComputerName\CanonMP7 /PERSISTENT:YES

I can see that the redirection has worked (NET USE command), but the
printer just won't work. I've also tried redirecting to LPT1 and LPT2
but "no cigar" :-(

Any ideas?

Best Regards

Søren Horney
 
A

Alan Morris [MSFT]

What is the error from the system layer?

wrong server
net use lpt2 \\no_server\no_printer
System error 66 has occurred.

The network resource type is not correct.

LPT1 is already mapped
net use lpt1 \\printserver\printer
System error 85 has occurred.

The local device name is already in use.





--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

Hi' there,

I'm using the above printer/fax/scanner connected to my own PC with a
USB cable. The printer is shared on my local network and this works
perfect. All computers on the network is running XP PRO. However when
trying to print from an old DOS application I can't get the printer to
work.

I'm using the old NET USE trick:

NET USE LPT3 \\ComputerName\CanonMP7 /PERSISTENT:YES

I can see that the redirection has worked (NET USE command), but the
printer just won't work. I've also tried redirecting to LPT1 and LPT2
but "no cigar" :-(

Any ideas?

Best Regards

Søren Horney
 
C

Chuck

Some of the old dos programs used printer output methods that went directly
to the printer. These can cause problems, since windows doesn't allow
application programs direct access to hardware. The next possible problem
has to do with the printer driver. If the program outputs in ASCII text, the
printer driver may not know what to do with it, or the printer itself for
that matter, since most inkjet printers these days expect something other
than ASCII.
A method of finding out what is going on is to redirect the DOS program's
output to a file, and open the file with notepad or a binary file
editor/utility. This will generally show what kind of data is sent to the
printer. If it is ASCII, you should be able to use notepad to send it to the
printer.



Hi' there,

I'm using the above printer/fax/scanner connected to my own PC with a
USB cable. The printer is shared on my local network and this works
perfect. All computers on the network is running XP PRO. However when
trying to print from an old DOS application I can't get the printer to
work.

I'm using the old NET USE trick:

NET USE LPT3 \\ComputerName\CanonMP7 /PERSISTENT:YES

I can see that the redirection has worked (NET USE command), but the
printer just won't work. I've also tried redirecting to LPT1 and LPT2
but "no cigar" :-(

Any ideas?

Best Regards

Søren Horney
 
S

Sogge

Thanks a lot for the feedback. I think the most possible reason is the
printer/printerdrivers unabillity to print ASCII. Reason:

1. The redirection does not produce any error's, so I've "hit" the
right computername and printername

2. I know for sure that my DOS program writes in ASCII to LPT3, and I
can change it to LPT1 and LPT2, but it does not help. The output can
easily be printed if redirected to a file and printed via notepad as
suggested.

3. I've tried to get through to the printer by writing "DIR >LPT3", but
this does not help either.

Is there a way to change to create a dummy-printer and assign a generic
printerdriver to it to see if this helps, and if so - where can I DL a
generic printerdriver ?

Best regards

Søren
 

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