[Samba] Fwd: smbspool

2004-02-18 Thread zynkx
- Mensagem encaminhada por zynkx
[EMAIL PROTECTED] -
Date: Tue, 17 Feb 2004 20:25:26 +
From: zynkx [EMAIL PROTECTED]
Reply-To: zynkx [EMAIL PROTECTED]
Subject: smbspool
To: [EMAIL PROTECTED]

i am using this command line from a linux client to try
to print to my linux samba server with a shared
printer, that is printing ok from windows clients.

the test page prints ok from this same linux host.

here is the command i am using:smbspool
smb://printserver/neptuno/hp_670C 1 nobody 1 test

where hp670c is the name of the printer as it is
configured in the smb.conf and nobody the name of the
user wich ii am not sure if it is right...

it connects to the print server but it does not print

any ideia?




unix is user friendly. it's just selective when choosing
friends.

-
Email Enviado utilizando o serviço MegaMail

- Final da mensagem re-enviada -



unix is user friendly. it's just selective when choosing 
friends.

-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Fwd: smbspool

2004-02-18 Thread zynkx
- Mensagem encaminhada por zynkx
[EMAIL PROTECTED] -
Date: Tue, 17 Feb 2004 20:25:26 +
From: zynkx [EMAIL PROTECTED]
Reply-To: zynkx [EMAIL PROTECTED]
Subject: smbspool
To: [EMAIL PROTECTED]

i am using this command line from a linux client to try
to print to my linux samba server with a shared
printer, that is printing ok from windows clients.

the test page prints ok from this same linux host.

here is the command i am using:smbspool
smb://printserver/neptuno/hp_670C 1 nobody 1 test

where hp670c is the name of the printer as it is
configured in the smb.conf and nobody the name of the
user wich ii am not sure if it is right...

it connects to the print server but it does not print

any ideia?




unix is user friendly. it's just selective when choosing
friends.

-
Email Enviado utilizando o serviço MegaMail

- Final da mensagem re-enviada -



unix is user friendly. it's just selective when choosing 
friends.

-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Fwd: smbspool

2004-02-18 Thread Kurt Pfeifle
[Samba] Fwd: smbspool
zynkx skydive at megamail.pt
Wed Feb 18 21:31:02 GMT 2004
- Mensagem encaminhada por zynkx
skydive at megamail.pt -
Date: Tue, 17 Feb 2004 20:25:26 +
From: zynkx skydive at megamail.pt
Reply-To: zynkx skydive at megamail.pt
Subject: smbspool
To: samba at lists.samba.org
i am using this command line from a linux client to try
to print to my linux samba server with a shared
printer, that is printing ok from windows clients.
the test page prints ok from this same linux host.

here is the command i am using:smbspool
smb://printserver/neptuno/hp_670C 1 nobody 1 test
OK, I don't really understand why you need to do it, but here you go:

* Try with no arguments first:

  [EMAIL PROTECTED]: smbspool
  network smb Unknown Windows Printer via SAMBA
* Try with one dummy-argument:

  [EMAIL PROTECTED]: smbspool dummy
  Usage: smbspool [DEVICE_URI] job-id user title copies options [file]
   The DEVICE_URI environment variable can also contain the
   destination printer:
   smb://[username:[EMAIL PROTECTED]/]server/printer
* Aa-h...

  The command wants to use the DEVICE_URI environment variable, plus
  5 or 6 arguments (5 if it gets input from stdin, 6 if the printjob
  is a file).
* Try this:

  DEVICE_URI=smb://skydive:[EMAIL PROTECTED]/piper/hp_670C  skydive2 An SMB Print Job 2 sides=two-sided-long-edge /etc/samba/smb.conf

  skydive - username
 happylanding - password
   cessnaclub - workgroupname
piper - servername
  hp_670C - printersharename
  - job-ID (you may invent one)
 skydive2 - user (you may invent one)
   An SMB Print Job - job title (you may set one)
2 - number of requested copies
  sides=two-sided-long-edge - print job options (you may set more, comma-separated, 
if CUPS is the printing system underneath the Samba print server (*))
  /etc/samba/smb.conf - the file you want to print
  (*) won't work against a Windows print server!

* Works for me!

where hp670c is the name of the printer as it is
configured in the smb.conf and nobody the name of the
user wich ii am not sure if it is right...
it connects to the print server but it does not print

any ideia?

No more than the above...

Cheers  happy printing!
Kurt
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba