Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
/etc/printcap
is already occupied by apsfilter.
/etc/printcap
.----------------------[/etc/printcap Auszug]--------------------- #Network printer lp8|stcolor-a4-auto-color|stcolor auto color:\ :sd=/var/spool/lpd/lp8:\ :af=/var/spool/lpd/lp8/acct:\ :if=/usr/local/sbin/netzprint_lp8:\ :bk:sh:mx#0:\ :lp=/dev/null: ------------------------------------------------------------------The shell script
/usr/local/sbin/netzprint_lp8
now contains
the apsfilter call and the call for printing over the net.-----------------------[/usr/local/sbin/netzprint_lp8]------------ #!/bin/sh /usr/lib/apsfilter/filter/aps-epson-a4-auto-color - $1 $2 $3 $4 $5 $6 $7 $8| \ /usr/local/sbin/smbprint $1 $2 $3 $4 $5 $6 $7 $8 ------------------------------------------------------------------Create the file
/usr/local/sbin/smbprint
by copying
the template into
/usr/doc/packages/samba/printing/smbprint
. The last line has
to be changed as follows:
) | /usr/bin/smbclient "\\\\$server\\$service" $password -U $name -N -P >> \ $logfileOne still needs a configuration file in the spool directory.
-----------------------[/var/spool/lpd/lp8/.config]--------------- server=[Servername to which the printer is connected] service=[Printer's name] password="Password for access" name=[Username on the Windows server] ------------------------------------------------------------------This information was given to us by our customer Alexander Becker.
Thanks a lot Alexander...
Keywords: APSFILTER, NET PRINT, SAMBA
Feedback welcome: Send Mail to fehr@suse.de (Please give the following subject: SDB-fehr_druck_1
)
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch