https://bugzilla.novell.com/show_bug.cgi?id=719532
https://bugzilla.novell.com/show_bug.cgi?id=719532#c6
--- Comment #6 from Roger Larsson 2011-11-21 14:05:42 UTC ---
Got a clue!
Tried with all LanguageLevels for pdf2ps - all worked.
So how does CUPS do it?
Found cupsfilter
This postscript file gives the errounous result when printing
but looks OK when viewed in okular!
Two questions to investigate...
1) ps2ps - optimization stage?
2) Why do I get the DEBUG output?
Have I modified some file in a way that it can't be updated
Will investigate later.
# cupsfilter -m printer/foo HallowPrint.pdf > HallowPrint-cupsfilter.ps
DEBUG: argv[0]="cupsfilter"
DEBUG: argv[1]="1"
DEBUG: argv[2]="root"
DEBUG: argv[3]="HallowPrint.pdf"
DEBUG: argv[4]="1"
DEBUG: argv[5]=""
DEBUG: argv[6]="HallowPrint.pdf"
DEBUG: envp[0]="<CFProcessPath>"
DEBUG: envp[1]="CONTENT_TYPE=application/pdf"
DEBUG: envp[2]="CUPS_DATADIR=/usr/share/cups"
DEBUG: envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
DEBUG: envp[4]="CUPS_SERVERBIN=/usr/lib/cups"
DEBUG: envp[5]="CUPS_SERVERROOT=/etc/cups"
DEBUG: envp[6]="LANG=sv_SE.UTF8"
DEBUG: envp[7]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
DEBUG: envp[8]="PPD=/usr/share/cups/model/laserjet.ppd"
DEBUG: envp[9]="RIP_MAX_CACHE=256m"
DEBUG: envp[10]="USER=root"
INFO: pdftops (PID 2164) started.
DEBUG: Started filter pdftops (PID 2165)
DEBUG: Started filter pstops (PID 2166)
DEBUG: slow_collate=0, slow_duplex=0, slow_order=0
DEBUG: Before copy_comments - %!PS-Adobe-3.0
DEBUG: %!PS-Adobe-3.0
DEBUG: %%Creator: Writer
DEBUG: %%LanguageLevel: 2
DEBUG: %%DocumentSuppliedResources: (atend)
DEBUG: %%DocumentMedia: plain 595 842 0 () ()
DEBUG: %%BoundingBox: 0 0 595 842
DEBUG: %%Pages: 1
DEBUG: %%EndComments
DEBUG: Before copy_prolog - %%BeginDefaults
DEBUG: Before copy_setup - %%BeginSetup
DEBUG: Before page loop - %%Page: 1 1
DEBUG: Copying page 1...
PAGE: 1 1
DEBUG: pagew = 576.0, pagel = 720.0
DEBUG: bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
DEBUG: PageLeft = 18.0, PageRight = 594.0
DEBUG: PageTop = 756.0, PageBottom = 36.0
DEBUG: PageWidth = 612.0, PageLength = 792.0
DEBUG: Wrote 1 pages...
DEBUG: PID 2165 (pdftops) exited with no errors.
DEBUG: PID 2166 (pstops) exited with no errors.
INFO: pdftops (PID 2164) exited with no errors.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.