Extra Page Printing Problem - Tried :sf:

Stefan Becker becker at lufa-sp.vdlufa.de
Fri Jan 25 08:09:04 GMT 2002


Hi,
This is the /etc/printcap;
#phaser 850 - Verwaltung
ascii|lp1|PS_600dpi-a4-ascii-mono-600|PS_600dpi a4 ascii mono 600:\
        :lp=:\
        :rm=192.168.3.50:\
        :sd=/var/spool/lpd/PS_600dpi-a4-ascii-mono-600:\
        :lf=/var/spool/lpd/PS_600dpi-a4-ascii-mono-600/log:\
        :af=/var/spool/lpd/PS_600dpi-a4-ascii-mono-600/acct:\
        :if=/var/lib/apsfilter/bin/PS_600dpi-a4-ascii-mono-600:\
        :la@:mx#0:\
        :tr=:cl:sh:sf:
#
lp|lp2|PS_600dpi-a4-auto-color-600|PS_600dpi a4 auto color 600:\
        :lp=:\
        :rm=192.168.3.50:\
        :sd=/var/spool/lpd/PS_600dpi-a4-auto-color-600:\
        :lf=/var/spool/lpd/PS_600dpi-a4-auto-color-600/log:\
        :af=/var/spool/lpd/PS_600dpi-a4-auto-color-600/acct:\
        :if=/var/lib/apsfilter/bin/PS_600dpi-a4-auto-color-600:\
        :la@:mx#0:\
        :tr=:cl:sh:sf:
#
lp-mono|lp3|PS_600dpi-a4-auto-mono-600|PS_600dpi a4 auto mono 600:\
        :lp=:\
        :rm=192.168.3.50:\
        :sd=/var/spool/lpd/PS_600dpi-a4-auto-mono-600:\
        :lf=/var/spool/lpd/PS_600dpi-a4-auto-mono-600/log:\
        :af=/var/spool/lpd/PS_600dpi-a4-auto-mono-600/acct:\
        :if=/var/lib/apsfilter/bin/PS_600dpi-a4-auto-mono-600:\
        :la@:mx#0:\
        :tr=:cl:sh:sf:
#
raw|lp4|PS_600dpi-a4-raw|PS_600dpi a4 raw:\
        :lp=:\
        :rm=192.168.3.50:\
        :sd=/var/spool/lpd/PS_600dpi-a4-raw:\
        :lf=/var/spool/lpd/PS_600dpi-a4-raw/log:\
        :af=/var/spool/lpd/PS_600dpi-a4-raw/acct:\
        :if=/var/lib/apsfilter/bin/PS_600dpi-a4-raw:\
        :la@:mx#0:\
        :tr=:cl:sh:sf:

this is the /etc/apsfilterrc.PS_600dpi where the
PRINT_RAW_SUPPRESS_FORMFEED="yes"

# Systemwide /etc/apsfilterrc.PS_600dpi file
#
# Enables you to configure some aspects of apsfilter to fit only
# settings of a special printer with gs device PS_600dpi the name
# of the ghostscript device of this printer.
# For global settings have a look into /etc/apsfilterrc for configuration.
#
# NOTE: You should set global features in /etc/apsfilterrc.
#
# !! FOR A DESCRIPTION YOU SHOULD READ /etc/apsfilterrc CAREFULLY !!
#
#    The original apsfilterrc is always found in
#    /var/lib/apsfilter/templates/
#

# (0)
#REMOTE_PRINTER="/usr/bin/novell_print -S LUFA -U GAST -n -q PHASER360 -"
# (1)
#TEXINPUTS=
# (2)
#PRINT_DVI=
# (3)
#PRINT_RAW_SETUP_PRINTER=
#PRINT_RAW_RESET_PRINTER=
# (4)
PRINT_RAW_SUPPRESS_FORMFEED="yes"
# (5)
#if [ "$COLOR" = "mono" ] ; then
#  GS_FEATURES=
#  PRELOADS=
#else
#  GS_FEATURES=
#  PRELOADS=
#fi
#if [ "$QUEUE" = "<the_queue_name>" ] ; then
#  GS_FEATURES="-sDithering=gsmono"
#fi
#if [ "$QUEUE" = "<an_other_queue_name>" ] ; then
#  GS_FEATURES="-dUnidirectional"
#fi
# Systemwide /etc/apsfilterrc.PS_600dpi file
#
# Enables you to configure some aspects of apsfilter to fit only
# settings of a special printer with gs device PS_600dpi the name
# of the ghostscript device of this printer.
# For global settings have a look into /etc/apsfilterrc for configuration.
#
# NOTE: You should set global features in /etc/apsfilterrc.
#
# !! FOR A DESCRIPTION YOU SHOULD READ /etc/apsfilterrc CAREFULLY !!
#
#    The original apsfilterrc is always found in
#    /var/lib/apsfilter/templates/
#

# (0)
#REMOTE_PRINTER="/usr/bin/novell_print -S LUFA -U GAST -n -q PHASER360 -"
# (1)
#TEXINPUTS=
# (2)
#PRINT_DVI=
# (3)
#PRINT_RAW_SETUP_PRINTER=
#PRINT_RAW_RESET_PRINTER=
# (4)
#PRINT_RAW_SUPPRESS_FORMFEED="yes"
# (5)
#if [ "$COLOR" = "mono" ] ; then
#  GS_FEATURES=
#  PRELOADS=
#else
#  GS_FEATURES=
#  PRELOADS=
#fi
#if [ "$QUEUE" = "<the_queue_name>" ] ; then
#  GS_FEATURES="-sDithering=gsmono"
#fi
#if [ "$QUEUE" = "<an_other_queue_name>" ] ; then
#  GS_FEATURES="-dUnidirectional"
#fi


The /etc/smb.conf
[phaser850]
        comment = Phaser850 Postscript-Farbdrucker
        path = /tmp
        read only = No
        guest ok = Yes
        print ok = Yes
        printer name = raw
        oplocks = No
        share modes = No


this is what I ment about the RAW Printer.
Samba uses "printer name = raw"
and printcap diffines this printer....


Stefan




LUFA Speyer (EDV)
email: becker at lufa-sp.vdlufa.de
tel  : +49 (0)6232-629542
fax  : +49 (0)6232-629544
http://www.lufa-speyer.de/

> -----Original Message-----
> From: Sanjiv Bawa [mailto:sbawa at tabmaster.com]
> Sent: Friday, January 25, 2002 6:35 AM
> To: Stefan Becker
> Subject: RE: Extra Page Printing Problem - Tried :sf:
>
>
> Stefan,
>
> Thank you so much for your response.
>
> I have no idea how to setup a raw filter. Can you send me you
> /etc/printcap
> file? I will do that.
>
> Sanjiv
>
> -----Original Message-----
> From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
> Behalf Of Stefan Becker
> Sent: Thursday, January 24, 2002 5:36 PM
> To: sbawa at tabmaster.com; samba at lists.samba.org
> Subject: Re: Extra Page Printing Problem - Tried :sf:
>
>
> Hi,
> the problem could be that you are not using the "RAW" printer.
> More likly is that you haven't looked into the......
> "a2ps" settings.
>
> I'm not at my desk so just my memory, there is a global a2ps config and
> a printer unique config.   These files are in /etc/a2ps... I believe
>
> Look for a setting that saids somethin about (surpress raw?) formfeeds...
>
> I'm probably not much help but it should get your problem solved!
>
> Stefan
>
>
> -----Ursprüngliche Nachricht-----
> Von: Sanjiv Bawa <sbawa at tabmaster.com>
> An: samba at lists.samba.org <samba at lists.samba.org>
> Datum: Donnerstag, 24. Januar 2002 22:11
> Betreff: Extra Page Printing Problem - Tried :sf:
>
>
> >I am trying to print using Samba. The printing and spooler works fine.
> >
> >The problem is Win 95 and 98 send an extra linefeed at the end
> that causes
> >the printer to print a blank page at the bottom.
> >
> >I tried to put
> >:sf:
> >in the /etc/printconf file BUT it gives me the following warning.
> >
> >Warning - Laserjet4_1: sf (supress form feeds) is ignored. Use
> >'ff_separator' if you want FF between job files.
> >
> >This happens when I am starting lpd.
> >
> >I am using Red Hat 7.1
> >
> >Please help!!! Thanks a bunch.
> >
> >
> >--
> >To unsubscribe from this list go to the following URL and read the
> >instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
>
>
> --
> 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