Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #190012 > unrolled thread

got a new one

Started byGene Heskett <gheskett@shentel.net>
First post2017-12-19 15:00 +0100
Last post2017-12-21 22:10 +0100
Articles 20 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  got a new one Gene Heskett <gheskett@shentel.net> - 2017-12-19 15:00 +0100
    Re: got a new one Brian <ad44@cityscape.co.uk> - 2017-12-19 15:20 +0100
    Re: got a new one Curt <curty@free.fr> - 2017-12-19 15:50 +0100
      Re: got a new one Brian <ad44@cityscape.co.uk> - 2017-12-20 21:40 +0100
        Re: got a new one Gene Heskett <gheskett@shentel.net> - 2017-12-20 23:10 +0100
          Re: got a new one Brian <ad44@cityscape.co.uk> - 2017-12-21 00:00 +0100
            Re: got a new one Gene Heskett <gheskett@shentel.net> - 2017-12-21 01:50 +0100
              Re: got a new one Gene Heskett <gheskett@shentel.net> - 2017-12-21 02:00 +0100
                Re: got a new one Curt <curty@free.fr> - 2017-12-21 10:30 +0100
                  Re: got a new one Gene Heskett <gheskett@shentel.net> - 2017-12-21 11:00 +0100
                    Re: got a new one Curt <curty@free.fr> - 2017-12-21 11:10 +0100
                      Re: got a new one Gene Heskett <gheskett@shentel.net> - 2017-12-21 11:50 +0100
              Re: got a new one Brian <ad44@cityscape.co.uk> - 2017-12-21 12:00 +0100
                Re: got a new one Gene Heskett <gheskett@shentel.net> - 2017-12-21 12:20 +0100
                  Re: got a new one Brian <ad44@cityscape.co.uk> - 2017-12-21 13:00 +0100
                    Re: got a new one Gene Heskett <gheskett@shentel.net> - 2017-12-21 17:50 +0100
                      Re: got a new one Brian <ad44@cityscape.co.uk> - 2017-12-21 18:10 +0100
                        Re: got a new one Gene Heskett <gheskett@shentel.net> - 2017-12-21 18:40 +0100
                          Re: got a new one Brian <ad44@cityscape.co.uk> - 2017-12-21 19:20 +0100
                            Re: got a new one Gene Heskett <gheskett@shentel.net> - 2017-12-21 22:10 +0100

#190012 — got a new one

FromGene Heskett <gheskett@shentel.net>
Date2017-12-19 15:00 +0100
Subjectgot a new one
Message-ID<uYqB3-7mq-1@gated-at.bofh.it>
Greetings all;

I just got a pdf emailed to me thats an invoice, and a puzzle. The 
automatic linkage when I click on the pdf opens it in evince. It reads 
perfectly on screen, but prints blank pages. Even with the colors 
inverted.

I then saved it, loaded it up into okular, and it printed perfectly.

evince has printed 700+ page documents, several times, flawlessly.

So to what/where do I send this one page pdf as a test pdf to be used to 
fix evince?

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [next] | [standalone]


#190013

FromBrian <ad44@cityscape.co.uk>
Date2017-12-19 15:20 +0100
Message-ID<uYqUp-7Iz-7@gated-at.bofh.it>
In reply to#190012
On Tue 19 Dec 2017 at 08:43:20 -0500, Gene Heskett wrote:

> Greetings all;
> 
> I just got a pdf emailed to me thats an invoice, and a puzzle. The 
> automatic linkage when I click on the pdf opens it in evince. It reads 
> perfectly on screen, but prints blank pages. Even with the colors 
> inverted.
> 
> I then saved it, loaded it up into okular, and it printed perfectly.
> 
> evince has printed 700+ page documents, several times, flawlessly.
> 
> So to what/where do I send this one page pdf as a test pdf to be used to 
> fix evince?

Okular takes your PDF, converts it to PostScript and sends it to the
printing system. Evince converts your PDF to another PDF and sends that
to the printing system.

I think your first step would be to determine what the PDF which evince
sends to CUPS looks like. One way is to stop cupsd with

 cupsdisable <destination_print_queue>

and send the invoice from evince to be printed. Look in /var/spool/cups
for a file beginning with "d" and view it in a PDF viewer. Also use
pdfinfo and pdffonts to compare this PDF and the original one.

Use cupsenable to revert the first command.

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#190015

FromCurt <curty@free.fr>
Date2017-12-19 15:50 +0100
Message-ID<uYrnr-7Xl-9@gated-at.bofh.it>
In reply to#190012
On 2017-12-19, Gene Heskett <gheskett@shentel.net> wrote:
> Greetings all;
>
> I just got a pdf emailed to me thats an invoice, and a puzzle. The 
> automatic linkage when I click on the pdf opens it in evince. It reads 
> perfectly on screen, but prints blank pages. Even with the colors 
> inverted.
>
> I then saved it, loaded it up into okular, and it printed perfectly.
>
> evince has printed 700+ page documents, several times, flawlessly.
>
> So to what/where do I send this one page pdf as a test pdf to be used to 
> fix evince?

There was a libgtk-3-0 bug that affected printing in evince (which could
be avoided by unchecking the default 'Auto Rotate and Center' in the
'Page Handling' submenu of the print dialogue). 

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771205

This effectively prevents printing in landscape mode (you're not trying
to print in landscape mode again, are you Gene)?

Happy holidays,

C.

> Cheers, Gene Heskett


-- 
"An autobiography is only to be trusted when it reveals something disgraceful.
A man who gives a good account of himself is probably lying, since any life
when viewed from the inside is simply a series of defeats."
— George Orwell

[toc] | [prev] | [next] | [standalone]


#190067

FromBrian <ad44@cityscape.co.uk>
Date2017-12-20 21:40 +0100
Message-ID<uYTjI-1hh-7@gated-at.bofh.it>
In reply to#190015
On Tue 19 Dec 2017 at 14:44:09 +0000, Curt wrote:

> On 2017-12-19, Gene Heskett <gheskett@shentel.net> wrote:
> > Greetings all;
> >
> > I just got a pdf emailed to me thats an invoice, and a puzzle. The 
> > automatic linkage when I click on the pdf opens it in evince. It reads 
> > perfectly on screen, but prints blank pages. Even with the colors 
> > inverted.
> >
> > I then saved it, loaded it up into okular, and it printed perfectly.
> >
> > evince has printed 700+ page documents, several times, flawlessly.
> >
> > So to what/where do I send this one page pdf as a test pdf to be used to 
> > fix evince?
> 
> There was a libgtk-3-0 bug that affected printing in evince (which could
> be avoided by unchecking the default 'Auto Rotate and Center' in the
> 'Page Handling' submenu of the print dialogue). 
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771205
> 
> This effectively prevents printing in landscape mode (you're not trying
> to print in landscape mode again, are you Gene)?

I've seen this said before. but I've never understood what "printing in
landscape mode" means. Does "printing in landscape" convey the same idea?

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#190068

FromGene Heskett <gheskett@shentel.net>
Date2017-12-20 23:10 +0100
Message-ID<uYUIO-2im-5@gated-at.bofh.it>
In reply to#190067
On Wednesday 20 December 2017 15:34:19 Brian wrote:

> On Tue 19 Dec 2017 at 14:44:09 +0000, Curt wrote:
> > On 2017-12-19, Gene Heskett <gheskett@shentel.net> wrote:
> > > Greetings all;
> > >
> > > I just got a pdf emailed to me thats an invoice, and a puzzle. The
> > > automatic linkage when I click on the pdf opens it in evince. It
> > > reads perfectly on screen, but prints blank pages. Even with the
> > > colors inverted.
> > >
> > > I then saved it, loaded it up into okular, and it printed
> > > perfectly.
> > >
> > > evince has printed 700+ page documents, several times, flawlessly.
> > >
> > > So to what/where do I send this one page pdf as a test pdf to be
> > > used to fix evince?
> >
> > There was a libgtk-3-0 bug that affected printing in evince (which
> > could be avoided by unchecking the default 'Auto Rotate and Center'
> > in the 'Page Handling' submenu of the print dialogue).
> >
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771205
> >
> > This effectively prevents printing in landscape mode (you're not
> > trying to print in landscape mode again, are you Gene)?
>
> I've seen this said before. but I've never understood what "printing
> in landscape mode" means. Does "printing in landscape" convey the same
> idea?

Either one implies a 90 degree rotation of the page on the paper, so that 
loooong lines don't either get clipped off at the right margin, or often 
as not line wrapped by the printer which means on a multipage document, 
the pdf interpretors page count doesn't get totally scrambled & starts 
putting the headers and footers in the middle of the page. Doesn't 
always help though, some of the hal files I've hacked up over the years 
have effectively been north of 220 chars/line. There are ways to fix 
that, but they are relatively new in linuxcnc's init functions.  Those 
older files usually get fixed if I have to revisit them, because the 
hardware changed or something.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#190070

FromBrian <ad44@cityscape.co.uk>
Date2017-12-21 00:00 +0100
Message-ID<uYVvb-2Eb-3@gated-at.bofh.it>
In reply to#190068
On Wed 20 Dec 2017 at 17:06:35 -0500, Gene Heskett wrote:

> On Wednesday 20 December 2017 15:34:19 Brian wrote:
> 
> > On Tue 19 Dec 2017 at 14:44:09 +0000, Curt wrote:
> > > There was a libgtk-3-0 bug that affected printing in evince (which
> > > could be avoided by unchecking the default 'Auto Rotate and Center'
> > > in the 'Page Handling' submenu of the print dialogue).
> > >
> > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771205
> > >
> > > This effectively prevents printing in landscape mode (you're not
> > > trying to print in landscape mode again, are you Gene)?
> >
> > I've seen this said before. but I've never understood what "printing
> > in landscape mode" means. Does "printing in landscape" convey the same
> > idea?
> 
> Either one implies a 90 degree rotation of the page on the paper, so that 
> loooong lines don't either get clipped off at the right margin, or often 
> as not line wrapped by the printer which means on a multipage document, 
> the pdf interpretors page count doesn't get totally scrambled & starts 
> putting the headers and footers in the middle of the page. Doesn't 
> always help though, some of the hal files I've hacked up over the years 
> have effectively been north of 220 chars/line. There are ways to fix 
> that, but they are relatively new in linuxcnc's init functions.  Those 
> older files usually get fixed if I have to revisit them, because the 
> hardware changed or something.

What determines the choice of pages which suffer a 90 degree rotation?

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#190073

FromGene Heskett <gheskett@shentel.net>
Date2017-12-21 01:50 +0100
Message-ID<uYXdE-3Jn-3@gated-at.bofh.it>
In reply to#190070
On Wednesday 20 December 2017 17:56:46 Brian wrote:

> On Wed 20 Dec 2017 at 17:06:35 -0500, Gene Heskett wrote:
> > On Wednesday 20 December 2017 15:34:19 Brian wrote:
> > > On Tue 19 Dec 2017 at 14:44:09 +0000, Curt wrote:
> > > > There was a libgtk-3-0 bug that affected printing in evince
> > > > (which could be avoided by unchecking the default 'Auto Rotate
> > > > and Center' in the 'Page Handling' submenu of the print
> > > > dialogue).
> > > >
> > > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771205
> > > >
> > > > This effectively prevents printing in landscape mode (you're not
> > > > trying to print in landscape mode again, are you Gene)?
> > >
> > > I've seen this said before. but I've never understood what
> > > "printing in landscape mode" means. Does "printing in landscape"
> > > convey the same idea?
> >
> > Either one implies a 90 degree rotation of the page on the paper, so
> > that loooong lines don't either get clipped off at the right margin,
> > or often as not line wrapped by the printer which means on a
> > multipage document, the pdf interpretors page count doesn't get
> > totally scrambled & starts putting the headers and footers in the
> > middle of the page. Doesn't always help though, some of the hal
> > files I've hacked up over the years have effectively been north of
> > 220 chars/line. There are ways to fix that, but they are relatively
> > new in linuxcnc's init functions.  Those older files usually get
> > fixed if I have to revisit them, because the hardware changed or
> > something.
>
> What determines the choice of pages which suffer a 90 degree rotation?

Not individual pages unless you want to jump thru some pretty small 
hoops. You can select it for the whole, individual print job, in the 
printer requester that pops up when you select print from some 
application. I varies as to what tab its under but will usually be a 4 
choice. 2 of them will be labeled Portrait and Landscape, the other 2 
are further rotations at 180 and 270 degrees. The better versions of 
that requester will also let you specify odd only or even only, or a 
page range in case you only want a 10 page piece of a 750 pager.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#190074

FromGene Heskett <gheskett@shentel.net>
Date2017-12-21 02:00 +0100
Message-ID<uYXnj-3MM-1@gated-at.bofh.it>
In reply to#190073
On Wednesday 20 December 2017 19:39:32 Gene Heskett wrote:

> On Wednesday 20 December 2017 17:56:46 Brian wrote:
> > On Wed 20 Dec 2017 at 17:06:35 -0500, Gene Heskett wrote:
> > > On Wednesday 20 December 2017 15:34:19 Brian wrote:
> > > > On Tue 19 Dec 2017 at 14:44:09 +0000, Curt wrote:
> > > > > There was a libgtk-3-0 bug that affected printing in evince
> > > > > (which could be avoided by unchecking the default 'Auto Rotate
> > > > > and Center' in the 'Page Handling' submenu of the print
> > > > > dialogue).
> > > > >
Libgtk3 should have come with a 55 gallon drum of Raid. Gladevcp3 will 
never work with any stability until its fixed.

> > > > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771205
> > > > >
> > > > > This effectively prevents printing in landscape mode (you're
> > > > > not trying to print in landscape mode again, are you Gene)?

Of course I am for some jobs, as noted in a previous post earlier this 
evening.

And I certainly wasn't doing landscape mode for an invoice composed in 
letter format, aka Portrait mode.

> > > > I've seen this said before. but I've never understood what
> > > > "printing in landscape mode" means. Does "printing in landscape"
> > > > convey the same idea?
> > >
> > > Either one implies a 90 degree rotation of the page on the paper,
> > > so that loooong lines don't either get clipped off at the right
> > > margin, or often as not line wrapped by the printer which means on
> > > a multipage document, the pdf interpretors page count doesn't get
> > > totally scrambled & starts putting the headers and footers in the
> > > middle of the page. Doesn't always help though, some of the hal
> > > files I've hacked up over the years have effectively been north of
> > > 220 chars/line. There are ways to fix that, but they are
> > > relatively new in linuxcnc's init functions.  Those older files
> > > usually get fixed if I have to revisit them, because the hardware
> > > changed or something.
> >
> > What determines the choice of pages which suffer a 90 degree
> > rotation?

See previous post 20 minutes back.  Or below.
>
> Not individual pages unless you want to jump thru some pretty small
> hoops. You can select it for the whole, individual print job, in the
> printer requester that pops up when you select print from some
> application. I varies as to what tab its under but will usually be a 4
> choice. 2 of them will be labeled Portrait and Landscape, the other 2
> are further rotations at 180 and 270 degrees. The better versions of
> that requester will also let you specify odd only or even only, or a
> page range in case you only want a 10 page piece of a 750 pager.
>
> Cheers, Gene Heskett


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#190081

FromCurt <curty@free.fr>
Date2017-12-21 10:30 +0100
Message-ID<uZ5kR-J6-1@gated-at.bofh.it>
In reply to#190074
On 2017-12-21, Gene Heskett <gheskett@shentel.net> wrote:
>
> And I certainly wasn't doing landscape mode for an invoice composed in 
> letter format, aka Portrait mode.

So you have unchecked the relevant default option in the print dialogue
and determined that you have not been bitten by the bug to which I
referred.


-- 
"An autobiography is only to be trusted when it reveals something disgraceful.
A man who gives a good account of himself is probably lying, since any life
when viewed from the inside is simply a series of defeats."
— George Orwell

[toc] | [prev] | [next] | [standalone]


#190084

FromGene Heskett <gheskett@shentel.net>
Date2017-12-21 11:00 +0100
Message-ID<uZ5NT-SI-1@gated-at.bofh.it>
In reply to#190081
On Thursday 21 December 2017 04:20:51 Curt wrote:

> On 2017-12-21, Gene Heskett <gheskett@shentel.net> wrote:
> > And I certainly wasn't doing landscape mode for an invoice composed
> > in letter format, aka Portrait mode.
>
> So you have unchecked the relevant default option in the print
> dialogue and determined that you have not been bitten by the bug to
> which I referred.

No, I check that at every job, Portrait was checked.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#190085

FromCurt <curty@free.fr>
Date2017-12-21 11:10 +0100
Message-ID<uZ5XA-1by-11@gated-at.bofh.it>
In reply to#190084
On 2017-12-21, Gene Heskett <gheskett@shentel.net> wrote:
> On Thursday 21 December 2017 04:20:51 Curt wrote:
>
>> On 2017-12-21, Gene Heskett <gheskett@shentel.net> wrote:
>> > And I certainly wasn't doing landscape mode for an invoice composed
>> > in letter format, aka Portrait mode.
>>
>> So you have unchecked the relevant default option in the print
>> dialogue and determined that you have not been bitten by the bug to
>> which I referred.
>
> No, I check that at every job, Portrait was checked.
>
> Cheers, Gene Heskett

No, it was 'Page Handling/Auto Rotate and Center' that had to be
unchecked.

'Portrait' is under 'Page Setup/Orientation', and it is not a checkbox
option but rather a drop-down menu selection.

Anywho.


-- 
"An autobiography is only to be trusted when it reveals something disgraceful.
A man who gives a good account of himself is probably lying, since any life
when viewed from the inside is simply a series of defeats."
— George Orwell

[toc] | [prev] | [next] | [standalone]


#190087

FromGene Heskett <gheskett@shentel.net>
Date2017-12-21 11:50 +0100
Message-ID<uZ6Ah-1tb-3@gated-at.bofh.it>
In reply to#190085
On Thursday 21 December 2017 04:58:24 Curt wrote:

> On 2017-12-21, Gene Heskett <gheskett@shentel.net> wrote:
> > On Thursday 21 December 2017 04:20:51 Curt wrote:
> >> On 2017-12-21, Gene Heskett <gheskett@shentel.net> wrote:
> >> > And I certainly wasn't doing landscape mode for an invoice
> >> > composed in letter format, aka Portrait mode.
> >>
> >> So you have unchecked the relevant default option in the print
> >> dialogue and determined that you have not been bitten by the bug to
> >> which I referred.
> >
> > No, I check that at every job, Portrait was checked.
> >
> > Cheers, Gene Heskett
>
> No, it was 'Page Handling/Auto Rotate and Center' that had to be
> unchecked.
>
> 'Portrait' is under 'Page Setup/Orientation', and it is not a checkbox
> option but rather a drop-down menu selection.
>
> Anywho.

Which does not exist in the requester kmail uses. But in the utility 
evince calls, it is on, and I can't find a way to make it stay off.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#190089

FromBrian <ad44@cityscape.co.uk>
Date2017-12-21 12:00 +0100
Message-ID<uZ6JY-1xn-9@gated-at.bofh.it>
In reply to#190073
On Wed 20 Dec 2017 at 19:39:32 -0500, Gene Heskett wrote:

> On Wednesday 20 December 2017 17:56:46 Brian wrote:
> 
> > On Wed 20 Dec 2017 at 17:06:35 -0500, Gene Heskett wrote:
> > >
> > > Either one implies a 90 degree rotation of the page on the paper, so
> > > that loooong lines don't either get clipped off at the right margin,
> > > or often as not line wrapped by the printer which means on a
> > > multipage document, the pdf interpretors page count doesn't get
> > > totally scrambled & starts putting the headers and footers in the
> > > middle of the page. Doesn't always help though, some of the hal
> > > files I've hacked up over the years have effectively been north of
> > > 220 chars/line. There are ways to fix that, but they are relatively
> > > new in linuxcnc's init functions.  Those older files usually get
> > > fixed if I have to revisit them, because the hardware changed or
> > > something.
> >
> > What determines the choice of pages which suffer a 90 degree rotation?
> 
> Not individual pages unless you want to jump thru some pretty small 
> hoops. You can select it for the whole, individual print job, in the 
> printer requester that pops up when you select print from some 
> application. I varies as to what tab its under but will usually be a 4 
> choice. 2 of them will be labeled Portrait and Landscape, the other 2 
> are further rotations at 180 and 270 degrees. The better versions of 
> that requester will also let you specify odd only or even only, or a 
> page range in case you only want a 10 page piece of a 750 pager.

So the contention is that "printing in landscape" involves selecting
the Landscape option in a drop-down menu of evince and then that will
produce a 90 degree rotation of a PDF page.

However, I observe (on unstable, jessie and stretch) that a page like
this

+----------+
|          |
|          |
+----------+

is not rotated. Auto Rotate and Center was unchecked and the technique
in

https://lists.debian.org/debian-user/2017/12/msg00584.html

was used to examine the PDF to be sent to CUPS.

It appears that "printing in landscape" doesn't always lead to a 90
degree rotation when using evince..

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#190092

FromGene Heskett <gheskett@shentel.net>
Date2017-12-21 12:20 +0100
Message-ID<uZ73j-1TV-1@gated-at.bofh.it>
In reply to#190089
On Thursday 21 December 2017 05:52:11 Brian wrote:

> On Wed 20 Dec 2017 at 19:39:32 -0500, Gene Heskett wrote:
> > On Wednesday 20 December 2017 17:56:46 Brian wrote:
> > > On Wed 20 Dec 2017 at 17:06:35 -0500, Gene Heskett wrote:
> > > > Either one implies a 90 degree rotation of the page on the
> > > > paper, so that loooong lines don't either get clipped off at the
> > > > right margin, or often as not line wrapped by the printer which
> > > > means on a multipage document, the pdf interpretors page count
> > > > doesn't get totally scrambled & starts putting the headers and
> > > > footers in the middle of the page. Doesn't always help though,
> > > > some of the hal files I've hacked up over the years have
> > > > effectively been north of 220 chars/line. There are ways to fix
> > > > that, but they are relatively new in linuxcnc's init functions. 
> > > > Those older files usually get fixed if I have to revisit them,
> > > > because the hardware changed or something.
> > >
> > > What determines the choice of pages which suffer a 90 degree
> > > rotation?
> >
> > Not individual pages unless you want to jump thru some pretty small
> > hoops. You can select it for the whole, individual print job, in the
> > printer requester that pops up when you select print from some
> > application. I varies as to what tab its under but will usually be a
> > 4 choice. 2 of them will be labeled Portrait and Landscape, the
> > other 2 are further rotations at 180 and 270 degrees. The better
> > versions of that requester will also let you specify odd only or
> > even only, or a page range in case you only want a 10 page piece of
> > a 750 pager.
>
> So the contention is that "printing in landscape" involves selecting
> the Landscape option in a drop-down menu of evince and then that will
> produce a 90 degree rotation of a PDF page.
>
> However, I observe (on unstable, jessie and stretch) that a page like
> this
>
> +----------+
>
>
> +----------+
>
> is not rotated. Auto Rotate and Center was unchecked and the technique
> in
>
> https://lists.debian.org/debian-user/2017/12/msg00584.html
>
> was used to examine the PDF to be sent to CUPS.
>
> It appears that "printing in landscape" doesn't always lead to a 90
> degree rotation when using evince..

I repeat, it was not requested as anything but Portrait for that job that 
failed. okular uses a different requester, which does not show that 
option in any menu, and it worked. Unfortunately, none of these things 
have a help pulldown that identify's them so fingers can be pointed at 
the guilty party.

Perhaps a better question, since this seems to be a well known bug, is 
why has it not been fixed? And how is it turned of so as to become the 
default?

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#190095

FromBrian <ad44@cityscape.co.uk>
Date2017-12-21 13:00 +0100
Message-ID<uZ7G1-2cT-5@gated-at.bofh.it>
In reply to#190092
On Thu 21 Dec 2017 at 06:17:19 -0500, Gene Heskett wrote:

> On Thursday 21 December 2017 05:52:11 Brian wrote:
> 
> > On Wed 20 Dec 2017 at 19:39:32 -0500, Gene Heskett wrote:
> > > On Wednesday 20 December 2017 17:56:46 Brian wrote:
> > > > On Wed 20 Dec 2017 at 17:06:35 -0500, Gene Heskett wrote:
> > > > > Either one implies a 90 degree rotation of the page on the
> > > > > paper, so that loooong lines don't either get clipped off at the
> > > > > right margin, or often as not line wrapped by the printer which
> > > > > means on a multipage document, the pdf interpretors page count
> > > > > doesn't get totally scrambled & starts putting the headers and
> > > > > footers in the middle of the page. Doesn't always help though,
> > > > > some of the hal files I've hacked up over the years have
> > > > > effectively been north of 220 chars/line. There are ways to fix
> > > > > that, but they are relatively new in linuxcnc's init functions. 
> > > > > Those older files usually get fixed if I have to revisit them,
> > > > > because the hardware changed or something.
> > > >
> > > > What determines the choice of pages which suffer a 90 degree
> > > > rotation?
> > >
> > > Not individual pages unless you want to jump thru some pretty small
> > > hoops. You can select it for the whole, individual print job, in the
> > > printer requester that pops up when you select print from some
> > > application. I varies as to what tab its under but will usually be a
> > > 4 choice. 2 of them will be labeled Portrait and Landscape, the
> > > other 2 are further rotations at 180 and 270 degrees. The better
> > > versions of that requester will also let you specify odd only or
> > > even only, or a page range in case you only want a 10 page piece of
> > > a 750 pager.
> >
> > So the contention is that "printing in landscape" involves selecting
> > the Landscape option in a drop-down menu of evince and then that will
> > produce a 90 degree rotation of a PDF page.
> >
> > However, I observe (on unstable, jessie and stretch) that a page like
> > this
> >
> > +----------+
> >
> >
> > +----------+
> >
> > is not rotated. Auto Rotate and Center was unchecked and the technique
> > in
> >
> > https://lists.debian.org/debian-user/2017/12/msg00584.html
> >
> > was used to examine the PDF to be sent to CUPS.
> >
> > It appears that "printing in landscape" doesn't always lead to a 90
> > degree rotation when using evince..
> 
> I repeat, it was not requested as anything but Portrait for that job that 
> failed. okular uses a different requester, which does not show that 
> option in any menu, and it worked. Unfortunately, none of these things 
> have a help pulldown that identify's them so fingers can be pointed at 
> the guilty party.

We were discussing the meaning and significance of the term "printing
to landscape", not your particular issue. It takes us a little off-topic
but, for evince. it does not seem to have the meaning people credit it
with. As illustrated, rotation does not always take place. Does this
lead to the conclusion thet "printing to landscape" (or for that matter,
"printing to portrait") is too fuzzy a phrase to be useful? For evince,
the Landscape option appears to be saying - rotate by 90 degrees
sometimes.

> Perhaps a better question, since this seems to be a well known bug, is 
> why has it not been fixed? And how is it turned of so as to become the 
> default?

As you will see from the report, the bug Curt made reference to has been
fixed.

Considering you have lead the discussion back to your invoice problem
I'll ask whether the PDF evince produces is viewable, and shows what
you expect, using what is outlined in

https://lists.debian.org/debian-user/2017/12/msg00584.html

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#190105

FromGene Heskett <gheskett@shentel.net>
Date2017-12-21 17:50 +0100
Message-ID<uZccG-5pf-3@gated-at.bofh.it>
In reply to#190095
On Thursday 21 December 2017 06:51:56 Brian wrote:

> On Thu 21 Dec 2017 at 06:17:19 -0500, Gene Heskett wrote:
> > On Thursday 21 December 2017 05:52:11 Brian wrote:
> > > On Wed 20 Dec 2017 at 19:39:32 -0500, Gene Heskett wrote:
> > > > On Wednesday 20 December 2017 17:56:46 Brian wrote:
> > > > > On Wed 20 Dec 2017 at 17:06:35 -0500, Gene Heskett wrote:
> > > > > > Either one implies a 90 degree rotation of the page on the
> > > > > > paper, so that loooong lines don't either get clipped off at
> > > > > > the right margin, or often as not line wrapped by the
> > > > > > printer which means on a multipage document, the pdf
> > > > > > interpretors page count doesn't get totally scrambled &
> > > > > > starts putting the headers and footers in the middle of the
> > > > > > page. Doesn't always help though, some of the hal files I've
> > > > > > hacked up over the years have effectively been north of 220
> > > > > > chars/line. There are ways to fix that, but they are
> > > > > > relatively new in linuxcnc's init functions. Those older
> > > > > > files usually get fixed if I have to revisit them, because
> > > > > > the hardware changed or something.
> > > > >
> > > > > What determines the choice of pages which suffer a 90 degree
> > > > > rotation?
> > > >
> > > > Not individual pages unless you want to jump thru some pretty
> > > > small hoops. You can select it for the whole, individual print
> > > > job, in the printer requester that pops up when you select print
> > > > from some application. I varies as to what tab its under but
> > > > will usually be a 4 choice. 2 of them will be labeled Portrait
> > > > and Landscape, the other 2 are further rotations at 180 and 270
> > > > degrees. The better versions of that requester will also let you
> > > > specify odd only or even only, or a page range in case you only
> > > > want a 10 page piece of a 750 pager.
> > >
> > > So the contention is that "printing in landscape" involves
> > > selecting the Landscape option in a drop-down menu of evince and
> > > then that will produce a 90 degree rotation of a PDF page.
> > >
> > > However, I observe (on unstable, jessie and stretch) that a page
> > > like this
> > >
> > > +----------+
> > >
> > >
> > > +----------+
> > >
> > > is not rotated. Auto Rotate and Center was unchecked and the
> > > technique in
> > >
> > > https://lists.debian.org/debian-user/2017/12/msg00584.html
> > >
> > > was used to examine the PDF to be sent to CUPS.
> > >
> > > It appears that "printing in landscape" doesn't always lead to a
> > > 90 degree rotation when using evince..
> >
> > I repeat, it was not requested as anything but Portrait for that job
> > that failed. okular uses a different requester, which does not show
> > that option in any menu, and it worked. Unfortunately, none of these
> > things have a help pulldown that identify's them so fingers can be
> > pointed at the guilty party.
>
> We were discussing the meaning and significance of the term "printing
> to landscape", not your particular issue. It takes us a little
> off-topic but, for evince. it does not seem to have the meaning people
> credit it with. As illustrated, rotation does not always take place.
> Does this lead to the conclusion thet "printing to landscape" (or for
> that matter, "printing to portrait") is too fuzzy a phrase to be
> useful? For evince, the Landscape option appears to be saying - rotate
> by 90 degrees sometimes.
>
> > Perhaps a better question, since this seems to be a well known bug,
> > is why has it not been fixed? And how is it turned of so as to
> > become the default?
>
> As you will see from the report, the bug Curt made reference to has
> been fixed.
>
> Considering you have lead the discussion back to your invoice problem
> I'll ask whether the PDF evince produces is viewable,

Yes, exactly as expected.

> and shows what 
> you expect, using what is outlined in
>
> https://lists.debian.org/debian-user/2017/12/msg00584.html

 cupsdisable <destination_print_queue>

and send the invoice from evince to be printed. Look in /var/spool/cups
for a file beginning with "d" and view it in a PDF viewer. Also use
pdfinfo and pdffonts to compare this PDF and the original one.

Use cupsenable to revert the first command.

Its not possible, because a disabled printer is ghosted in the printer 
selection menu, yes I do have additional printers, full color and 2% of 
the speed of the $110 HL2140. It can do this is 30 seconds including 
drum warmup time. The tabloid sized 6920, an mfc, hasn't even sorted out 
which paper tray to use in that same 30 seconds.

Would I get the same results sending to cups-pdf?

I can turn that option off on a job by job basis I assume.


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#190107

FromBrian <ad44@cityscape.co.uk>
Date2017-12-21 18:10 +0100
Message-ID<uZcw2-5L6-25@gated-at.bofh.it>
In reply to#190105
On Thu 21 Dec 2017 at 11:41:01 -0500, Gene Heskett wrote:

> On Thursday 21 December 2017 06:51:56 Brian wrote:
> 
> > Considering you have lead the discussion back to your invoice problem
> > I'll ask whether the PDF evince produces is viewable,
> 
> Yes, exactly as expected.

Ok, you have just shown that evince produces a decent PDF which looks
suitable to send to CUPS. In other words, the blank page you got does
not apparently involve anything evince has done.

Now send this PDF to CUPS with

  lp -d <destination_print_queue> <d-file_from_/var/spool/cups>

<destination_print_queue> will have to re-enabled with

  cupsenable <destination_print_queue>

Does this print?

> > and shows what 
> > you expect, using what is outlined in
> >
> > https://lists.debian.org/debian-user/2017/12/msg00584.html
> 
>  cupsdisable <destination_print_queue>
> 
> and send the invoice from evince to be printed. Look in /var/spool/cups
> for a file beginning with "d" and view it in a PDF viewer. Also use
> pdfinfo and pdffonts to compare this PDF and the original one.
> 
> Use cupsenable to revert the first command.
> 
> Its not possible, because a disabled printer is ghosted in the printer 
> selection menu, yes I do have additional printers, full color and 2% of 
> the speed of the $110 HL2140. It can do this is 30 seconds including 
> drum warmup time. The tabloid sized 6920, an mfc, hasn't even sorted out 
> which paper tray to use in that same 30 seconds.

Please see above. Maybe I should have spelled out the full command.

> Would I get the same results sending to cups-pdf?

No. cups-pdf uses CUPS; CUPS was disabled for the test you did. Its
purpose was to determine whether evince was producing a blank PDF. It
wasn't.

> I can turn that option off on a job by job basis I assume.

You mean cupsdisable? You could, but it wouldn't ordinarily be used.

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#190108

FromGene Heskett <gheskett@shentel.net>
Date2017-12-21 18:40 +0100
Message-ID<uZcZ5-5Xc-51@gated-at.bofh.it>
In reply to#190107
On Thursday 21 December 2017 12:08:33 Brian wrote:

> On Thu 21 Dec 2017 at 11:41:01 -0500, Gene Heskett wrote:
> > On Thursday 21 December 2017 06:51:56 Brian wrote:
> > > Considering you have lead the discussion back to your invoice
> > > problem I'll ask whether the PDF evince produces is viewable,
> >
> > Yes, exactly as expected.
>
> Ok, you have just shown that evince produces a decent PDF which looks
> suitable to send to CUPS. In other words, the blank page you got does
> not apparently involve anything evince has done.
>
> Now send this PDF to CUPS with
>
>   lp -d <destination_print_queue> <d-file_from_/var/spool/cups>
>
> <destination_print_queue> will have to re-enabled with
>
>   cupsenable <destination_print_queue>
>
> Does this print?
>
> > > and shows what
> > > you expect, using what is outlined in
> > >
> > > https://lists.debian.org/debian-user/2017/12/msg00584.html
> >
> >  cupsdisable <destination_print_queue>
> >
> > and send the invoice from evince to be printed. Look in
> > /var/spool/cups for a file beginning with "d" and view it in a PDF
> > viewer. Also use pdfinfo and pdffonts to compare this PDF and the
> > original one.
> >
> > Use cupsenable to revert the first command.
> >
> > Its not possible, because a disabled printer is ghosted in the
> > printer selection menu, yes I do have additional printers, full
> > color and 2% of the speed of the $110 HL2140. It can do this is 30
> > seconds including drum warmup time. The tabloid sized 6920, an mfc,
> > hasn't even sorted out which paper tray to use in that same 30
> > seconds.
>
> Please see above. Maybe I should have spelled out the full command.
>
> > Would I get the same results sending to cups-pdf?
>
> No. cups-pdf uses CUPS; CUPS was disabled for the test you did. Its
> purpose was to determine whether evince was producing a blank PDF. It
> wasn't.
>
> > I can turn that option off on a job by job basis I assume.
>
> You mean cupsdisable? You could, but it wouldn't ordinarily be used.

No, I was referring to the rotate and fit option. About the only place 
where I could actually make sense of that would be in printing camera 
images where the camera may have been held up-down for a portrait image.

Thanks Brian.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#190110

FromBrian <ad44@cityscape.co.uk>
Date2017-12-21 19:20 +0100
Message-ID<uZdBM-6ss-5@gated-at.bofh.it>
In reply to#190108
On Thu 21 Dec 2017 at 12:37:04 -0500, Gene Heskett wrote:

> On Thursday 21 December 2017 12:08:33 Brian wrote:
> 
> > On Thu 21 Dec 2017 at 11:41:01 -0500, Gene Heskett wrote:
> >
> > > I can turn that option off on a job by job basis I assume.
> >
> > You mean cupsdisable? You could, but it wouldn't ordinarily be used.
> 
> No, I was referring to the rotate and fit option. About the only place 
> where I could actually make sense of that would be in printing camera 
> images where the camera may have been held up-down for a portrait image.

You can turn that option off and on on a job by job basis. It's default
is on; personally, I would leave it like that. Note that the Portrait
and Landscape options are not applied when Auto Rotate is on.

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#190117

FromGene Heskett <gheskett@shentel.net>
Date2017-12-21 22:10 +0100
Message-ID<uZggi-8f2-7@gated-at.bofh.it>
In reply to#190110
On Thursday 21 December 2017 13:13:06 Brian wrote:

> On Thu 21 Dec 2017 at 12:37:04 -0500, Gene Heskett wrote:
> > On Thursday 21 December 2017 12:08:33 Brian wrote:
> > > On Thu 21 Dec 2017 at 11:41:01 -0500, Gene Heskett wrote:
> > > > I can turn that option off on a job by job basis I assume.
> > >
> > > You mean cupsdisable? You could, but it wouldn't ordinarily be
> > > used.
> >
> > No, I was referring to the rotate and fit option. About the only
> > place where I could actually make sense of that would be in printing
> > camera images where the camera may have been held up-down for a
> > portrait image.
>
> You can turn that option off and on on a job by job basis. It's
> default is on; personally, I would leave it like that. Note that the
> Portrait and Landscape options are not applied when Auto Rotate is on.

I had not noted that, figuring I clicked the wrong button.

Thanks.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web