Code Sample |
$ sudo /opt/hplip/sbin/cupsaddsmb -U root -v -a Password for root required to access /opt/hplip/var/run/cups/cups.sock via SAMBA: Running command: smbclient ///opt/hplip/var/run/cups/cups.sock/print$ -N -A /opt/hplip/var/spool/cups/tmp/46b2849c180f2 -c 'mkdir W32X86;put /opt/hplip/var/spool/cups/tmp/46b28497f1946 W32X86/OfficeJetG85.ppd;put /opt/hplip/share/cups/drivers/ps5ui.dll W32X86/ps5ui.dll;put /opt/hplip/share/cups/drivers/pscript.hlp W32X86/pscript.hlp;put /opt/hplip/share/cups/drivers/pscript.ntf W32X86/pscript.ntf;put /opt/hplip/share/cups/drivers/pscript5.dll W32X86/pscript5.dll' creating lame upcase table creating lame lowcase table Connection to failed |
Code Sample |
# Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2007/08/02 20:40:04 [global] workgroup = JUANITO printcap name = /opt/printcap valid users = dsl printing = cups print command = lpq command = %p lprm command = [printers] comment = All Printers path = /var/spool/samba guest ok = Yes printable = Yes browseable = No [print$] comment = Printer Drivers path = /etc/samba-3/drivers write list = root |
Quote |
I believe that printer drivers are OS specific, you have to load a windows driver for the windows machine and a linux driver for the linux machine |
Quote |
print command = lpq command = %p lprm command = |
Quote |
Running command: smbclient ///opt/hplip/var/run/cups/cups.sock/print$ -N -A /opt/hplip/var/spool/cups/tmp/46b2849c180f2 -c 'mkdir W32X86;put /opt/hplip/var/spool/cups/tmp/46b28497f1946 W32X86/OfficeJetG85.ppd;put /opt/hplip/share/cups/drivers/ps5ui.dll W32X86/ps5ui.dll;put /opt/hplip/share/cups/drivers/pscript.hlp W32X86/pscript.hlp;put /opt/hplip/share/cups/drivers/pscript.ntf W32X86/pscript.ntf;put /opt/hplip/share/cups/drivers/pscript5.dll W32X86/pscript5.dll' |
Quote |
I don't think there's a "put" command included in dsl... unless it's in one of your hplip extensions? |