[opensuse] command line printing question
Hello: I have a pdf file which is A5 paper size in landscape mode. When I open it in a pdf viewer (acroread, kdpf, okular) it is shown in landscape mode. pdfinfo shows: Producer: GPL Ghostscript 9.15 CreationDate: Wed Apr 8 23:20:35 2020 ModDate: Wed Apr 8 23:20:35 2020 Tagged: no Pages: 1 Encrypted: no Page size: 596 x 421 pts (A5) File size: 43191 bytes Optimized: no PDF version: 1.5 I would like to print this file, using lp or lpr command, onto the upper half of a portrait A4 paper, that is the A5 file is placed in landscape mode on a portrait A5 paper's upper half. Whatever I try, the document is always printed A5 portrait mode on the A4 paper with the document's lower edge close to the bottom of the A4 paper. I tried these commands, and all gives exactly the same result: lpr -P printer -o media=a4 file.pdf lpr -P printer -o media=a5 -o orientation-requested=4 file.pdf lpr -P printer -o media=a4 -o orientation-requested=4 file.pdf lpr -P printer -o media=a5 file.pdf lp -d printer -o media=a4 -o orientation-requested=4 file.pdf lp -d printer -o media=a5 -o orientation-requested=4 file.pdf lp -d printer -o media=a5 -o landscape file.pdf I'm afraid it's something trivial I'm missing. When I print the file from Okular: - setting paper size A4 portrait: the file is printed in landscape mode to the center of the A4 page (no to the upper half) - setting paper size A4 landscape: the file is printed in landscape mode relative to the A4 page and is scaled up to fit the A4 page - setting paper size A5 landscape: the file is printed in portrait mode (rotated 90 degrees to the left) and is scaled down - setting paper size A5 portrait: the file is printed in landscape mode to the center of the A4 page and is scaled down. Thanks in advance, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello,
In the Message;
Subject : [opensuse] command line printing question
Message-ID :
On Thu, 09 Apr 2020 10:58:20 +0900, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : [opensuse] command line printing question Message-ID :
Date & Time: Thu, 09 Apr 2020 00:46:34 +0200 [IG] == Istvan Gabor
has written: IG> Hello:
IG> I have a pdf file which is A5 paper size in landscape mode. IG> When I open it in a pdf viewer (acroread, kdpf, okular) it IG> is shown in landscape mode.
IG> pdfinfo shows:
IG> Producer: GPL Ghostscript 9.15 IG> CreationDate: Wed Apr 8 23:20:35 2020 IG> ModDate: Wed Apr 8 23:20:35 2020 IG> Tagged: no IG> Pages: 1 IG> Encrypted: no IG> Page size: 596 x 421 pts (A5) IG> File size: 43191 bytes IG> Optimized: no IG> PDF version: 1.5 [...] IG> - setting paper size A5 portrait: the file is printed in landscape mode IG> to the center of the A4 page and is scaled down.
Please give us the following information;
1. The result of
$ cat /etc/os-release
2. The result of;
$ cat /etc/printcaps
3. The result of;
$ rpm -q cups
4. The result of;
$ rpm -q ghostscript
Regards,
Thank you for your reply. Here are the requested information:
cat /etc/os-release NAME="openSUSE Leap" VERSION="42.2" ID=opensuse ID_LIKE="suse" VERSION_ID="42.2" PRETTY_NAME="openSUSE Leap 42.2" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:leap:42.2" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/"
cat /etc/printcaps cat: /etc/printcaps: No such file or directory
rpm -q cups cups-1.7.5-8.3.1.x86_64
rpm -q ghostscript ghostscript-9.15-11.3.1.x86_64
Thanks for looking into it. Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, 09 Apr 2020 10:58:20 +0900, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : [opensuse] command line printing question Message-ID :
Date & Time: Thu, 09 Apr 2020 00:46:34 +0200 [IG] == Istvan Gabor
has written: IG> Hello:
IG> I have a pdf file which is A5 paper size in landscape mode. IG> When I open it in a pdf viewer (acroread, kdpf, okular) it IG> is shown in landscape mode.
IG> pdfinfo shows:
IG> Producer: GPL Ghostscript 9.15 IG> CreationDate: Wed Apr 8 23:20:35 2020 IG> ModDate: Wed Apr 8 23:20:35 2020 IG> Tagged: no IG> Pages: 1 IG> Encrypted: no IG> Page size: 596 x 421 pts (A5) IG> File size: 43191 bytes IG> Optimized: no IG> PDF version: 1.5 [...] IG> - setting paper size A5 portrait: the file is printed in landscape mode IG> to the center of the A4 page and is scaled down.
Please give us the following information;
1. The result of
$ cat /etc/os-release
2. The result of;
$ cat /etc/printcaps
3. The result of;
$ rpm -q cups
4. The result of;
$ rpm -q ghostscript
Here is everything you asked including /etc/printcap :
cat /etc/os-release NAME="openSUSE Leap" VERSION="42.2" ID=opensuse ID_LIKE="suse" VERSION_ID="42.2" PRETTY_NAME="openSUSE Leap 42.2" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:leap:42.2" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/"
rpm -q cups cups-1.7.5-8.3.1.x86_64
rpm -q ghostscript ghostscript-9.15-11.3.1.x86_64
cat /etc/printcap # This file was automatically generated by cupsd(8) from the # /etc/cups/printers.conf file. All changes to this file # will be lost. kyocera|Kyocera FS-1030D (KPDL):rm=linux:rp=kyocera: CUPS-PDF|CUPS-PDF:rm=linux:rp=CUPS-PDF:
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question
Message-ID : <3229112e55e1b08ba342251324846ce7@gmail.hu>
Date & Time: Thu, 09 Apr 2020 21:31:27 +0200
[IG] == Istvan Gabor
On Fri, 10 Apr 2020 07:41:57 +0900, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question Message-ID : <3229112e55e1b08ba342251324846ce7@gmail.hu> Date & Time: Thu, 09 Apr 2020 21:31:27 +0200
[IG] == Istvan Gabor
has written: [...] IG> Here are the requested information:
MN>> cat /etc/os-release IG> NAME="openSUSE Leap" IG> VERSION="42.2" IG> ID=opensuse IG> ID_LIKE="suse" IG> VERSION_ID="42.2" IG> PRETTY_NAME="openSUSE Leap 42.2" IG> ANSI_COLOR="0;32" IG> CPE_NAME="cpe:/o:opensuse:leap:42.2" IG> BUG_REPORT_URL="https://bugs.opensuse.org" IG> HOME_URL="https://www.opensuse.org/"
42.2!! Very old....
IG> > cat /etc/printcaps IG> cat: /etc/printcaps: No such file or directory
I have /etc/printcap.
cat /etc/printcap # This file was automatically generated by cupsd(8) from the # /etc/cups/printers.conf file. All changes to this file # will be lost. kyocera|Kyocera FS-1030D (KPDL):rm=linux:rp=kyocera: CUPS-PDF|CUPS-PDF:rm=linux:rp=CUPS-PDF:
Which printer are you using?
Naker, and product's name.
I wanted to print with the kyocera printer. This is the beginning of the ppd file of the printer: *PPD-Adobe: "4.3" *%============================================================================= *% *% PPD file for Kyocera FS-1030D (European English) *% *% Copyright (C) 1993-2006 Kyocera Technology Development Inc. *% All Rights Reserved *% *% Permission is granted for redistribution of this file as long as this *% copyright notice is intact and the contents of the file are not altered *% in any way from their original form. *% *% Contents of this file are automatically generated with the PPDGEN utility *% *% Updates done to improve PPD performance *%============================================================================= *FileVersion: "8.4" *FormatVersion: "4.3" *LanguageEncoding: ISOLatin1 *LanguageVersion: English *Product: "(FS-1030D)" *PSVersion: "(3011.103) 1" *Manufacturer: "Kyocera" *ModelName: "Kyocera FS-1030D KPDL" *ShortNickName: "Kyocera FS-1030D (KPDL)" *NickName: "Kyocera FS-1030D (KPDL)" *PCFileName: "KC1030EE.PPD"
And, did you set the printer's driver via YaST2?
Yes. I use the USB port of the printer.
MN>> rpm -q cups IG> cups-1.7.5-8.3.1.x86_64
Cups was changed drastically since 1.7.
MN>> rpm -q ghostscript IG> ghostscript-9.15-11.3.1.x86_64
Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question
Message-ID :
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question
Message-ID : <87eesww6bg.wl-nomiya@galaxy.dti.ne.jp>
Date & Time: Fri, 10 Apr 2020 09:08:35 +0900
[MN] == Masaru Nomiya
On Fri, 10 Apr 2020 16:01:28 +0900, Masaru Nomiya wrote:
IG> > cat /etc/printcap IG> # This file was automatically generated by cupsd(8) from the IG> # /etc/cups/printers.conf file. All changes to this file IG> # will be lost. IG> kyocera|Kyocera FS-1030D (KPDL):rm=linux:rp=kyocera: IG> CUPS-PDF|CUPS-PDF:rm=linux:rp=CUPS-PDF:
MN> Ah. What is the reuslt of;
MN> $ rpm -q cups-filters
MN> Regards,
Perhaps, your cups-filters's version is 1.8.2.
Yes I have cups-filters-1.8.2-1.5.
Upgrading it will solve your issue. To do so, You have to download the latest one, and compile it.
I guess you meant upgrading cups-filters only, not the whole cups system. I tried to build the latest cups-filters 1.27.4 but could not because it requires qpdf-devel >= 8.1.3 and I have libqpdf / qpdf-devel 5.1.3 version only. The latest cups-filters I could build was cups-filters-1.20.4. It did not change the printout. What is exactly wrong with cups-filters? There is one more interesting thing. If I print the document from Acrobat Reader (acroread 9.5.5) and select A4 paper size portrai mode, the printout is correct. I have the page on the upper part of the A4 paper. The printer command shown in acroread's print/properties window is: lpr -P kyocera -o Option8=False -o Option18=None -o InstalledMemory=32MB -o Resolution=600dpi -o KCEcoprint=Off -o Smoothing=Medium -o PagePolicy=On -o PageSize=A4 -o PageRegion=A4 -o InputSlot=Internal -o MediaType=PrnDef -o Duplex=None -o KCCollate=PrnDef -o KCVersion=Default If I use the same command in a terminal window, the printout is not correct. It is printed 90 degrees rotated (A5 page in portrait mode but the text is in landscape mode on an A4 paper). Why? Unfortunately I have to do the printing from a script, I can't use acroread in this case.
Or, upgrading openSUSE itself is the solution, too.
It is not an option at the moment on this computer. One more question: What would be the correct lpr or lp command if cups worked correctly? Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question
Message-ID : <9089e9701ad160bb682221e94938641e@gmail.hu>
Date & Time: Fri, 10 Apr 2020 17:11:58 +0200
[IG] == Istvan Gabor
On 11/04/2020 02.41, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question Message-ID : <9089e9701ad160bb682221e94938641e@gmail.hu> Date & Time: Fri, 10 Apr 2020 17:11:58 +0200
...
IG> What would be the correct lpr or lp command if cups worked correctly?
The origin of your issuses is the 'Kyocra FS-1030D is a postscript printer'.
Ok, how about this;
YaST2 --> hardware --> printer
Then delete the Kyocera's settings, and add a new printer;
Generic Postscript Printer Foomatic/Postscript
Why delete it? Just add a new printer. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On 09/04/2020 00.46, Istvan Gabor wrote:
Hello:
I have a pdf file which is A5 paper size in landscape mode. When I open it in a pdf viewer (acroread, kdpf, okular) it is shown in landscape mode.
pdfinfo shows:
Producer: GPL Ghostscript 9.15 CreationDate: Wed Apr 8 23:20:35 2020 ModDate: Wed Apr 8 23:20:35 2020 Tagged: no Pages: 1 Encrypted: no Page size: 596 x 421 pts (A5) File size: 43191 bytes Optimized: no PDF version: 1.5
I would like to print this file, using lp or lpr command, onto the upper half of a portrait A4 paper, that is the A5 file is placed in landscape mode on a portrait A5 paper's upper half.
Whatever I try, the document is always printed A5 portrait mode on the A4 paper with the document's lower edge close to the bottom of the A4 paper.
I assume the document is one page only? Have you tried on another computer and/or printer? Perhaps add another page to the document, then use a concoction to print 2 pages on one sheet.
I tried these commands, and all gives exactly the same result:
lpr -P printer -o media=a4 file.pdf lpr -P printer -o media=a5 -o orientation-requested=4 file.pdf lpr -P printer -o media=a4 -o orientation-requested=4 file.pdf lpr -P printer -o media=a5 file.pdf lp -d printer -o media=a4 -o orientation-requested=4 file.pdf lp -d printer -o media=a5 -o orientation-requested=4 file.pdf lp -d printer -o media=a5 -o landscape file.pdf
Perhaps: lpr -P printer -o media=a4 -o landscape file.pdf I got good results when printing envelopes with this concoction: lpr -P cp1510n_ps -o PageSize=Custom.340x493 \ -o InputSlot=Tray1_Man envelope.pdf Of course, in your case we have to find first the a5 size in points. 148 x 210 mm 5,8 x 8,3 inches. cer@Telcontar:~> units 148mm pspoint * 419.52756 / 0.0023836336 cer@Telcontar:~> units 210mm pspoint * 595.27559 / 0.0016798942 cer@Telcontar:~> So it might be something like: lpr -P printer -o PageSize=Custom.596x419 file.pdf if not try reverse the sizes (I'm not clear on that). You could share the pdf with us (on susepaste.org). If the file is private, just generate a sample one we can use and try on our printers. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question
Message-ID : <5a1f386d-3f8e-c48b-7e8c-d81c328439a4@telefonica.net>
Date & Time: Sat, 11 Apr 2020 13:05:37 +0200
[CER] == "Carlos E. R."
On 11/04/2020 13.37, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question Message-ID : <5a1f386d-3f8e-c48b-7e8c-d81c328439a4@telefonica.net> Date & Time: Sat, 11 Apr 2020 13:05:37 +0200
[CER] == "Carlos E. R."
has written: [...] MN>> The origin of your issuses is the 'Kyocra FS-1030D is a postscript MN>> printer'. MN>> MN>> Ok, how about this; MN>> MN>> YaST2 --> hardware --> printer MN>> MN>> Then delete the Kyocera's settings, and add a new printer; MN>> MN>> Generic Postscript Printer Foomatic/Postscript
CER> Why delete it? Just add a new printer.
Why not?
Is there any rational reason for leaving it? To prevent malfunction, the deleting is better, I think.
He may be using the printer for other jobs. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question
Message-ID :
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question
Message-ID :
On 11/04/2020 13.54, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question Message-ID :
Date & Time: Sat, 11 Apr 2020 13:41:54 +0200 [CER] == "Carlos E. R." <> has written:
CER> > [...] CER> > MN>> The origin of your issuses is the 'Kyocra FS-1030D is a postscript CER> > MN>> printer'. CER> > MN>> CER> > MN>> Ok, how about this; CER> > MN>> CER> > MN>> YaST2 --> hardware --> printer CER> > MN>> CER> > MN>> Then delete the Kyocera's settings, and add a new printer; CER> > MN>> CER> > MN>> Generic Postscript Printer Foomatic/Postscript CER> > CER> > CER> Why delete it? Just add a new printer. CER> > CER> > Why not? CER> > CER> > Is there any rational reason for leaving it? CER> > To prevent malfunction, the deleting is better, I think.
CER> He may be using the printer for other jobs.
Have you read this?
[...] PDF is the standard print job format from CUPS 1.6.x on
All important desktop applications (GTK/GNOME, Qt/KDE, LibreOffice/OpenOffice.org, Firefox, Thunderbird, …) send print jobs in PDF and not in PostScript any more by default. In addition, a complete CUPS filter chain to process print jobs in PDF is available and used. [...]
I don't see how that can have any effect on the currently installed and working printer. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On 11/04/2020 13.46, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question Message-ID :
Date & Time: Sat, 11 Apr 2020 13:31:08 +0200 [CER] == "Carlos E. R." <> has written:
...
CER> > Whatever I try, the document is always printed A5 portrait CER> > mode on the A4 paper with the document's lower edge close CER> > to the bottom of the A4 paper.
CER> I assume the document is one page only?
CER> Have you tried on another computer and/or printer?
CER> Perhaps add another page to the document, then use a concoction to print 2 pages CER> on one sheet.
CER> > CER> > I tried these commands, and all gives exactly the same result: CER> > CER> > lpr -P printer -o media=a4 file.pdf CER> > lpr -P printer -o media=a5 -o orientation-requested=4 file.pdf CER> > lpr -P printer -o media=a4 -o orientation-requested=4 file.pdf CER> > lpr -P printer -o media=a5 file.pdf CER> > lp -d printer -o media=a4 -o orientation-requested=4 file.pdf CER> > lp -d printer -o media=a5 -o orientation-requested=4 file.pdf CER> > lp -d printer -o media=a5 -o landscape file.pdf
CER> Perhaps:
CER> lpr -P printer -o media=a4 -o landscape file.pdf
CER> I got good results when printing envelopes with this concoction:
CER> lpr -P cp1510n_ps -o PageSize=Custom.340x493 \ CER> -o InputSlot=Tray1_Man envelope.pdf
CER> Of course, in your case we have to find first the a5 size in points.
CER> 148 x 210 mm 5,8 x 8,3 inches.
cer@Telcontar:~> units 148mm pspoint CER> * 419.52756 CER> / 0.0023836336 cer@Telcontar:~> units 210mm pspoint CER> * 595.27559 CER> / 0.0016798942 CER> cer@Telcontar:~>
CER> So it might be something like:
CER> lpr -P printer -o PageSize=Custom.596x419 file.pdf
CER> if not try reverse the sizes (I'm not clear on that).
CER> You could share the pdf with us (on susepaste.org). If the file CER> is private, just generate a sample one we can use and try on our CER> printers.
Amazing!
With which printer and cups, did you get the above result?
Is it a POSTSCRIPT printer?
Yes, it is. A Hewlet Pacard CP1515n -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question
Message-ID : <2101f675-7308-7b1b-0faa-252e18c886c9@telefonica.net>
Date & Time: Sat, 11 Apr 2020 14:02:47 +0200
[CER] == "Carlos E. R."
On 11/04/2020 14.12, Masaru Nomiya wrote:
Hello,
CER> I don't see how that can have any effect on the currently CER> installed and working printer.
OK. But, could you give me the answer for my question;
I did. Didn't you see it? Yes, it is a postscript printer. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question
Message-ID :
On Sat, 11 Apr 2020 09:41:18 +0900, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question Message-ID : <9089e9701ad160bb682221e94938641e@gmail.hu> Date & Time: Fri, 10 Apr 2020 17:11:58 +0200
[IG] == Istvan Gabor
has written: IG> On Fri, 10 Apr 2020 16:01:28 +0900, Masaru Nomiya wrote:
[...] MN>> Perhaps, your cups-filters's version is 1.8.2.
IG> Yes I have cups-filters-1.8.2-1.5.
MN>> Upgrading it will solve your issue. MN>> To do so, You have to download the latest one, and compile it.
IG> I guess you meant upgrading cups-filters only, not the whole IG> cups system.
IG> I tried to build the latest cups-filters 1.27.4 but could not IG> because it requires qpdf-devel >= 8.1.3 and I have libqpdf / IG> qpdf-devel 5.1.3 version only.
IG> The latest cups-filters I could build was cups-filters-1.20.4. IG> It did not change the printout.
IG> What is exactly wrong with cups-filters?
IG> There is one more interesting thing.
IG> If I print the document from Acrobat Reader (acroread 9.5.5) IG> and select A4 paper size portrai mode, the printout is correct. IG> I have the page on the upper part of the A4 paper.
IG> The printer command shown in acroread's print/properties window is:
IG> lpr -P kyocera -o Option8=False -o Option18=None -o InstalledMemory=32MB IG> -o Resolution=600dpi -o KCEcoprint=Off -o Smoothing=Medium -o PagePolicy=On IG> -o PageSize=A4 -o PageRegion=A4 -o InputSlot=Internal -o MediaType=PrnDef IG> -o Duplex=None -o KCCollate=PrnDef -o KCVersion=Default
IG> If I use the same command in a terminal window, the printout is not correct. IG> It is printed 90 degrees rotated (A5 page in portrait mode but the text is IG> in landscape mode on an A4 paper). IG> Why?
IG> Unfortunately I have to do the printing from a script, I can't IG> use acroread in this case.
IG>> Or, upgrading openSUSE itself is the solution, too.
IG> It is not an option at the moment on this computer.
IG> One more question:
IG> What would be the correct lpr or lp command if cups worked correctly?
The origin of your issuses is the 'Kyocra FS-1030D is a postscript printer'.
Ok, how about this;
YaST2 --> hardware --> printer
Then delete the Kyocera's settings, and add a new printer;
Generic Postscript Printer Foomatic/Postscript
After this, test with the lpr command, again.
Unfortunately this did not work either. I tried only with cups-filters 1.8.2. I also have tried different ppds and none worked. Is it possible maybe to make a custom filter somehow? I would upgrade to Leap 15.1 if I could use adobe reader (acroread) in it. I need it's print window and print options. I could install adobe reader in 15.1 and make it usable by following the instructions here: Adobe Reader https://gist.github.com/cho2/79964a49a4f5f545853d3ebdfd1efe73 The program can open pdf files and works OK but it's printer window can't see the printers. It only shows "custom printer". In my understanding it is because 15.1 has cups 2.x and adobe reader needs cups libs 1.x. See my comment at the end of the above link. Would it be possible to put libcups from cups 1.x somewhere and instruct acroread to use it? But I guess libcups from cups 1.x would need a running cups 1.x server as well to work with. ? Would it be possible to install cups 1.x (eg 1.7) along with cups 2.x and run it parallel? That is running two cups servers at the same time. Thanks, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/04/2020 19.52, Istvan Gabor wrote: ...
I would upgrade to Leap 15.1 if I could use adobe reader (acroread) in it. I need it's print window and print options.
I think that the best solution for that is to run it in a virtual machine instead, with an old distribution. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question
Message-ID : <3deccd4612338a0fc5c0f4d5c9fee1c2@gmail.hu>
Date & Time: Sun, 12 Apr 2020 19:52:23 +0200
[IG] == Istvan Gabor
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question
Message-ID : <87ftd8tfjo.wl-nomiya@galaxy.dti.ne.jp>
Date & Time: Mon, 13 Apr 2020 09:06:35 +0900
[MN] == Masaru Nomiya
On Mon, 13 Apr 2020 13:59:56 +0900, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question Message-ID : <87ftd8tfjo.wl-nomiya@galaxy.dti.ne.jp> Date & Time: Mon, 13 Apr 2020 09:06:35 +0900
[MN] == Masaru Nomiya
has written: MN> Hello,
MN> In the Message;
MN> Subject : Re: [opensuse] command line printing question MN> Message-ID : <3deccd4612338a0fc5c0f4d5c9fee1c2@gmail.hu> MN> Date & Time: Sun, 12 Apr 2020 19:52:23 +0200
MN> [IG] == Istvan Gabor
has written: [...] MN> Uhm...
MN> How about changing the driver to
MN> Kyocera-FS-1030D.hpijs-pcl5e.ppd
This printer is factory-set to emulate the PCL. So, try to select the driver with the key word PCL (5 or 6) via YaST2.
This does not work either. The printout is is rotated by 90 degrees. I mentioned that I can get a correct print output from adobe reader. Is it possible to set (mimic) acroread application on the printer command line? Or maybe changing the rule/filter setting so that the print would go through the same chain as the data from adobe reader? Thanks, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question
Message-ID : <0dcef5af57d66fb1e86ca03cb615a067@gmail.hu>
Date & Time: Mon, 13 Apr 2020 17:03:47 +0200
[IG] == Istvan Gabor
On Tue, 14 Apr 2020 00:45:07 +0900, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question Message-ID : <0dcef5af57d66fb1e86ca03cb615a067@gmail.hu> Date & Time: Mon, 13 Apr 2020 17:03:47 +0200
[IG] == Istvan Gabor
has written: MN>> How about changing the driver to
MN>> Kyocera-FS-1030D.hpijs-pcl5e.ppd
MN>> This printer is factory-set to emulate the PCL. MN>> So, try to select the driver with the key word PCL (5 or 6) via MN>> YaST2.
IG> This does not work either. The printout is is rotated by 90 IG> degrees.
I've forggoten to write that;
Why did you give back cups-filters 1.8.2?
You compiled 1.20.4, didn't you?
Why you don't test with this driver?
IG> I mentioned that I can get a correct print output from adobe IG> reader. IG> Is it possible to set (mimic) acroread application on the printer IG> command line?
IG> Or maybe changing the rule/filter setting so that the print would IG> go through the same chain as the data from adobe reader?
No. You get the result just for the fact, 'Kyocera FS 1030D is a Adobe postscript level 3 printer'.
Please give me time, I'll think.
It's midnight here in Japan, now.
Thank you very much for your patience. I have deleted cups-filters-1.8 package (rpm -e cups-filters) and installed cups-filters-1.20.4 again. It was build with default options (./configure ). Then I tried to print with the following drivers/ppds using the commands: lpr -P <queue-name> -o media=a4 -o orientation-requested=4 file.pdf lpr -P <queue-name> -o media=a4 file.pdf - Kyocera FS-1030D Foomatic/hpijs-pcl5e/Kyocera-FS-1030D-hpijs-pcl5e.ppd - Generic PCL 5e Printer Foomatic/hpijs-pcl5e/Generic-PCL_5e_Printer-hpijs-pcl5e.ppd - Kyocera FS-1030D Foomatic Postscript/Kyocera-FS-1030D-Postscript.ppd - Generic PCL6/PCL XL Printer Foomatic ljet4d/Generic-PCL_6_PCL_XL_Printer-ljet4d.ppd These all gave the same results: printout rotated 90 degrees left, on a4 upper part, w/t text's right side at top edge - Generic Postcrip Printer Foomatic Postscript/Generic-PostScript_Printer-Postscript.ppd - Generic Postcript Level 2 Printer Foomatic Postscript/Generic-PostScript_Printer-Postscript.ppd These did not print at all. Printer's light turned on but did not print for > 5 mins. Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello,
Sorry for my late replay.
In the Message;
Subject : Re: [opensuse] command line printing question
Message-ID :
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question
Message-ID :
On Tue, 14 Apr 2020 20:21:11 +0900, Masaru Nomiya wrote:
Hello,
Sorry for my late replay.
No need to apologize. I am gratefult you're still dealing with this.
I wandered a network space for searching information about your computer.
As you know, Kyocera FS-1030D is a very old printer, so I could find the FS-1030D's ppd files before cups 1.6.0....
But, I found the FS-1030MFP's ppd files at here;
https://www.kyoceradocumentsolutions.es/es/support/downloads.html.name-L2VzL...
The FS-1030MFP's ppd might compatible with FS-1030D, I imagine.
Could you download the file;
Kyocera Linux Phase 7 printer driver 2019.11.15 ZIP
and test with Kyocera_FS-1030MFP.ppd?
It gives the same result, printout rotated. Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, 14 Apr 2020 22:09:39 +0900, Masaru Nomiya wrote:
Hello,
An important question;
The Kyocera printer works fine on other OS (ex. Windows) like this?
$ AcroRd32.exe /p pdffile
I don't have windows machine. I will try with an openSUSE Leap 15.1 when I get the hard disk where it is installed on. By the way, I can send data directly to the printer device. For example: # echo "printer test" > /dev/usb/lp0 prints "printer text". It it slow, take ~40 secs, but works. Best regards, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 14/04/2020 22.42, Istvan Gabor wrote:
On Tue, 14 Apr 2020 22:09:39 +0900, Masaru Nomiya wrote:
Hello,
An important question;
The Kyocera printer works fine on other OS (ex. Windows) like this?
$ AcroRd32.exe /p pdffile
I don't have windows machine. I will try with an openSUSE Leap 15.1 when I get the hard disk where it is installed on.
I made other suggestions days ago, which you have not tried. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
Hello,
In the Message;
Subject : Re: [opensuse] Re: command line printing question
Message-ID : <39cc045f7a263fc591d52a7f8e4a155d@gmail.hu>
Date & Time: Tue, 14 Apr 2020 22:35:27 +0200
[IG] == Istvan Gabor
Hello,
In the Message;
Subject : Re: [opensuse] Re: command line printing question
Message-ID : <87tv1lk248.wl-nomiya@galaxy.dti.ne.jp>
Date & Time: Wed, 15 Apr 2020 09:45:59 +0900
[MN] == Masaru Nomiya
Hello,
In the Message;
Subject : Re: [opensuse] Re: command line printing question
Message-ID : <87imi1e1hy.wl-nomiya@galaxy.dti.ne.jp>
Date & Time: Wed, 15 Apr 2020 14:55:53 +0900
[MN] == Masaru Nomiya
Hello, Please ignore previous mails. Anyway, I might find out the solution. 1. install gutenprint (5.2.10). 2. via YaST2, search the printer with the keywourd 1030D (or 1030d) 3. install Kyocera FS-1030D - CUPS+Gutenprint v5.2.10pre1 then, 4. test print If this is your solution, please show me the result of $ cat /etc/printcap Regards, --- ┏━━┓彡 Masaru Nomiya mail-to: m.nomiya @ gmail.com ┃\/彡 ┗━━┛ "Bill! You married with Computer. Not with Me!" "No..., with money." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, 16 Apr 2020 19:17:54 +0900, Masaru Nomiya wrote:
Hello,
Sorry for getting back so late. Because I had to find solution I decided to convert the pdf files to A4 size (put the a5 landscape to upper part of a4 portrait) and print the a4 size. This works for printing at the moment. I thought I would report back earlier but did not have time to test you last suggestion.
Please ignore previous mails.
Anyway, I might find out the solution.
1. install gutenprint (5.2.10).
2. via YaST2, search the printer with the keywourd 1030D (or 1030d)
3. install
Kyocera FS-1030D - CUPS+Gutenprint v5.2.10pre1
then,
4. test print
If this is your solution, please show me the result of
Now I had time to test this. It doesn't work either. The print is upscaled to a4 and printed as a4 landscape independently whether I use -o media=a5 option or not. I guess I don't want to spend more time on this at the moment. Thank you very much for your help. Carlos, thank you too for your suggestions as well. I didn't have time to answer directly but I tried them (specifying page size directly) but it gave the same incorrect results as -o media=a5. Thank you all once more! Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 02/05/2020 21.51, Istvan Gabor wrote:
On Thu, 16 Apr 2020 19:17:54 +0900, Masaru Nomiya wrote:
Hello,
Sorry for getting back so late. Because I had to find solution I decided to convert the pdf files to A4 size (put the a5 landscape to upper part of a4 portrait) and print the a4 size. This works for printing at the moment.
Ok! ...
Carlos, thank you too for your suggestions as well. I didn't have time to answer directly but I tried them (specifying page size directly) but it gave the same incorrect results as -o media=a5.
Oh. I thought I had also suggested something similar to what you say in the first paragraph :-? (maybe your printer detects the actual paper size :-?) -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
Hello,
In the Message;
Subject : Re: [opensuse] command line printing question
Message-ID : <7dfe1dbd0889a2758be6943fd5defca9@gmail.hu>
Date & Time: Sat, 02 May 2020 21:51:43 +0200
[IG] == Istvan Gabor
participants (3)
-
Carlos E. R.
-
Istvan Gabor
-
Masaru Nomiya