Eric jean wrote:
> OK, I see much more clear.
> 
> But there's still this thing : if you want to print a raw text (like .cshrc) 
> , you don't need any PPD filter
> 
> So I tried : smbspool smb://192.168.123.125/hpLaserJ.2 solarX .cshrc
> 
> and I got : 
> 
> Usage: smb://192.168.123.125/hpLaserJ.2 [DEVICE_URI] job-id user title copies 
> options [file]
>        The DEVICE_URI environment variable can also contain the
>        destination printer:
> 
>            smb://[username:passw...@][workgroup/]server[:port]/printer
> 

Maybe you need to do something like ...

  /usr/sfw/bin/smbspool smb://192.168.123.125/hpLaserJ.2 \
                        "aa-1" "fred" "test" 1 "" /etc/hosts

ie. include 'job-id user title copies options' in the command line.

Paul

Reply via email to