Try adding the 'sf' option to the printer definition in /etc/printcap. The 'sf' stands for 'suppress form feeds'. If this doesn't work, let me know and I'll send you a copy of my printer definition, since I had the same problem and was able to fix it with one of the options. -- Derek Pizzagoni I.T. Manager SBE, Inc. URL: http://www.sbei.com>Date: Sun, 23 Apr 2000 22:42:24 +0200 >From: mdlinux <mdlinux@convair.com> >To: samba@samba.org >Subject: page eject after printing >Message-ID: <39036030.D1CE7025@convair.com> >MIME-Version: 1.0 >Content-Type: text/plain; charset=us-ascii >Content-Transfer-Encoding: 7bit>Hi all,>I'm under samba 2.06 / Freebsd 3.2>after all printing from windows clients, one extra page ejects. >under freebsd, no problem.>I don't see any option to fix this.>Thanks >Michel
If the printcap change doesn't work you can also try adding print command = lpr -r -h -P%p %s to the [global] section in your smb.conf ;-) -- Thomas Derek Pizzagoni wrote:> > Try adding the 'sf' option to the printer definition in /etc/printcap. > The 'sf' stands for 'suppress form feeds'. > > If this doesn't work, let me know and I'll send you a copy of my printer > definition, since I had the same problem and was able to fix it with one > of the options. > > -- > Derek Pizzagoni > I.T. Manager > SBE, Inc. > URL: http://www.sbei.com > > >Date: Sun, 23 Apr 2000 22:42:24 +0200 > >From: mdlinux <mdlinux@convair.com> > >To: samba@samba.org > >Subject: page eject after printing > >Message-ID: <39036030.D1CE7025@convair.com> > >MIME-Version: 1.0 > >Content-Type: text/plain; charset=us-ascii > >Content-Transfer-Encoding: 7bit > > >Hi all, > > >I'm under samba 2.06 / Freebsd 3.2 > > >after all printing from windows clients, one extra page ejects. > >under freebsd, no problem. > > >I don't see any option to fix this. > > >Thanks > >Michel
Hi Michel, Here are the printcap entries for the printers I print to through Linux/Samba (from Windows 98). The first is locally attached. The second is sitting on a little print-server box, but the Linux box maintains the queue: hp-color-raw:\ :rw:\ :sh:\ :sf:\ :lp=/dev/lp0:\ :sd=/var/spool/lpd/hp-color-raw:\ :fx=flp: hp-lj-raw:\ :rw:\ :sh:\ :sf:\ :sd=/var/spool/lpd/hp-lj-raw:\ :fs=flp:\ :rm=netprint:\ :rp=PORT1: They are both set up as raw printers, since I have the printer drivers installed on the Win98 box, and don't need to send the print jobs through another filter on the Linux box. - Derek mdlinux wrote:> Derek, > > Thanks for your hint but it still does not work. > As you propose, I'd be happy to get your printcapp's copy > > Thanks > Michel > > Derek Pizzagoni wrote: > > > Try adding the 'sf' option to the printer definition in /etc/printcap. > > The 'sf' stands for 'suppress form feeds'. > > > > If this doesn't work, let me know and I'll send you a copy of my printer > > definition, since I had the same problem and was able to fix it with one > > of the options. > > > > -- > > Derek Pizzagoni > > I.T. Manager > > SBE, Inc. > > URL: http://www.sbei.com > > > > >Date: Sun, 23 Apr 2000 22:42:24 +0200 > > >From: mdlinux <mdlinux@convair.com> > > >To: samba@samba.org > > >Subject: page eject after printing > > >Message-ID: <39036030.D1CE7025@convair.com> > > >MIME-Version: 1.0 > > >Content-Type: text/plain; charset=us-ascii > > >Content-Transfer-Encoding: 7bit > > > > >Hi all, > > > > >I'm under samba 2.06 / Freebsd 3.2 > > > > >after all printing from windows clients, one extra page ejects. > > >under freebsd, no problem. > > > > >I don't see any option to fix this. > > > > >Thanks > > >Michel-------------- next part -------------- HTML attachment scrubbed and removed
Date: Tue, 25 Apr 2000 18:32:32 +0200 From: thomas.heiligenmann@t-online.de (Thomas Heiligenmann) Sorry to say the problem remains... I use a network printer Brother HL1270N (very neat) as a postscript printer. my printcap file is as follows : # # BROTHER HL1270N # lp|brother|laser:\ :sh:\ :sf:\ :lp=/dev/lpt0:\ :sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:\ :rm=BRN_313DFF:\ :rp=POSTSCRIPT_P1: # other available services : # :rp=BINARY_P1: # :rp=BRN_313DFF_P1: # :rp=TEXT_P1: # :rp=PCL_P1: I tried to use the other services, and the result is the same. hem hem ... cleaned my glasses ... nothing does... Thanks for any other good idea Michel>To: Multiple recipients of list SAMBA <samba@samba.org> >Subject: Re: Suppressing Form Feeds >Message-ID: <3905C8A0.E48E8381@heiligenmann.de> >MIME-Version: 1.0 >Content-Type: text/plain; charset=us-ascii >Content-Transfer-Encoding: 7bit>If the printcap change doesn't work you can also try adding > print command = lpr -r -h -P%p %s >to the [global] section in your smb.conf ;-)>-- >Thomas
Sometimes this is a problem with the JetDirect card. (If your using one.) Try telnetting to the JetDirect card and use the "/" to find the status of the banner. If it is enabled, type "banner: 0" to disable. -----Original Message----- From: Derek Pizzagoni [mailto:derekp@sbei.com] Sent: Tuesday, April 25, 2000 2:50 PM To: Multiple recipients of list SAMBA Subject: Re: Suppressing Form Feeds Hi Michel, Here are the printcap entries for the printers I print to through Linux/Samba (from Windows 98). The first is locally attached. The second is sitting on a little print-server box, but the Linux box maintains the queue: hp-color-raw:\ :rw:\ :sh:\ :sf:\ :lp=/dev/lp0:\ :sd=/var/spool/lpd/hp-color-raw:\ :fx=flp: hp-lj-raw:\ :rw:\ :sh:\ :sf:\ :sd=/var/spool/lpd/hp-lj-raw:\ :fs=flp:\ :rm=netprint:\ :rp=PORT1: They are both set up as raw printers, since I have the printer drivers installed on the Win98 box, and don't need to send the print jobs through another filter on the Linux box. - Derek mdlinux wrote: Derek, Thanks for your hint but it still does not work. As you propose, I'd be happy to get your printcapp's copy Thanks Michel Derek Pizzagoni wrote:> Try adding the 'sf' option to the printer definition in /etc/printcap. > The 'sf' stands for 'suppress form feeds'. > > If this doesn't work, let me know and I'll send you a copy of my printer > definition, since I had the same problem and was able to fix it with one > of the options. > > -- > Derek Pizzagoni > I.T. Manager > SBE, Inc. > URL: http://www.sbei.com <http://www.sbei.com> > > >Date: Sun, 23 Apr 2000 22:42:24 +0200 > >From: mdlinux <mdlinux@convair.com> > >To: samba@samba.org > >Subject: page eject after printing > >Message-ID: <39036030.D1CE7025@convair.com> > >MIME-Version: 1.0 > >Content-Type: text/plain; charset=us-ascii > >Content-Transfer-Encoding: 7bit > > >Hi all, > > >I'm under samba 2.06 / Freebsd 3.2 > > >after all printing from windows clients, one extra page ejects. > >under freebsd, no problem. > > >I don't see any option to fix this. > > >Thanks > >Michel-------------- next part -------------- HTML attachment scrubbed and removed
Thanks to all ... but I still get this extra form feed after each printing when printing from win clients. This with a Brother HL-1270N. I tried with a HP 5L : same effect. After so many unsuccessful tries, I give up for now ... maybe later? Thanks anyway Michel
Reasonably Related Threads
- SAMBA digest 2509
- Single/Dual DS3 - anyone seen this?
- sig 11
- Please inform samba@samba.org "Chris" <chrisv@satl.com> "Chris" <chrisv@satl.com> thomas.heiligenmann@t-online.de (Thomas Heiligenmann) thomas.heiligenmann@t-online.de (Thomas Heiligenmann) Jeremy Allison <jeremy@valinux.com> Jeremy Allison
- patch request - inherit owner