Thanks Andrew. It worked. I also fiddled out what the problem was. First the print job has to be processed by the APS filter, then requeued to the smbprint filter. To do that, a switch in the actual APS filter (if <filename> in the printcap) should be set to remote_print = true. This requeues the job as lpr -Premote .... I changed remote in the name of my network printer. I also changed lp /dev/lp0 into /dev/null (printcap). And then (after rebooting) it worked. At 05:23 PM 8/20/98 +1000, you wrote: >>Hi, >> >>Some time ago I asked whether someone could point me in the right direction >>with respect to printing on a network printer. I got many reactions. Thanks >>for that, but I haven't succeeded completely yet. >> >>action list: >> >>-installed Samba package >>-set up printcap using smbprint as filter >> >>Now I can print to the remote printer, but ascii text only. >> >>- installed APS filter. >> >>The setup changed the printcap file and added entries as if the printer was >>a local printer. >>In the specific APS filter a remark is made about printing to a remote >>printer: >>uncomment the line "REMOTE=true" and make reasonable changes in the >>printcap file. >> >>What reasonable changes are meant? Any hints would be very appreciated. >> >>Lucas >> >>Except for printing ascii I'd also like to print ps files. Furthermore, I >>use Slackware 3.5 / 2.0.34 > > If you find postscript comes out as ASCII source try using "lpr -l <filename>" > Thats a lower case "L" option. > > The -l option removes UNIX headers from the file and is necessary for most >Micro$oft Windoze based print spoolers. > > > >
