pstocanonbj or bjfilter [x86_64]

If you are looking for a specific 64-bit package and you can't find it in any of the 64-bit repos, please post a request for it here
User avatar
francois
Contributor
Contributor
Posts: 5120
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: pstocanonbj or bjfilter [x86_64]

Post#31 by francois » 28 Dec 2013, 14:36

I have played with cups last night and came out with the following modules for 64 bit based on slackware 14.1 and porteus 3.0:
https://www.mediafire.com/?bhy9fpse72s3y

It was working fine yesterday, except for the test page. Correction for print test page error is given here at post 7:
https://bugs.launchpad.net/ubuntu/+sour ... bug/710881

http://www.bsmdevelopment.com/Reference ... 30002.html

However, it will print from libreoffice writer on my brother printer. It seems that you need cups-filter and qpdf for the proper functioning of the package.

I have built cups 1.6.4 from:
http://www.cups.org/software.php
https://github.com/willysr/SlackHacks/t ... uilds/cups

It works in always fresh mode. Presently I am unable to remove cups 1.5.x. I don't know the strategy.
Last edited by francois on 29 Dec 2013, 22:23, edited 4 times in total.
Carpe diem. B)

User avatar
Blaze
DEV Team
DEV Team
Posts: 1549
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: pstocanonbj or bjfilter [x86_64]

Post#32 by Blaze » 29 Dec 2013, 15:49

07-printing.xzm with cups 1.6.4

I tried this module with these modules

Code: Select all

qpdf-3.0.2-x86_64-1_SBo.xzm
pcre-8.33-x86_64-1.xzm
ghostscript-9.07-x86_64-2.xzm
foomatic-filters-4.0.12-x86_64-1.xzm
cups-filters-devel-1.0.41-alt2.x86_64.xzm
avahi-0.6.31-x86_64-1dj.xzm
With Canon-PIXMA-iP5000.ppd

Code: Select all

Canon PIXMA iP5000 - CUPS+Gutenprint v5.2.9
I have this error:

Code: Select all

E [29/Dec/2013:18:51:56 +0000] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
With this module pstocanonbj_3.3.orig_x86_64.xzm (canonpixmaip1500.ppd) i have this familiar log:

Code: Select all

D [14/Dec/2013:22:03:10 +0400] [Job 3] printer-state-message="child process aborted"
D [14/Dec/2013:22:03:10 +0400] [Job 3] printer-state-reasons=none
W [14/Dec/2013:22:03:26 +0400] [CGI] Missing Product in /usr/share/cups/model/canonpixus550i.ppd!
W [14/Dec/2013:22:03:26 +0400] [CGI] Missing Product in /usr/share/cups/model/canonpixus850i.ppd!
W [14/Dec/2013:22:03:26 +0400] [CGI] Missing Product in /usr/share/cups/model/canonpixus950i.ppd!
Linux porteus 4.13.3-porteus #1 SMP PREEMPT Sat Sep 23 18:22:13 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
francois
Contributor
Contributor
Posts: 5120
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: pstocanonbj or bjfilter [x86_64]

Post#33 by francois » 29 Dec 2013, 19:26

Blaze wrote:francois, my Canon iP1500 is a veteran 8)
I have this printer since 2002 year :friends:
canon pixma ip1500 waste ink absorber is full
I have cleaned the absorber 3 times on this veteran (fixyourownprinter.com/forums/inkjet/41348)
factory reset
What do you mean about factory reset?
Are we talking about iP1500 or iP5000?

This is really a hard one to fix. =@

Look at this following thread. I don't know how come we did not fell on it before. Someone has used the strategy spring 2013 and it still works. All you have is to translate in slackware terms:
http://ubuntuforums.org/showthread.php?t=1517089
Re: Canon PIXMA iP1500 under 64-bit Ubuntu 10.04 LTS (Lucid)
Great! You have been the Man who saved all new Ubuntu / Linux 64bit users with an old Canon PIXMA iP1500!!!!
If that final ppd works, please share it with us. I imagine that ahau will be glad to include it in the most recent version of the printer pack.

Good luck. :)
Carpe diem. B)

User avatar
Blaze
DEV Team
DEV Team
Posts: 1549
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: pstocanonbj or bjfilter [x86_64]

Post#34 by Blaze » 31 Dec 2013, 13:37

francois, thanks.
Lots of dancing with tambourines :)
Probably need to copy necessary from Ubuntu to Porteus? :unknown:

Merry Christmas & Happy New Year!
Linux porteus 4.13.3-porteus #1 SMP PREEMPT Sat Sep 23 18:22:13 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: pstocanonbj or bjfilter [x86_64]

Post#35 by Ahau » 31 Dec 2013, 16:48

Nice work, blaze and francois! I'm happy you got it working!

@blaze, is this with cups 1.6 and/or additional packages beyond the 07-printing.xzm module, or do you just need to have the ppd file? Did you have to link libraries as shown in that link? I'm hoping not...

If you can provide a list of all the packages and files necessary and/or prepare a module with them, I can get them into the mainline 07-printing.xzm module so other users with this printer won't have to go through this misery to get it working :)
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
Blaze
DEV Team
DEV Team
Posts: 1549
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: pstocanonbj or bjfilter [x86_64]

Post#36 by Blaze » 02 Jan 2014, 09:31

francois, thank you very much for http://ubuntuforums.org/showthread.php?t=1517089

I have made this module ip1500.xzm
and my Canon IP1500 now is working in Porteus :beer: but i have troubles
in AbiWord - does not print
in LibreOffice - prints squares instead of letters (English or Russian - no difference)
only Kwrite work for me fine.
Linux porteus 4.13.3-porteus #1 SMP PREEMPT Sat Sep 23 18:22:13 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
francois
Contributor
Contributor
Posts: 5120
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: pstocanonbj or bjfilter [x86_64]

Post#37 by francois » 02 Jan 2014, 17:32

Hi Blaze. I am very happy to read that you finally got a partial but functional solution to your printing problem.

1) Have you tried printing pdf and ps file types thru the command line:
- lp filename.pdf
- lp filename.ps

If this does not work see what is your printer name:
- lpstat -p -d

And then:
- lp -d printer filename


2.0 looking on the net for your ppd content with keywords:

Code: Select all

*FileVersion: "1.0"*FormatVersion: "4.3"*LanguageEncoding: ISOLatin1*LanguageVersion: English*Manufacturer: "Canon"*ModelName: "Canon PIXMA iP1500"*NickName: "Canon PIXMA iP1500 Ver.2.50"*PCFileName: "CNPM1500.PPD"*Product: "(pixmaip1500)"*PSVersion: "(3010.000) 550"*PSVersion: "(3010.000) 651"*PSVersion: "(3010.000) 705"*ShortNickName: "PIXMAiP1500"
I found some modifications to that ppd of yours that I hope might improve your solution:

From italian and deutch sites:
http://wiki.ubuntu-it.org/Hardware/Stam ... 28pixma%29
http://forum.ubuntuusers.de/topic/druck ... st-1125917

2.11 Essentially you would have to replace the following content to your IP1500:

Code: Select all

*OpenUI *Resolution/Output Resolution: PickOne 
*DefaultResolution: 600
*Resolution 600/600 dpi: "<</HWResolution[600 600]>>setpagedevice"
*CloseUI: *Resolution
With:

Code: Select all

*OpenUI *Resolution/Output Resolution: PickOne 
*DefaultResolution: 600
*Resolution 300/300 dpi: "<</HWResolution[300 300]>>setpagedevice"
*Resolution 600/600 dpi: "<</HWResolution[600 600]>>setpagedevice"
*Resolution 1200/1200 dpi: "<</HWResolution[1200 1200]>>setpagedevice"
*CloseUI: *Resolution
2.12 and you would have to add the following content (maybe just after what you just have modified):

Code: Select all

*OpenUI *CNQuality/Quality: PickOne 
*DefaultCNQuality: 3
*CNQuality 2/High: "2"
*CNQuality 3/Normal: "3"
*CNQuality 4/Standard: "4"
*CNQuality 5/Economy: "5"
*CloseUI: *CNQuality
Or if you prefer, here is the whole ppd file provided by the deutch site:

Code: Select all

*PPD-Adobe: "4.3"
*%  CUPS add-on PPD file for Canon Bubble Jet Printer.
*%  Copyright CANON INC. 2001-2005
*%  All Rights Reserved.
*%
*%  This program is free software; you can redistribute it and/or modify
*%  it under the terms of the GNU General Public License as published by
*%  the Free Software Foundation; either version 2 of the License, or
*%  (at your option) any later version.
*%
*%  This program is distributed in the hope that it will be useful,
*%  but WITHOUT ANY WARRANTY; without even the implied warranty of
*%  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*%  GNU General Public License for more details.
*%
*%  You should have received a copy of the GNU General Public License
*%  along with this program; if not, write to the Free Software
*%  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

*FileVersion: "1.0"
*FormatVersion:	"4.3"
*LanguageEncoding: ISOLatin1
*LanguageVersion: English
*Manufacturer: "Canon"
*ModelName: "Canon PIXMA iP1500"
*NickName: "Canon PIXMA iP1500 Ver.2.50"
*PCFileName: "CNPM1500.PPD"
*Product: "(pixmaip1500)"
*PSVersion: "(3010.000) 550"
*PSVersion: "(3010.000) 651"
*PSVersion: "(3010.000) 705"
*ShortNickName: "PIXMAiP1500"

*ColorDevice: True
*DefaultColorSpace: RGB
*Throughput: "1"
*LandscapeOrientation: Plus90

*cupsFilter: "application/vnd.cups-postscript 0 pstocanonbj"
*cupsManualCopies: True
*cupsModelNumber: 180
*cupsVersion: 1.1

*MaxMediaWidth: "612"
*MaxMediaHeight: "1656"
*CenterRegistered: False
*HWMargins: 9.64 14.17 9.64 8.50
*LeadingEdge Short: ""
*DefaultLeadingEdge: Short
*VariablePaperSize: True
*ParamCustomPageSize Width: 1 points 255.12 612.0
*ParamCustomPageSize Height: 2 points 340.16 1656.0
*ParamCustomPageSize WidthOffset: 3 points 0 0
*ParamCustomPageSize HeightOffset: 4 points 0 0
*ParamCustomPageSize Orientation: 5 int 1 1
*CustomPageSize True: "pop pop pop <</PageSize [5 -2 roll] /ImagingBBox null>>setpagedevice"

*OpenUI *PageSize/Paper Size: PickOne
*DefaultPageSize: a4
*PageSize a5/A5: "<</CNPageSizeName(a5)/PageSize[420 595]/ImagingBBox null>>setpagedevice"
*PageSize a4/A4: "<</CNPageSizeName(a4)/PageSize[595 842]/ImagingBBox null>>setpagedevice"
*PageSize b5/B5: "<</CNPageSizeName(b5)/PageSize[516 729]/ImagingBBox null>>setpagedevice"
*PageSize letter/Letter: "<</CNPageSizeName(letter)/PageSize[612 792]/ImagingBBox null>>setpagedevice"
*PageSize legal/Legal: "<</CNPageSizeName(legal)/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
*PageSize envelope10p/Comm. Env. #10: "<</CNPageSizeName(envelope10p)/PageSize[297 684]/ImagingBBox null>>setpagedevice"
*PageSize envelopedlp/DL Env.: "<</CNPageSizeName(envelopedlp)/PageSize[312 624]/ImagingBBox null>>setpagedevice"
*PageSize 4X6/4x6in 101.6x152.4mm: "<</CNPageSizeName(4X6)/PageSize[288 432]/ImagingBBox null>>setpagedevice"
*PageSize 5X7/5x7in 127.0x177.8mm: "<</CNPageSizeName(5X7)/PageSize[360 504]/ImagingBBox null>>setpagedevice"
*CloseUI: *PageSize

*OpenUI *PageRegion: PickOne
*DefaultPageRegion: a4
*PageRegion a5/A5: "<</CNPageSizeName(a5)/PageSize[420 595]/ImagingBBox null>>setpagedevice"
*PageRegion a4/A4: "<</CNPageSizeName(a4)/PageSize[595 842]/ImagingBBox null>>setpagedevice"
*PageRegion b5/B5: "<</CNPageSizeName(b5)/PageSize[516 729]/ImagingBBox null>>setpagedevice"
*PageRegion letter/Letter: "<</CNPageSizeName(letter)/PageSize[612 792]/ImagingBBox null>>setpagedevice"
*PageRegion legal/Legal: "<</CNPageSizeName(legal)/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
*PageRegion envelope10p/Comm. Env. #10: "<</CNPageSizeName(envelope10p)/PageSize[297 684]/ImageingBBox null>>setpagedevice"
*PageRegion envelopedlp/DL Env.: "<</CNPageSizeName(envelopedlp)/PageSize[312 624]/ImageingBBox null>>setpagedevice"
*PageRegion 4X6/4x6in 101.6x152.4mm: "<</CNPageSizeName(4X6)/PageSize[288 432]/ImagingBBox null>>setpagedevice"
*PageRegion 5X7/5x7in 127.0x177.8mm: "<</CNPageSizeName(5X7)/PageSize[360 504]/ImagingBBox null>>setpagedevice"
*CloseUI: *PageRegion

*OpenUI *MediaType/Media Type: PickOne
*DefaultMediaType: plain
*MediaType plain/Plain Paper: "<</MediaType(plain)>>setpagedevice"
*MediaType prophoto/Photo Paper Pro: "<</MediaType(prophoto)>>setpagedevice"
*MediaType superphoto/Photo Paper Plus Glossy: "<</MediaType(superphoto)>>setpagedevice"
*MediaType doublesidephoto/Photo Paper Plus Double Sided: "<</MediaType(doublesidephoto)>>setpagedevice"
*MediaType matte/Matte Photo Paper: "<</MediaType(matte)>>setpagedevice"
*MediaType glossypaper/Glossy Photo Paper: "<</MediaType(glossypaper)>>setpagedevice"
*MediaType highres/High Resolution Paper: "<</MediaType(highres)>>setpagedevice"
*MediaType tshirt/T-Shirt Transfer: "<</MediaType(tshirt)>>setpagedevice"
*MediaType ohp/Transparency: "<</MediaType(ohp)>>setpagedevice"
*MediaType envelope/Envelope: "<</MediaType(envelope)>>setpagedevice"
*MediaType otherphoto/Other Photo Paper: "<</MediaType(otherphoto)>>setpagedevice"
*CloseUI: *MediaType

*OpenUI *InputSlot/Paper Feed: PickOne
*DefaultInputSlot: asf
*InputSlot asf/Auto Feeder: "<</cupsMediaPosition 1>>setpagedevice"
*CloseUI: *InputSlot

*OpenUI *Resolution/Output Resolution: PickOne
*DefaultResolution: 600
*Resolution 600/600 dpi: "<</HWResolution[600 600]>>setpagedevice"
*Resolution 1200/1200 dpi: "<</HWResolution[1200 1200]>>setpagedevice"
*Resolution 2400/2400 dpi: "<</HWResolution[2400 2400]>>setpagedevice"
*CloseUI: *Resolution

*OpenUI *CNQuality/Quality: PickOne
*DefaultCNQuality: 3
*CNQuality 2/High: "2"
*CNQuality 3/Normal: "3"
*CNQuality 4/Standard: "4"
*CNQuality 5/Economy: "5"
*CloseUI: *CNQuality 

*OpenUI *ColorModel/Color Model: PickOne
*DefaultColorModel: rgb
*ColorModel rgb/RGB: "<</cupsColorOrder 0/cupsColorSpace 1/cupsCompression 0/cupsBitsPerColor 8>>setpagedevice"
*CloseUI: *ColorModel

*DefaultImageableArea: a4
*ImageableArea a5: "9.64 14.17 409.89 586.77"
*ImageableArea a4: "9.64 14.17 585.64 833.39"
*ImageableArea b5: "9.64 14.17 506.27 720.00"
*ImageableArea letter: "18.14 14.17 594.14 783.50"
*ImageableArea legal: "18.14 14.17 594.14 999.50"
*ImageableArea envelope10p: "9.64 75.12 287.35 611.32"
*ImageableArea envelopedlp: "9.64 75.12 302.17 600.94"
*ImageableArea 4X6: "9.64 14.17 278.36 423,50"
*ImageableArea 5X7: "9.64 14.17 350.36 495.50"

*DefaultPaperDimension: a4
*PaperDimension a5: "420 595"
*PaperDimension a4: "595 842"
*PaperDimension b5: "516 729"
*PaperDimension letter: "612 792"
*PaperDimension legal: "612 1008"
*PaperDimension envelope10p: "297 684"
*PaperDimension envelopedlp: "312 624"
*PaperDimension 4X6: "288 432"
*PaperDimension 5X7: "360 504"

*%CNPpdToOptKey PageSize       --papersize
*%CNPpdToOptKey MediaType      --media
*%CNPpdToOptKey InputSlot      --paperload
*%CNPpdToOptKey CNCartridge    --cartridge
*%CNPpdToOptKey CNQuality      --quality
*%CNPpdToOptKey CNHalftoning   --halftoning
*%CNPpdToOptKey CNRenderIntent --renderintent
*%CNPpdToOptKey CNGamma        --gamma
*%CNPpdToOptKey CNBalanceC     --balance_c
*%CNPpdToOptKey CNBalanceM     --balance_m
*%CNPpdToOptKey CNBalanceY     --balance_y
*%CNPpdToOptKey CNBalanceK     --balance_k
*%CNPpdToOptKey CNDensity      --density
*%CNPpdToOptKey CNGrayscale    --grayscale
*%CNPpdToOptKey CNLocation     --location
*%CNPpdToOptKey CNPercent      --percent
*%CNPpdToOptKey CNCopies       --copies
*%CNPpdToOptKey CNPaperGap     --papergap
Just name it canonpixmaip1500-blaze-francois.ppd and see it does not fare better! 8)
Carpe diem. B)

User avatar
francois
Contributor
Contributor
Posts: 5120
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: pstocanonbj or bjfilter [x86_64]

Post#38 by francois » 02 Jan 2014, 20:59

Seaching a little more based on the following search terms, and looking for buble jet printer:

Code: Select all

*FileVersion: "1.0"*FormatVersion: "4.3"*LanguageEncoding: ISOLatin1*LanguageVersion: English*Manufacturer: "Canon"
I compare the differences with Kompare from the application > development > Diff/Patch frontend.

I get the canoni250.ppd that looks so similar to the file that you developped that it is almost a similar copy.

Code: Select all

*PPD-Adobe: "4.3"
*%  CUPS add-on PPD file for Canon Bubble Jet Printer.
*%  Copyright CANON INC. 2001-2003
*%  All Rights Reserved.
*%
*%  This program is free software; you can redistribute it and/or modify
*%  it under the terms of the GNU General Public License as published by
*%  the Free Software Foundation; either version 2 of the License, or
*%  (at your option) any later version.
*%
*%  This program is distributed in the hope that it will be useful,
*%  but WITHOUT ANY WARRANTY; without even the implied warranty of
*%  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*%  GNU General Public License for more details.
*%
*%  You should have received a copy of the GNU General Public License
*%  along with this program; if not, write to the Free Software
*%  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

*FileVersion: "1.0"
*FormatVersion:	"4.3"
*LanguageEncoding: ISOLatin1
*LanguageVersion: English
*Manufacturer: "Canon"
*ModelName: "Canon i250"
*NickName: "Canon i250 ver.2.3"
*PCFileName: "CNI250.PPD"
*Product: "(i250)"
*PSVersion: "(3010.000) 550"
*PSVersion: "(3010.000) 651"
*PSVersion: "(3010.000) 705"
*ShortNickName: "i250"

*ColorDevice: True
*DefaultColorSpace: RGB
*Throughput: "1"
*LandscapeOrientation: Plus90

*cupsFilter: "application/vnd.cups-postscript 0 pstocanonbj"
*cupsManualCopies: True
*cupsModelNumber: 180
*cupsVersion: 1.1

*MaxMediaWidth: "612"
*MaxMediaHeight: "1656"
*CenterRegistered: False
*HWMargins: 9.64 14.17 9.64 8.50
*LeadingEdge Short: ""
*DefaultLeadingEdge: Short
*VariablePaperSize: True
*ParamCustomPageSize Width: 1 points 255.12 612.0
*ParamCustomPageSize Height: 2 points 340.16 1656.0
*ParamCustomPageSize WidthOffset: 3 points 0 0
*ParamCustomPageSize HeightOffset: 4 points 0 0
*ParamCustomPageSize Orientation: 5 int 1 1
*CustomPageSize True: "pop pop pop <</PageSize [5 -2 roll] /ImagingBBox null>>setpagedevice"

*OpenUI *PageSize/Paper Size: PickOne
*DefaultPageSize: a4
*PageSize a5/A5: "<</CNPageSizeName(a5)/PageSize[420 595]/ImagingBBox null>>setpagedevice"
*PageSize a4/A4: "<</CNPageSizeName(a4)/PageSize[595 842]/ImagingBBox null>>setpagedevice"
*PageSize b5/B5: "<</CNPageSizeName(b5)/PageSize[516 729]/ImagingBBox null>>setpagedevice"
*PageSize letter/Letter: "<</CNPageSizeName(letter)/PageSize[612 792]/ImagingBBox null>>setpagedevice"
*PageSize legal/Legal: "<</CNPageSizeName(legal)/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
*PageSize envelop10p/Comm. Env. #10: "<</CNPageSizeName(envelop10p)/PageSize[297 684]/ImagingBBox null>>setpagedevice"
*PageSize envelopdlp/DL Env.: "<</CNPageSizeName(envelopdlp)/PageSize[312 624]/ImagingBBox null>>setpagedevice"
*PageSize 4X6/4x6: "<</CNPageSizeName(4X6)/PageSize[288 432]/ImagingBBox null>>setpagedevice"
*PageSize 5X7/5x7: "<</CNPageSizeName(5X7)/PageSize[360 504]/ImagingBBox null>>setpagedevice"
*CloseUI: *PageSize

*OpenUI *PageRegion: PickOne
*DefaultPageRegion: a4
*PageRegion a5/A5: "<</CNPageSizeName(a5)/PageSize[420 595]/ImagingBBox null>>setpagedevice"
*PageRegion a4/A4: "<</CNPageSizeName(a4)/PageSize[595 842]/ImagingBBox null>>setpagedevice"
*PageRegion b5/B5: "<</CNPageSizeName(b5)/PageSize[516 729]/ImagingBBox null>>setpagedevice"
*PageRegion letter/Letter: "<</CNPageSizeName(letter)/PageSize[612 792]/ImagingBBox null>>setpagedevice"
*PageRegion legal/Legal: "<</CNPageSizeName(legal)/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
*PageRegion envelop10p/Comm. Env. #10: "<</CNPageSizeName(envelop10p)/PageSize[297 684]/ImagingBBox null>>setpagedevice"
*PageRegion envelopdlp/DL Env.: "<</CNPageSizeName(envelopdlp)/PageSize[312 624]/ImagingBBox null>>setpagedevice"
*PageRegion 4X6/4x6: "<</CNPageSizeName(4X6)/PageSize[288 432]/ImagingBBox null>>setpagedevice"
*PageRegion 5X7/5x7: "<</CNPageSizeName(5X7)/PageSize[360 504]/ImagingBBox null>>setpagedevice"
*CloseUI: *PageRegion

*OpenUI *MediaType/Media Type: PickOne
*DefaultMediaType: plain
*MediaType plain/Plain Paper: "<</MediaType(plain)>>setpagedevice"
*MediaType prophoto/Photo Paper Pro: "<</MediaType(prophoto)>>setpagedevice"
*MediaType superphoto/Photo Paper Plus Glossy: "<</MediaType(superphoto)>>setpagedevice"
*MediaType matte/Matte Photo Paper: "<</MediaType(matte)>>setpagedevice"
*MediaType glossypaper/Glossy Photo Paper: "<</MediaType(glossypaper)>>setpagedevice"
*MediaType highres/High Resolution Paper: "<</MediaType(highres)>>setpagedevice"
*MediaType tshirt/T-Shirt Transfer: "<</MediaType(tshirt)>>setpagedevice"
*MediaType ohp/Transparency: "<</MediaType(ohp)>>setpagedevice"
*MediaType envelope/Envelope: "<</MediaType(envelope)>>setpagedevice"
*CloseUI: *MediaType

*OpenUI *InputSlot/Paper Feed: PickOne
*DefaultInputSlot: asf
*InputSlot asf/Auto Feeder: "<</cupsMediaPosition 1>>setpagedevice"
*CloseUI: *InputSlot

*OpenUI *Resolution/Output Resolution: PickOne
*DefaultResolution: 600
*Resolution 600/600 dpi: "<</HWResolution[600 600]>>setpagedevice"
*CloseUI: *Resolution

*OpenUI *ColorModel/Color Model: PickOne
*DefaultColorModel: rgb
*ColorModel rgb/RGB: "<</cupsColorOrder 0/cupsColorSpace 1/cupsCompression 0/cupsBitsPerColor 8>>setpagedevice"
*CloseUI: *ColorModel

*DefaultImageableArea: a4
*ImageableArea a5: "9.64 14.17 409.89 586.77"
*ImageableArea a4: "9.64 14.17 585.64 833.39"
*ImageableArea b5: "9.64 14.17 506.27 720.00"
*ImageableArea letter: "18.14 14.17 594.14 783.50"
*ImageableArea legal: "18.14 14.17 594.14 999.50"
*ImageableArea envelop10p: "9.64 75.12 287.35 661.32"
*ImageableArea envelopdlp: "9.64 75.12 302.17 600.95"
*ImageableArea 4X6: "9.64 14.17 278.36 423.50"
*ImageableArea 5X7: "9.64 14.17 350.36 495.50"

*DefaultPaperDimension: a4
*PaperDimension a5: "420 595"
*PaperDimension a4: "595 842"
*PaperDimension b5: "516 729"
*PaperDimension letter: "612 792"
*PaperDimension legal: "612 1008"
*PaperDimension envelop10p: "297 684"
*PaperDimension envelopdlp: "312 624"
*PaperDimension 4X6: "288 432"
*PaperDimension 5X7: "360 504"

*%CNPpdToOptKey PageSize       --papersize
*%CNPpdToOptKey MediaType      --media
*%CNPpdToOptKey InputSlot      --paperload
*%CNPpdToOptKey CNCartridge    --cartridge
*%CNPpdToOptKey CNQuality      --quality
*%CNPpdToOptKey CNHalftoning   --halftoning
*%CNPpdToOptKey CNRenderIntent --renderintent
*%CNPpdToOptKey CNGamma        --gamma
*%CNPpdToOptKey CNBalanceC     --balance_c
*%CNPpdToOptKey CNBalanceM     --balance_m
*%CNPpdToOptKey CNBalanceY     --balance_y
*%CNPpdToOptKey CNBalanceK     --balance_k
*%CNPpdToOptKey CNDensity      --density
*%CNPpdToOptKey CNGrayscale    --grayscale
*%CNPpdToOptKey CNLocation     --location
*%CNPpdToOptKey CNPercent      --percent
*%CNPpdToOptKey CNCopies       --copies
*%CNPpdToOptKey CNPaperGap     --papergap
 
Maybe you should give a small try in case it does the perfect job. Who knows? :x
Carpe diem. B)

User avatar
Blaze
DEV Team
DEV Team
Posts: 1549
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: pstocanonbj or bjfilter [x86_64]

Post#39 by Blaze » 03 Jan 2014, 10:58

Hi francois.
I'm happy too :beer:
I tried to print pdf and ps and it work fine for me.
ppd file provided by the deutch site work for me too.
canoni250.ppd does not work on IP1500

Results:
in LibreOffice (by Porteus Team or from PaulBy) - prints squares instead of letters (English or Russian - no difference)
in AbiWord by Porteus Team - print fine :good: (l use this module Abiword-2.8.6-x64.xzm from PaulBy - does not print)
in Openoffice - print fine too :beer:

I've used both ppd files canonpixmaip1500-blaze-francois.ppd and standard canonpixmaip1500.ppd
All works well. Thanks for your help.

BTW updated ip1500.xzm with canonpixmaip1500-blaze-francois.ppd

Regards,
Blaze
Linux porteus 4.13.3-porteus #1 SMP PREEMPT Sat Sep 23 18:22:13 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
fanthom
Site Admin
Site Admin
Posts: 4623
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: pstocanonbj or bjfilter [x86_64]

Post#40 by fanthom » 03 Jan 2014, 11:03

hi Blaze,
in LibreOffice (by Porteus Team or from PaulBy) - prints squares instead of letters (English or Russian - no difference)
please try to update system caches manually as described here:
viewtopic.php?f=53&t=2954&p=20662#p20662
Please add [Solved] to your thread title if the solution was found.

User avatar
francois
Contributor
Contributor
Posts: 5120
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: pstocanonbj or bjfilter [x86_64]

Post#41 by francois » 03 Jan 2014, 13:37

Hi blaze. Finally are you working with slackware standard cups 1.5.4?
Carpe diem. B)

User avatar
Blaze
DEV Team
DEV Team
Posts: 1549
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: pstocanonbj or bjfilter [x86_64]

Post#42 by Blaze » 03 Jan 2014, 16:42

Hi fanthom.

This advise does not help me :(
damn squares :evil:

Screenshot (in LibreOffice - prints squares)
http://img401.imageshack.us/img401/7638/tbm0.jpg


Hi francois.
Yes. I used cups 1.5.4, but and cups 1.6.4 work good with my printer.
BTW when i use cups 1.6.4 and print a test page i see CUPS 1.5.4 version :)))
Linux porteus 4.13.3-porteus #1 SMP PREEMPT Sat Sep 23 18:22:13 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

tome
Contributor
Contributor
Posts: 575
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Re: pstocanonbj or bjfilter [x86_64]

Post#43 by tome » 03 Jan 2014, 18:23

similar squares I have for some i486 programs on x86_64 and then I install pango-compat32-1.30.1-x86_64-1compat32.txz (Slackware 14.0) or pango-compat32-1.34.1-x86_64-1compat32.txz (Slackware 14.1) (or pango-1.30.1-i486-1.txz, pango-1.34.1-i486-1.txz) http://pkgs.org/search/?query=pango&type=smart
But these packages dosen't work if they are converted to xzm and probably if session is saved - must choose Install slackware package!
Is it the same problem for Porteus i486?

EDIT:
No need to install pango (already exist), run this:

Code: Select all

/usr/bin/update-pango-querymodules
Last edited by tome on 07 Jan 2014, 18:38, edited 1 time in total.

User avatar
francois
Contributor
Contributor
Posts: 5120
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: pstocanonbj or bjfilter [x86_64]

Post#44 by francois » 07 Jan 2014, 02:08

Hello Blaze,

Did you manage to build the cups-filter package? Are you under porteus 3.0 or 2.1? What slackbuild did you used to get the job done?

You would make me happy providing a link to your 1.6.4 cups and cups-filters package.
Carpe diem. B)

User avatar
Blaze
DEV Team
DEV Team
Posts: 1549
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: pstocanonbj or bjfilter [x86_64]

Post#45 by Blaze » 08 Jan 2014, 07:20

hi francois.

I don't build the cups-filter package. I'm under porteus 3.0 (07-printing.xzm (package cups 1.5.4 or package cups 1.6.4) and ip1500.xzm only).
For cups-1.7.0-x86_64-1wsr.xzm i used this cups.SlackBuild look at this

07-printing.xzm with cups 1.6.4 (it's your module z-cups-1.6.4-x86_64-1wsr.xzm)

I built it to suit
please unpack your module holding cups-1.5.4 (prinitng.xzm?) and then run following command:

Code: Select all

ROOT=/path/folder_of_unpacked_module removepkg cups
Where /path/folder_of_unpacked_module - it's way for folder of unpacked module
Extract cups-1.7.0-x86_64-1wsr.xzm
copy contents of the folder cups-1.7.0-x86_64-1wsr to the folder 07-printing and then to build 07-printing.xzm module.
Linux porteus 4.13.3-porteus #1 SMP PREEMPT Sat Sep 23 18:22:13 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Post Reply