[Samba] [re-post] Printing issues. 2.2.7, Solaris9

Errol.Fouquet at mms.gov Errol.Fouquet at mms.gov
Mon Oct 20 16:13:11 GMT 2003


Alex,

You should be able to add an entry for this printer in the smb.conf file,
where you could modify the print command:

[global]
...
...
[print$]
...
[printers]
...

[apu-printer]
	print command = lp -f apu-mailer -c -d%p %s; rm %s
	guest ok = yes
	printable = yes


Check your current "print command" first ( testparm | grep 'print command' )
...
and just add the "-f apu-mailer" as you see above.



-----Original Message-----
From: Alex Collins [mailto:a.collins at apu.ac.uk] 
Sent: Monday, October 20, 2003 9:45 AM
To: samba at lists.samba.org
Subject: [Samba] [re-post] Printing issues. 2.2.7, Solaris9


Hi There

   Apologies for re-posting this. I am still at a dead end. Sun "Don't
Support Samba." I have seen nothing in any of the Doc's out there ( If it is
I'd be happy to accept an RTFM ) and need to get this to work.

Any suggestions or hints would be VERY welcome.



        I run a Samba (Version 2.2.7) Print server on a Solaris 9 box. Setup
is pretty simple. There are no users on the box so I map all failed logins
to guest and all that guest can do is print. This works well in our
environment. Samba just provides the mapping to the windows machines.

All the Client machines are Win XP. Users can add modify and delete printers
as required.
        The printers are setup on the server with Solaris lpadmin and again
all run very basic setups.

        We have to send out mailers and have some lovely pre printed carbon
forms which we feed through a Dot Matrix Printer. They are 11"  wide X 5.5"
Long.

        I have setup the Printer and a form (apu-mailer) in Solaris and it
works perfic when you fire a job off with the form name on the server, but I
need to pass an f apu-mailer parameter to the printer via Samba to tell the
Solaris lpd to print using the form, rather than wait until the form is un
mounted from the printer, at which point it treats them all as A4.

This printer is only ever used to print these forms.

        Is this a Samba issue, A Solaris LP issue or do I need to look
elsewhere ? Any clues or suggestions are welcome.

-- 
Alex Collins.           Library Systems and Support Officer.
Rivermead Library.      Tel:01245 493131 X3722  Fax: X3145
a.collins at apu.ac.uk        http://libweb.apu.ac.uk
This message has been ROT-13 Encrypted twice for Extra Security !
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list