Blank pages printed for postscript files on cups 1.2
Damien Brémont
damien.bremont at gmail.com
Tue Jun 6 07:43:39 PDT 2006
I start thinking that there is a bug in cups !
Here is one example file generated from xfig-3.2.4-17.2
http://www.lpthe.jussieu.fr/~bremont/test.ps
I've made a nice painting :-)
Let me know if you can print through lpr by cups
And then try the pdf file generated whith the ps2pdf command ......
http://www.lpthe.jussieu.fr/~bremont/test.pdf
It should work !
Any ideas ?
Damien Bremont
Under the sunny weather in Paris :-)
> We are having problem since a recent upgrade to cups 1.2 (cups-1.2.1-1.2) on a FC5 (2.6.16-1.2122_FC5smp)
>
> Data configuration files have been fully rewritten so has to be compliant with new structure from zero.
>
> But..., since the new version we are having problems to print ps figure.
> In these case, we only have blank pages on our HP Laserjet 4350 printers.
> The PPD used is default Postcript one and we are connected through socket:// to the cups server. Client are also running under FC5 and we are printing from Xfig or with lpr command for testing.
>
> There are no mistakes in log file :
> I [05/Jun/2006:17:50:24 +0200] Adding start banner page "none" to job 9905.
> I [05/Jun/2006:17:50:24 +0200] Adding end banner page "none" to job 9905.
> I [05/Jun/2006:17:50:24 +0200] Job 9905 queued on "ariane" by "bremont".
> I [05/Jun/2006:17:50:24 +0200] Started filter /usr/lib/cups/filter/pstops (PID 11063) for job 9905.
> I [05/Jun/2006:17:50:24 +0200] Started backend /usr/lib/cups/backend/ipp (PID 11064) for job 9905.
> N [05/Jun/2006:17:50:25 +0200] [Job 9905] Print file accepted - job ID 178.
>
> We have found two ways to print it :
> -First by editing the postcript file and deleting %!PS-Adobe-2.0 (not fun to do for every job)
> In this cas it generates a warning logged, but the result is good !
> W [05/Jun/2006:13:19:22 +0200] [Job 9848] This document does not conform to the Adobe Document Structuring Conventions and may not print correctly!
>
> -And the second by printing in raw mode lpr -raw test.ps (but we don't like that mode ans it's not easy to change every time)
>
> That must be filter problem, so i give the mime.type section about postscript (default, may help ? )
> application/postscript ai eps ps string(0,%!) string(0,<04>%!) \
> contains(0,128,<1B>%-12345X) + \
> (contains(0,1024,"LANGUAGE=POSTSCRIPT") \
> contains(0,1024,"LANGUAGE = Postscript") \
> contains(0,1024,"LANGUAGE = PostScript") \
> contains(0,1024,"LANGUAGE = POSTSCRIPT") \
> (contains(0,1024,<0a>%!) + \
> !contains(0,1024,"ENTER LANGUAGE")))
>
> We also have problems when printing PDF file, and excel files from Mac OS 10.4 client connected to the linux cupsd server
> (PDF generates Postscript mistakes, Excel files can't be printed in landscape mode)
> I think they are related to the first
>
> Your help is welcome ;-)
>
> Thanks in advance
>
> Damien Brémont
>
>
More information about the cups
mailing list