Network Printing (One more time)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've asked about this before, but most people offer a solution dealing with apsfilter, which I am not using. I'm absolutely losing my mind over this. PLEASE HELP. It's that oh-so-common problem of the extra form feed causing an unwanted blank page at the end of every print job. SuSE's Support database mentions this problem, but for 8.0 all it says is "From SuSE Linux 8.0 on, configure the print queue without "formfeed" by making sure there is no "formfeed" set for the queue in /etc/printcap. The output of man 5 printcap displays all the possibilities available for your spooler (lprng, lprold, plp) to prevent a "formfeed" in a queue." This doesn't help me, as I've looked at man 5 printcap and don't get it. http://sdb.suse.de/en/sdb/html/ke_netprint-trouble.html Here's my info: HP Laserjet 5L configured with yast2 to use ljet4 driver. Everything prints wonderfully, and from the Suse 8.0 "server" that it is attached to, there is NO extra form feed at the end. The blank page shows up ONLY when clients (be they Win or Lin) print (via samba). I accepted all the defaults from Yast2 and it chose lpdfilter for me. I read online about adding sf to suppress form feeds, but when lpd was restarted it said to use ff_separator instead. Neither works. Also, my printer can print at 300dpi or 600dpi and I have it named lp and printer1 respectively to allow me to print at either resolution. I use printer1 almost exclusively, though. Here's my /etc/printcap: lp:\ :cm=lpdfilter drv=upp method=auto color=yes:\ :lp=/dev/lp0:\ :sd=/var/spool/lpd/lp:\ :lf=/var/spool/lpd/lp/log:\ :af=/var/spool/lpd/lp/acct:\ :if=/usr/lib/lpdfilter/bin/if:\ :la@:\ :tr=:cl:sh: printer1:\ :cm=lpdfilter drv=upp method=auto color=yes:\ :lp=/dev/lp0:\ :sd=/var/spool/lpd/printer1:\ :lf=/var/spool/lpd/printer1/log:\ :af=/var/spool/lpd/printer1/acct:\ :if=/usr/lib/lpdfilter/bin/if:\ :la@:\ :tr=:cl:sh: :ff_separator=false:\ I can't find anything in the lpdfilter files of interest except this: /etc/lpdfilter/HP-escapes This file describes some common escape sequernces for HP DeskJet printers. They may used in the configuration file /etc/lpdfilter/<queue>/conf for printer queues for HP DeskJets. * Line termination settings ~ \033 & k # G ~ with the values # 0 = CR=CR ; LF=LF ; FF=FF (default, which is DOS ASCII mode) 1 = CR=CR+LF; LF=LF ; FF=FF 2 = CR=CR ; LF=CR+LF; FF=CR+FF (to print ASCII files from Linux systems) 3 = CR=CR+LF; LF=CR+LF; FF=CR+FF * The quality setup ~ \033 ( s # Q ~ with the values # 1 = draft = 240cps 2 = letter = 120cps (default) * Text scale mode (ignored in landscape mode) ~ \033 & k # W ~ with the values # 5 = off (default) 6 = on * Perforation skip mode ~ \033 & l # L ~ with the values # 0 = off = 0.0 in Top Margin 1 = on = 1/2 in Top Margin (default) * Left margin ~ \033 & a # L ~ with the values # = column number ~ default = 0 = 1/8 in left margin * Pitch ~ \033 ( s # H ~ with the values # = cpi (characters per inch) ~ default = 10 characters per inch ANY IDEAS? - -- Brian Support EFF! http://www.eff.org/ They're defending YOUR rights online. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE897TsATQSaAIcWwsRAiaBAJ9jZTke6QVGkdcItVZZRwILaqUHIACgz67P YgWuBUylLS4LFW4OZq5EHYA= =WO72 -----END PGP SIGNATURE-----
On Fri, 2002-05-31 at 12:37, Brian W. Carver wrote:
HP Laserjet 5L configured with yast2 to use ljet4 driver. Everything prints wonderfully, and from the Suse 8.0 "server" that it is attached to, there is NO extra form feed at the end. The blank page shows up ONLY when clients (be they Win or Lin) print (via samba).
Have you looked at the configuration of samba? If it were a printcap problem, I'd expect the server to have the same symptoms. -- Robert Wohlfarth rjwohlfar@galaxyinternet.net "Is not life more important than food, and the body more important than clothes?" -- Matthew 6:25b
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You're right. Someone else has suggested this and I too now suspect my problem is one with Samba. I'm no better at figuring that out either though. Here's my smb.conf for those who might know what to tell Samba to make it stop printing that ridiculous extra page. # Samba config file created using SWAT # from localhost (127.0.0.1) # Date: 2002/05/01 04:43:18 # Global parameters [global] interfaces = 192.168.0.1/24 127.0.0.1/24 bind interfaces only = Yes security = SHARE encrypt passwords = Yes map to guest = Bad User log file = /var/log/samba/log.%m time server = Yes socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY character set = ISO8859-15 os level = 2 dns proxy = No wins support = Yes guest account = smbuser hosts allow = [snipped] printing = lprng hide dot files = No veto files = /*.eml/*.nws/riched20.dll/*.{*}/ [printers] comment = All Printers path = /var/tmp create mask = 0600 guest ok = Yes printable = Yes [printer1] path = /var/tmp read only = No create mask = 0600 guest ok = Yes printable = Yes printer name = printer1 oplocks = No Robert Wohlfarth wrote: | On Fri, 2002-05-31 at 12:37, Brian W. Carver wrote: | |>HP Laserjet 5L configured with yast2 to use ljet4 driver. Everything |>prints wonderfully, and from the Suse 8.0 "server" that it is attached |>to, there is NO extra form feed at the end. The blank page shows up ONLY |>when clients (be they Win or Lin) print (via samba). | | | Have you looked at the configuration of samba? If it were a printcap | problem, I'd expect the server to have the same symptoms. | - -- Brian Support EFF! http://www.eff.org/ They're defending YOUR rights online. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE8+HAcATQSaAIcWwsRArsYAKCOe3zyT4qzXkGCvWyLhDlyUaa5egCg2Ss3 qJkQSJvRxUeuyvHiQmoSlQY= =fjWQ -----END PGP SIGNATURE-----
participants (2)
-
Brian W. Carver
-
Robert Wohlfarth