ppr-list-digest volume 1, number 179, message 1

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: "Ufficio C.E.D." <info@sertosi.it>
Date: Thu, 28 Oct 1999 08:55:37 +0200
Subject: PPR: Printing with Samba

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

I think the ^M symbol is due to a CR / LF problem , but i have no idea on
how to solve it so , can someone help me ??

Thank in advance , bye
Claudio Benedetti