Note: please don't spam any of the e-mail addresses which you see here. Follow this link if you want some addresses to misuse.
From: Isabel Azevedo <iazevedo@fe.up.pt> Date: Thu, 28 Oct 1999 09:54:00 +0100 Subject: Re: PPR: Printing with Samba On Thu, 28 Oct 1999, you wrote: > Hello everybody , i have a Linux 2.0.36 box with PPR 1.32 installed on . I > have configured it and i can print perfectly from Macs . > Now , wanting to share some laser printers with Samba (v.1.9.18p7) , i have > followed the instructions reported in "Installing and Using PPR" and changed > /etc/smb.conf as follows: > > [pprproto] > comment = PPR prototype print share > print command = /usr/ppr/bin/ppr -d %p -e responder -w log -m samba -r > %m-%I > lpq command = /usr/ppr/bin/ppop lpq %p > lprm command = /usr/ppr/bin/ppop -X %m@samba cancel %p-%j > lppause command = /usr/ppr/bin/ppop -X %m@samba hold %p-%j > lpresume command = /usr/ppr/bin/ppop -X %m@samba release %p-%j > # printing = bsd ------> copied in [global] > browseable = no > printer = null > printable = yes > public = yes > writable = no > create mode = 0700 > path = /spool/samba/printspool > include = /etc/ppr/smb-include.conf > > then i run /usr/ppr/bin/ppr2samba so that i am able to see the printers with > win explorer . > > When i print with a Win95/98 box everything seems to work (no error > messages) but the printer doesn't print anything and a "ppop list all" > dosn't show anything too. > > But , if i look into the spool directory ( /spool/samba/printspool ) there > is a job named "stazio.a31112" . > If i "vi" this job , i see something like this: > > %!PS-Adobe-3.1^M > %%Title: Resi.xls^M > %%Creator: ADOBEPS4.DRV Version 4.20^M > %%CreationDate: 10/28/99 08:40:19^M > %%For: STAZIONE-H^M > %%BoundingBox: (atend)^M > %%Pages: (atend)^M > %%PageOrder: Special^M > %%DocumentNeededResources: (atend)^M > %%DocumentSuppliedResources: (atend)^M > %%DocumentSuppliedFeatures: (atend)^M > %%DocumentData: Clean7Bit^M > %%LanguageLevel: 3^M > %%TargetDevice: (LaserWriter 8500) (3010.103) 24^M > %%EndComments^M > ^M > Put the %s in your print command: print command = /usr/ppr/bin/ppr -d %p -e responder -w log -m samba -r %m-%I %s %s is the file to print Isabel Azevedo