[cups.general] Problems printing PDF files through cups.

Gerald Britton gerald.britton at gmail.com
Thu Sep 27 15:44:37 PDT 2007


Thanks Kurt. Stuff for me to try in the morning. I did the PPD var
like you said but gv didn't look right.  You're last few msgs caught
me on the way home and cooking so I am just picking them up now.


On 9/27/07, Kurt Pfeifle <k1pfeifle at gmx.net> wrote:
> Gerald Britton wrote:
> > Thanks for working on this, Kurt.  I've learned a lot in the process
> > and that never hurts.  I'm disappointed that I can't reach my ultimate
> > goal, but I can do it easily with acrobat reader on windows (a couple
> > of clicks and it's rotated and scaled perfectly).  I just trying NOT
> > to use windows for stuff like this.
>
>
> Hey, I now notice you didn't even pay attention and respond to my
> comments about specifying "landscape" as an option.
>
> Or did you?
>
> And did you receive the files I mailed to you?!?
>
> And did you run the commandline exactly as I showed you, with the
> PPD  as an env variable? (and you verified the PPD has the full de-
> finitions for "Legal"? and the PPD passes the "cupstestppd" test?
> It may after all be the case that even your distro's wrapper script
> works correctly if used in the right way...)
>
> > On 9/27/07, Kurt Pfeifle <k1pfeifle at gmx.net> wrote:
> >> Gerald Britton wrote:
> >>> here's the file I'm trying to print.
> >>
> >> I found it already in the meanwhile  :-)
> >>
> >> And I mailed you *my* results, which look perfect for "fitplot to
> >> Letter".
> >>
> >>
> >>> I want to print it landscape,
> >>
> >> No, you don't want to. Honest. :-)
> >>
> >> In 99.99% of cases, it will do the wrong thing when applied to PDF
> >> file printing. I don't believe your case is amongst the 0.01%  :-)
> >>
> >>
> >>> scaled down to fit my page size.  If you can do it for A4 or A3, I
> >>> should be able to do it for legal
> >>
> >> OK, I'll repeat the test for legal, and let you know the result.
> >>
> >>
> >>> http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf
> >>>
> >>> On 9/27/07, Gerald Britton <gerald.britton at gmail.com> wrote:
> >>>> After some more experimenting, I used the following command:
> >>>>
> >>>> lp -o landscape -o media=legal -o fitplot -o PageSize=legal myfile.pdf
> >>>>
> >>>> the "-o=landscape" actually makes it print portrait!  So I removed that
> and ran:
> >>>>
> >>>> lp -o media=legal -o fitplot -o PageSize=legal myfile.pdf
> >>>>
> >>>> This got me closer to my goal.  The printout was landscape orientation
> >>>> (I know, doesn't make sense!) but the scaling was for portrait
> >>>> orientation and thus too small!
> >>>>
> >>>> On 9/27/07, Gerald Britton <gerald.britton at gmail.com> wrote:
> >>>>> Thanks Kurt!  Yes, the $ was just from my prompt, when I cut and
> >>>>> pasted my results.  Helge helped me with the other operands as well.
> >>>>> I ran the commands and sent the output directly (not to the list,
> >>>>> since it is too big).
> >>>>>
> >>>>> I tried gv as you suggested.  It shrank the pdf to fit the page but
> >>>>> didn't obey the printer directive to fit to the nearest size and
> >>>>> scale.
>
>
> --
> Kurt Pfeifle
> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS
> Infotec Deutschland GmbH  .....................  Hedelfinger Strasse 58
> A RICOH Company  ...........................  D-70327 Stuttgart/Germany
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
>





More information about the cups mailing list