Re: printing problem


Subject: Re: printing problem
From: Christian Schmidt (ChriSchmiLi@gmx.de)
Date: Sat Jan 27 2001 - 09:19:33 EST


Richard Goldberg wrote:

> When I try to print someting, I get an error on the mac saying
> "Document could not be printed on printer "Printername" because of a
> PostScript error". In the log file on my atalkd server I get:
>
> Jan 26 13:31:27 <server> papd[9128]: getppdent: line too long
> Jan 26 13:31:27 <server> papd[9128]: lp_init: lock: No such file or directory
> Jan 26 13:31:27 <server> papd[9128]: lp_open failed

I always got the same message although my printer worked fine.
I got rid of it by transferring the PPD file via ftp as ASCII Text
onto the server.
=> It was a problem resulting from the different LF/CR handling.

> I thought the "line too long "error was due to the lf/cr issue between mac
> and unix but I ran tr "\015" "\012" < orig.ppd > temp.ppd and the
> error still comes up.

Try ftp-ing it from the mac to the server and choose "ASCII Text"
transfer mode.

> I know I can fix the other error (lp_init/lp_open) by changing the conf
> file to
> :pr=|/usr/bin/lpr -Ptest:\
> are there any disadvantages to this?

No, I don't think so.

hth,
Christian

-- 
Made with a Macintosh...
ChriSchmi@t-online.de
http://home.t-online.de/home/chrischmi/



This archive was generated by hypermail 2b28 : Sun Oct 14 2001 - 03:04:31 EDT