Excuse me if I opened another thread, but some day passed since I started the previous one, named the same way, so I wasn’t sure it would be still read.
I update the situation: I managed to get connect with my DOS 6_22 guest run on a VirtualBox virtual machine to an OpenSuse 11.2 host. I really simplified the smb.conf file:
[global]
workgroup = WORKGROUP
netbios name = ilcapo
security = share
printcap name = cups
printing = cups
printcap = cups
ldap suffix =
passdb backend = smbpasswd
wins server =
wins support = No
disable spools = Yes
[homes]
guest ok = yes
read only = no
browseable = yes
[printers]
comment = All Printers
path = /var/spool/samba
guest ok = Yes
printable = Yes
public = Yes
browseable = No
use client driver = Yes
[deskjet]
comment = deskjet
path = /var/spool/samba
printer name = deskjet
writable = Yes
public = Yes
printable = Yes
[data]
comment = Data
path = /export
read only = Yes
guest ok = Yes
With DOS I can connect to the OpenSuse local printer whit the command
net use lpt1 \ilcapo\printer
The problem is that when I run the DOS program, the printer prints only a line of the whole file! I tried to resolve this setting the printer in Raw Queue mode, and following the instructions given in chapter 22 (“Procedure 22.1. Configuration Steps for Raw CUPS Printing Support”) of the Samba How-to
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/CUPS-printing.htmlmid2638565
but I probably made some mistakes in some point, because the file to print correctly reaches the printer, but it isn’t print!
If I connect to the cups gui with my browser (http://localhost:631/), I see the file as a smbprn.00000001 Remote Downlevel Document.
One of my questions is: Have I to install the printer drivers on DOS?
Has anyone any suggestion?
Thanks