I'am running Linux as server.My printer is conected to an win98 client. It works fine, at least when the client and the printer are online. When I print from my Linux machine and the win98 not connected, the printcommand just disapear. "lpq" gives "no entries". Where does the printcommand go then? My problem is that in case I print from the Linux server and the win98 client is not connected, or the printer is offline the print command is not queued for later printing when the win98 client and/or the printer is online again. The reason is that my Linux server act as faxserver, and incoming faxes are automaticly printed. Is this possible with Linux ans SMB, or do I have to configure a remote printer? Any suggestion(s) are welcome. In case somebody can help me, and need some more info about printcap etc. please let me know. Thanks Wil
Wil, What is the print command which you are using? smbclient, or some homegrown script, or did you install the printer via the Linux printtool (assuming you are using a Linux that has an smb printer option and the printtool)?> > Date: Sat, 25 Sep 1999 20:04:04 +0200 > From: wmmvdwee <wmmvdwee@hawedo.com> > To: samba@samba.anu.edu.au > Subject: print queue problem > Message-ID: <37ED0E94.FBD436A7@hawedo.com> > MIME-Version: 1.0 > Content-Type: text/plain; charset=us-ascii > Content-Transfer-Encoding: 7bit > > I'am running Linux as server.My printer is conected to an win98 client. > It works fine, at least when the client and the printer are online. > When I print from my Linux machine and the win98 not connected, > the printcommand just disapear. "lpq" gives "no entries". > Where does the printcommand go then? > > My problem is that in case I print from the Linux server and the > win98 client is not connected, or the printer is offline the print > command is not queued for later printing when the win98 client > and/or the printer is online again. The reason is that my Linux > server act as faxserver, and incoming faxes are automaticly > printed. > > Is this possible with Linux ans SMB, or do I have to configure a > remote printer? > > Any suggestion(s) are welcome. > In case somebody can help me, and need some more info about printcap > etc. please let me know. > > Thanks > > Wil >-- Bill Knox Operating Systems Programmer/Analyst The MITRE Corporation
Hi, Thanks to Bill Knox for his answer about my printing problem. In order to give an asnwer to your question. I'am running SuSe Linux 6.0 which comes with yast. I have configured my printer with yast. SMB printer, which is connected to a win98 client. SuSe use APSFILTER to filter the output, and use "samba_print" file. This "samba_print" is mentioned in etc/apsfilterrc.printername. My printcommands are " lpr text.file" or "lpr -Plp text.file". Is this correct? or do I need to use another printcommand to print with samba. The lpr command works all fine for me atleast when the printer and the win98 clients are online. When the printer or the client are offline, the printcommand just disapear, so no queuing for the printjob. Can you please give me an idea or solution, to queue the printjobs when the win98 and printer are offline, via samba printing. Thanks Wil