Printer Sharing between Windows and QNX4.25

Can anyone describe the steps necessary to get a QNX machine to
recognize and use a
Window’s shared printer?

Thanks!!!

delia

Delia Leal wrote:

Can anyone describe the steps necessary to get a QNX machine to
recognize and use a
Window’s shared printer?

I presume you are not talking about a network printer that happens
to be shared by PCs.

What we do is to use SMBfsys and a line like:
mount -t smb -p //delia/hp /smb/delia_hp

//delia is the name of the PC - see the thread here “Idiot’s guide…”
for additional info on that. “/hp” is the share name of the printer.
The /smb dir is for the sake of neatness. If you use it, it needs
to exist before you do the mount. Then you would print to
/smb/delia_hp.

Thanks!!!

delia

Richard R. Kramer <rrkramer@kramer-smilko.com> wrote:

Hi Richard,

Delia Leal wrote:

Can anyone describe the steps necessary to get a QNX machine to
recognize and use a
Window’s shared printer?

I presume you are not talking about a network printer that happens
to be shared by PCs.

What we do is to use SMBfsys and a line like:
mount -t smb -p //delia/hp /smb/delia_hp

//delia is the name of the PC - see the thread here “Idiot’s guide…”
for additional info on that. “/hp” is the share name of the printer.
The /smb dir is for the sake of neatness. If you use it, it needs
to exist before you do the mount. Then you would print to
/smb/delia_hp.

There is some stuff on the topic in the knowledge base if you go to :
http://qdn.qnx.com/support/bok/index.html select QNX4 in the OS box,
and type “printer” in the keywords box. It should return couple
entries that might be helpfull to you ie.

http://qdn.qnx.com/support/bok/solution.qnx?9292

Regards,

Marcin

Thanks!!!

delia

I think Delia Leal is looking to print in the other direction,
i.e. from QNX->Windows. #9504 in the help topics seems as if it
would be a helpful doc.

Tools Mail Account wrote:

Richard R. Kramer <> rrkramer@kramer-smilko.com> > wrote:

Hi Richard,

Delia Leal wrote:

Can anyone describe the steps necessary to get a QNX machine to
recognize and use a
Window’s shared printer?

I presume you are not talking about a network printer that happens
to be shared by PCs.

What we do is to use SMBfsys and a line like:
mount -t smb -p //delia/hp /smb/delia_hp

//delia is the name of the PC - see the thread here “Idiot’s guide…”
for additional info on that. “/hp” is the share name of the printer.
The /smb dir is for the sake of neatness. If you use it, it needs
to exist before you do the mount. Then you would print to
/smb/delia_hp.

There is some stuff on the topic in the knowledge base if you go to :
http://qdn.qnx.com/support/bok/index.html > select QNX4 in the OS box,
and type “printer” in the keywords box. It should return couple
entries that might be helpfull to you ie.

http://qdn.qnx.com/support/bok/solution.qnx?9292

Regards,

Marcin


Thanks!!!

delia

Ok. I ran the following commands:

SMBfsys &
/usr/ucb/lpd &
user_smb administrator
mount_smb -p //Win2kMachineName:Win2kIPAddress/Win2kSharedPrinterName
/dev/lp

But now there’s a second part to making all this work. When I entered
lpr, I was prompted
to enter a printer name. Further research revealed to me that you need
to create a /etc/printcap
file with the printer details. I created the printcap file with the
following lines:

hp:
:rm=exmon3
:mx=0

I then set the default printer to hp. “export PRINTER=hp”
When I enter “lpr test.txt” it sends a print message to the Win2k
printer manager and
the printer begins to print, but what comes out is garbage.

What else do I need to add to this file to make everything work. Or is
there any other file that I need to tweek? The printer is a HP 930C
inkjet with parallel port connector.

Please any help would greatly be appreciated!!!

delia



“Richard R. Kramer” wrote:

I think Delia Leal is looking to print in the other direction,
i.e. from QNX->Windows. #9504 in the help topics seems as if it
would be a helpful doc.

Tools Mail Account wrote:

Richard R. Kramer <> rrkramer@kramer-smilko.com> > wrote:

Hi Richard,

Delia Leal wrote:

Can anyone describe the steps necessary to get a QNX machine to
recognize and use a
Window’s shared printer?

I presume you are not talking about a network printer that happens
to be shared by PCs.

What we do is to use SMBfsys and a line like:
mount -t smb -p //delia/hp /smb/delia_hp

//delia is the name of the PC - see the thread here “Idiot’s guide…”
for additional info on that. “/hp” is the share name of the printer.
The /smb dir is for the sake of neatness. If you use it, it needs
to exist before you do the mount. Then you would print to
/smb/delia_hp.

There is some stuff on the topic in the knowledge base if you go to :
http://qdn.qnx.com/support/bok/index.html > select QNX4 in the OS box,
and type “printer” in the keywords box. It should return couple
entries that might be helpfull to you ie.

http://qdn.qnx.com/support/bok/solution.qnx?9292

Regards,

Marcin


Thanks!!!

delia