Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Printing and Scanning with Canon Pixma/Pixus Series
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 16, 17, 18, 19, 20  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
necron
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2010
Posts: 113

PostPosted: Thu Jun 21, 2012 7:57 pm    Post subject: Reply with quote

it also occurs to me that someone might be interested to know what "../../" actually is: /var/tmp/portage/net-print/cnijfilter-2.80-r1/work/cnijfilter-2.80
Back to top
View user's profile Send private message
tclover
Guru
Guru


Joined: 10 Apr 2011
Posts: 516

PostPosted: Sun Jun 24, 2012 7:22 pm    Post subject: Reply with quote

@necron: you may try the newer ebuilds--2.80-r2. There's a link on bgo or else follow my sig. you can clone my overlay or copy ebuild+eclass to your local overlay.
_________________
home/:mkinitramfs-ll/:supervision/:e-gtk-theme/:overlay/
Back to top
View user's profile Send private message
necron
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2010
Posts: 113

PostPosted: Sun Jun 24, 2012 8:57 pm    Post subject: Reply with quote

cool. i'll give your ebuild(s) a shot
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Mon Jul 30, 2012 9:25 pm    Post subject: Reply with quote

Anyone any luck with MX375 via USB on ~amd64?

Tried tclover's bar-overlay, cnijfilter 3.70-r2 emerged fine, use flags (debug gtk mx370 nls usb -e600 -ip100 -multislot -mx430 -mx510 -mx710 -mx890 -net -servicetools)

Could add the printer afterwards, however it just doesn't print. /var/cups/error_log prints out stuff like:

Code:

E [30/Jul/2012:23:06:31 +0200] [Job 337] Files have gone away!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 32!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 33!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 34!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 35!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 36!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 37!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 38!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 39!
E [30/Jul/2012:23:06:31 +0200] [Job 338] Files have gone away!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 41!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 42!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 43!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 44!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 45!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 46!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 47!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 48!


Any clues?

EDIT:
also, when adding printers, it gives me 4 to select from: printer, fax, with and without readback. When I select "readback" it results in this error:
Code:


Add Printer USB_Printer_1_with_status_readback_for_Canon_IJ Error

Unable to add printer:

    Bad device-uri scheme "cnijusb".


EDIT2:

Also digging around some more, /usr/share/cups/model/mx370.ppd mentions pstocanonij3, but I don't have a pstocanonij3 anywhere. Maybe that's part of the problem?
Back to top
View user's profile Send private message
tclover
Guru
Guru


Joined: 10 Apr 2011
Posts: 516

PostPosted: Tue Jul 31, 2012 3:19 am    Post subject: Reply with quote

@frostschutz:

cups filters dir is `/usr/libexec/cups/filer' where you should find `pstocnaonij3' and backend are stored in `/usr/libexec/cups/backend' where you should find `cnijusb3' (net backend is `cnijnet3'). The `3' suffix are added by the ebuild to let user install at least a 2.x0 and 3.y0 slot at the same time. Double check the locations to see if the files are there or not. I have 2.70 and 3.70 with the required files currently installed. Alas, I don't have my printer near where I live to test the ebuils but other users reported to be fine with other printers on bgo.

I'd recommand at least servicetools and maybe net backend if you have any use of that.

If the files are there and the printer does not work, then move the files (binaries/filters/backend will suffice) by removing the 3 suffix and edit the .ppd file accordingly for test sake and then report back here if it does work that way or not. Do not forget to move back the files before unmerging the package with portage or else you will have to do it manually.
_________________
home/:mkinitramfs-ll/:supervision/:e-gtk-theme/:overlay/
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Tue Jul 31, 2012 10:19 am    Post subject: Reply with quote

tclover wrote:
@frostschutz:

cups filters dir is `/usr/libexec/cups/filer' where you should find `pstocnaonij3' and backend are stored in `/usr/libexec/cups/backend' where you should find `cnijusb3' (net backend is `cnijnet3').



Aha. Seems I was looking in the wrong place earlier?

Code:

$$ /usr/libexec/cups $ ls */*
backend/cnijusb3     cgi-bin/printers.cgi   filter/pstops
backend/http         daemon/cups-deviced    filter/rastertodymo
backend/https        daemon/cups-driverd    filter/rastertoepson
backend/ipp          daemon/cups-exec       filter/rastertoescpx
backend/ipps         daemon/cups-lpd        filter/rastertohp
backend/lpd          daemon/cups-polld      filter/rastertolabel
backend/parallel     filter/bannertops      filter/rastertopclx
backend/serial       filter/commandtoescpx  filter/rastertopwg
backend/snmp         filter/commandtopclx   filter/texttops
backend/socket       filter/commandtops     monitor/bcp
backend/usb          filter/gziptoany       monitor/tbcp
cgi-bin/admin.cgi    filter/imagetops       notifier/dbus
cgi-bin/classes.cgi  filter/imagetoraster   notifier/mailto
cgi-bin/help.cgi     filter/pdftops         notifier/rss
cgi-bin/jobs.cgi     filter/pstocanonij3


So that seems to check out after all.

When I execute backend/cnijusb3, it prints
Code:

direct cnijusb:/dev/usb/lp0 "Canon MX370 series" "USB Printer #1 with status readback for Canon IJ"
direct cnijusb:/dev/usb/lp1 "Canon MX370 series FAX" "USB Printer #2 with status readback for Canon IJ"


However trying to add that in CUPS it still gives this error:

Code:

Unable to add printer: Bad device-uri scheme "cnijusb".


CUPS also lets me add a printer "without status readback", I can add that, but it does not print.

I'll test your suggested useflag changes / file rename suggestion and report back later. Thanks for helping! :)

EDIT:
The servicetools useflag seems to make it depend on libxml, but I have only libxml2 available and no ebuild for libxml-1.8 - am I missing anything here?
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Tue Jul 31, 2012 10:58 am    Post subject: Reply with quote

After symlinking cnijusb->cnijusb3 and pstocanonij->pstocanonij3, CUPS lets me add the printer it previously refused with "Bad device-uri scheme "cnijusb"."

However, it still does not print.

Do I need any special drivers apart from the usblp? All I have is lp0 and lp1 in /dev/usb

Code:

ls -l /dev/usb
total 0
crw-rw-r-- 1 root lp 180, 0 Jul 31 12:44 lp0
crw-rw-r-- 1 root lp 180, 1 Jul 31 12:44 lp1
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Tue Jul 31, 2012 11:15 am    Post subject: Reply with quote

ok, CUPS gives a little more useful output when setting loglevel to debug in cups.conf.

The output is very long, probably too long to post here; please tell me if you need the full log output and I'll nopaste it somewhere. Interesting lines as far as I can tell are:

Code:

I [31/Jul/2012:13:06:52 +0200] [Job 355] Started backend /usr/libexec/cups/backend/cnijusb3 (PID 1137)
E [31/Jul/2012:13:06:52 +0200] [Job 355] Illegal backend: Success
D [31/Jul/2012:13:06:52 +0200] [Job 355] pstocanonij: /usr/bin/gs -sstdout=%stderr -r600 -g4958x7016 -q -dNOPROMPT -dSAFER -sDEVICE=ppmraw -sOutputFile=%stdout -| /usr/local/bin/cifmx370 --imageres 600 --papersize a4 --media plain --paperload front2 --bbox 9,14,586,834 --fit 
D [31/Jul/2012:13:06:52 +0200] [Job 355] /bin/sh: /usr/local/bin/cifmx370: No such file or directory


- The illegal backend message did not show up before, could be a problem?
- For some reason it's looking for a /usr/local/bin/cifmx370, although the ebuild installed its files to /usr/bin/

I'll try symlinking those too just to see if it helps.

EDIT:

After symlinking the /usr/bin/ binaries to /usr/local/bin, the printer now shows "Please wait a while" on its display, and the error log scrolls this message every 2 second:

Code:

I [31/Jul/2012:13:23:43 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:23:45 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:23:47 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:23:49 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:23:51 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:23:53 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:23:55 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:23:57 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:23:59 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:24:01 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:24:03 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:24:05 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:24:07 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:24:09 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:24:11 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:24:13 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:24:15 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:24:17 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:24:19 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           


So something happened. Doesn't look like it's actually going to print (taking its sweet time if it is) but I'll let it sit like that for a while until I have a new idea...

The illegal backend success etc. message isn't showing anymore either.

EDIT:

Minutes later still nothing new - there's a cnijusb process running, if I attach to it with strace it simply says: wait4(1724,

So it's waiting for something, not doing anyhting, not sure what's going on.
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Tue Jul 31, 2012 10:07 pm    Post subject: Reply with quote

I've tried various things but no luck so far. No matter what I do, the printer simply "Please wait a while" indefinitely. Cups debug output is also not useful at this point. Both printer and PC seem to be waiting for something.

pstree looks like so:

Code:

        |-cupsd(1794)---cnijusb(1799)---lgmonmx370(1802)-+-lgmonmx370(1839)
        |                                                `-lgmonmx370(1840)


attaching to either of those processes with strace:


pausing and waiting:

Code:

# strace -p 1799
Process 1799 attached
wait4(1802,
# strace -p 1840
Process 1840 attached
pause(
# strace -p 1802
Process 1802 attached
pause(


lgmonmx370(1839) printing periodical debug message:
Code:

# strace -p 1839
Process 1839 attached
restart_syscall(<... resuming interrupted call ...>) = 0
rt_sigprocmask(SIG_BLOCK, [TERM], NULL, 8) = 0
read(1, "<?xml version=\"1.0\" encoding=\"ut"..., 4096) = 984
write(2, "INFO:STS:USB MX370           00 "..., 129) = 129
rt_sigprocmask(SIG_UNBLOCK, [TERM], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({2, 0}, 0x7fffd4809500)       = 0
rt_sigprocmask(SIG_BLOCK, [TERM], NULL, 8) = 0
read(1, "<?xml version=\"1.0\" encoding=\"ut"..., 4096) = 984
write(2, "INFO:STS:USB MX370           00 "..., 129) = 129


Nothing really useful.

I still didn't get around to test with network instead of USB. I'll get around to that tomorrow. I'd really prefer getting this to work with USB though. The printer itself is fine - it works fine in Windows.

EDIT:

Out of frustration I went and updated my old TurboPrint license which I bought years ago for a Canon i550. Printer was up and running within a minute. :lol: Thanks anyway.
Back to top
View user's profile Send private message
tclover
Guru
Guru


Joined: 10 Apr 2011
Posts: 516

PostPosted: Thu Aug 02, 2012 6:53 pm    Post subject: Reply with quote

@frostschutz:

First, multislotibg does not work so I've just update the ebuilds/eclass to take that into account.

No theweird stuff is that it seems some binaries hard coded $bin path which is more annoying. I don't have the time to look at that. I hope my update is not clean enough to not need an extra fix I won't have the time in the next days.

Anyway, I cannot no longer compile cnijfilter with gcc-4.6.3 nor gcc-4.5.4 (used to compile just fine with gcc-4.5.3) so I won't be able to fix that an short time manner. If somebody need extra fixes [s]he has to step in and make it. I would gladly pick the changes latter.

One simple fix and easy while at that would be to revert the prefix[=/usr] to prefix=/usr/local. That should do the trick in a very timely manner.

EDIT: I have pushed a commit which enforce `--prefix=/usr' in src_configure() just now, if that does not work enforcing `--prefix=/usr/local' should do the trick.
_________________
home/:mkinitramfs-ll/:supervision/:e-gtk-theme/:overlay/
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Sat Sep 22, 2012 4:54 am    Post subject: Reply with quote

Just a 'heads up' for users of Canon printers who use USB to connect to the printer: CUPS 1.6.1 has an annoying bug for some models of USB printer (see http://cups.org/str.php?L4155). Apparently the bug was introduced in CUPS 1.5.4, so you can avoid it be staying with CUPS 1.5.3 for the time being.

My Canon PIXMA MP560 is one of the models affected by this bug. Fortunately the printer also supports WiFi so I can print via that instead of USB. The work-around recommended by CUPS developer Till Kamppeter didn't solve the problem using USB in my case:

Code:
# lpadmin -p <printer> -o usb-unidir-default=true

Code:
# lpadmin -p Canon_MP560_series -o usb-unidir-default=true

I have checked that the above command did indeed insert the recommended option in /etc/cups/printers.conf:

Code:
# grep unidir /etc/cups/printers.conf
Option usb-unidir true
#

and here is the section for the printer in /etc/cups/printers.conf:

Code:
<Printer Canon_MP560_series>
UUID urn:uuid:b3a780c3-3948-3a03-7f84-bf0eea8c6ba0
Info Canon MP560 series
Location My office upstairs
MakeModel Canon MP560 series Ver.3.20
DeviceURI usb://Canon/MP560%20series?serial=1653C4&interface=1
State Idle
StateTime 1348284757
Type 8425500
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Option usb-unidir true
</Printer>

but, in my case at least, the problem still remains when printing via USB.

------------------------------------------------

EDIT (March 26, 2013): The problem printing via USB with the Canon PIXMA MP560 was fixed by a quirk in CUPS 1.6.2 in backend/usb-libusb:

Code:
static const struct quirk_printer_struct quirk_printers[] = {
   { 0x03f0, 0x0004, USBLP_QUIRK_BIDIR }, /* HP DeskJet 895C */
   { 0x03f0, 0x0104, USBLP_QUIRK_BIDIR }, /* HP DeskJet 880C */
   { 0x03f0, 0x0204, USBLP_QUIRK_BIDIR }, /* HP DeskJet 815C */
   { 0x03f0, 0x0304, USBLP_QUIRK_BIDIR }, /* HP DeskJet 810C/812C */
   { 0x03f0, 0x0404, USBLP_QUIRK_BIDIR }, /* HP DeskJet 830C */
   { 0x03f0, 0x0504, USBLP_QUIRK_BIDIR }, /* HP DeskJet 885C */
   { 0x03f0, 0x0604, USBLP_QUIRK_BIDIR }, /* HP DeskJet 840C */
   { 0x03f0, 0x0804, USBLP_QUIRK_BIDIR }, /* HP DeskJet 816C */
   { 0x03f0, 0x1104, USBLP_QUIRK_BIDIR }, /* HP Deskjet 959C */
   { 0x0409, 0xefbe, USBLP_QUIRK_BIDIR }, /* NEC Picty900 (HP OEM) */
   { 0x0409, 0xbef4, USBLP_QUIRK_BIDIR }, /* NEC Picty760 (HP OEM) */
   { 0x0409, 0xf0be, USBLP_QUIRK_BIDIR }, /* NEC Picty920 (HP OEM) */
   { 0x0409, 0xf1be, USBLP_QUIRK_BIDIR }, /* NEC Picty800 (HP OEM) */
   { 0x0482, 0x0010, USBLP_QUIRK_BIDIR }, /* Kyocera Mita FS 820,
                    by zut <kernel@zut.de> */
   { 0x04a9, 0x10a2, USBLP_QUIRK_BIDIR }, /* Canon, Inc. PIXMA iP4200
             Printer, http://www.cups.org/str.php?L4155 */
   { 0x04a9, 0x10b6, USBLP_QUIRK_BIDIR }, /* Canon, Inc. PIXMA iP4300
             Printer, https://bugs.launchpad.net/bugs/1032385 */
   { 0x04a9, 0x1721, USBLP_QUIRK_BIDIR }, /* Canon, Inc. MP210
            https://bugzilla.redhat.com/show_bug.cgi?id=847923#c53 */
   { 0x04a9, 0x170c, USBLP_QUIRK_BIDIR }, /* Canon, Inc. MP500
             Printer, https://bugs.launchpad.net/bugs/1032456 */
   { 0x04a9, 0x1717, USBLP_QUIRK_BIDIR }, /* Canon, Inc. MP510
             Printer, https://bugs.launchpad.net/bugs/1050009 */
   { 0x04a9, 0x173d, USBLP_QUIRK_BIDIR }, /* Canon, Inc. MP550
             Printer, http://www.cups.org/str.php?L4155 */
   { 0x04a9, 0x173e, USBLP_QUIRK_BIDIR }, /* Canon, Inc. MP560
             Printer, http://www.cups.org/str.php?L4155 */
   { 0x04f9, 0x001a, USBLP_QUIRK_NO_REATTACH }, /* Brother Industries, Ltd
                    HL-1430 Laser Printer,
                 https://bugs.launchpad.net/bugs/1038695 */
   { 0x04f9, 0x000d, USBLP_QUIRK_BIDIR |
           USBLP_QUIRK_NO_REATTACH }, /* Brother Industries, Ltd
                    HL-1440 Laser Printer,
                 https://bugs.launchpad.net/bugs/1000253 */
   { 0x06bc, 0x000b, USBLP_QUIRK_NO_REATTACH }, /* Oki Data Corp.
                    Okipage 14ex Printer,
                 https://bugs.launchpad.net/bugs/872483 */
   { 0x06bc, 0x01c7, USBLP_QUIRK_NO_REATTACH }, /* Oki Data Corp. B410d,
                 https://bugs.launchpad.net/bugs/872483 */
   { 0x04b8, 0x0001, USBLP_QUIRK_BIDIR }, /* Seiko Epson Corp. Stylus Color 740 / Photo 750,
                 http://bugs.debian.org/697970 */
   { 0x04b8, 0x0202, USBLP_QUIRK_BAD_CLASS }, /* Seiko Epson Receipt
                        Printer M129C */
   { 0x067b, 0x2305, USBLP_QUIRK_BIDIR |
           USBLP_QUIRK_NO_REATTACH |
                     USBLP_QUIRK_RESET },
   { 0x0924, 0x3ce9, USBLP_QUIRK_NO_REATTACH }, /* Xerox Phaser 3124
           https://bugzilla.redhat.com/show_bug.cgi?id=867392 */
   { 0x0924, 0x4293, USBLP_QUIRK_NO_REATTACH }, /* Xerox WorkCentre 3210
                 https://bugs.launchpad.net/bugs/1102470 */
   /* Prolific Technology, Inc. PL2305 Parallel Port
      (USB -> Parallel adapter), https://bugs.launchpad.net/bugs/987485 */
   { 0x04e8, 0x0000, USBLP_QUIRK_RESET }, /* All Samsung devices,
                 https://bugs.launchpad.net/bugs/1032456 */
   { 0x0a5f, 0x0000, USBLP_QUIRK_BIDIR }, /* All Zebra devices,
                 https://bugs.launchpad.net/bugs/1001028 */
   /* Canon */
   { 0x04a9, 0x304a, USBLP_QUIRK_BLACKLIST }, /* Canon CP-10 */
   { 0x04a9, 0x3063, USBLP_QUIRK_BLACKLIST }, /* Canon CP-100 */
   { 0x04a9, 0x307c, USBLP_QUIRK_BLACKLIST }, /* Canon CP-200 */
   { 0x04a9, 0x307d, USBLP_QUIRK_BLACKLIST }, /* Canon CP-300 */
   { 0x04a9, 0x30bd, USBLP_QUIRK_BLACKLIST }, /* Canon CP-220 */
   { 0x04a9, 0x30be, USBLP_QUIRK_BLACKLIST }, /* Canon CP-330 */
   { 0x04a9, 0x30f6, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP400 */
   { 0x04a9, 0x310b, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP600 */
   { 0x04a9, 0x3127, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP710 */
   { 0x04a9, 0x3128, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP510 */
   { 0x04a9, 0x3141, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY ES1 */
   { 0x04a9, 0x3142, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP730 */
   { 0x04a9, 0x3143, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP720 */
   { 0x04a9, 0x3170, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP750 */
   { 0x04a9, 0x3171, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP740 */
   { 0x04a9, 0x3185, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY ES2 */
   { 0x04a9, 0x3186, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY ES20 */
   { 0x04a9, 0x31aa, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP770 */
   { 0x04a9, 0x31ab, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP760 */
   { 0x04a9, 0x31b0, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY ES30 */
   { 0x04a9, 0x31dd, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP780 */
   { 0x04a9, 0x31ee, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY ES40 */
   { 0x04a9, 0x3214, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP800 */
   { 0x04a9, 0x3255, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP900 */
   { 0x04a9, 0x3256, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP810 */
   { 0x04a9, 0x30F5, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP500 */
   { 0x04a9, 0x31AF, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY ES3 */
    /* MISSING PIDs: CP520, CP530, CP790 */
   { 0, 0 }
};

_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog


Last edited by Fitzcarraldo on Tue Apr 23, 2013 11:34 am; edited 1 time in total
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Sun Oct 07, 2012 5:15 pm    Post subject: Reply with quote

Hi, tclover.
I use your overlay and net-print/cnijfilter-3.00-r4 fails to emerge with the following error:
Code:

checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0...
*** 'pkg-config --modversion gtk+-2.0' returned 2.24.13, but GTK+ (2.24.10)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GTK+. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error: Cannot find GTK: Is gtk-config in path?

gtk+-2.24.13 is installed. Any idea?
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
dufeu
l33t
l33t


Joined: 30 Aug 2002
Posts: 924
Location: US-FL-EST

PostPosted: Tue Nov 20, 2012 9:30 pm    Post subject: Reply with quote

I've been trying to get my MP530 to work under linux. I've been deeply saddened over my lack of success.

I haven't been able to build any version of bjfilter nor cnijfilter. I'd like to build and try the latest version of cnijfilter-common.

Can someone share a copy of their ebuild overlay with me? I'm not a programmer but I can usually manage to properly copy overlays.

I have tried to understand from this thread where I can pull an overlay but there have been too many choices and those choices involving github are beyond my current level of knowledge {I've never used git to pull an overlay before}.


FWIW -

I've got the scanner side working well.

As for the printer side and with using USB, I can partially print using the foomatic/bj8oa06n.ppd file as the driver. This means I know I have a confirmed working connection and working printer.
_________________
People whom think M$ is mediocre, don't know the half of it.
Back to top
View user's profile Send private message
mikec1965
n00b
n00b


Joined: 20 Dec 2012
Posts: 1

PostPosted: Thu Dec 20, 2012 9:11 pm    Post subject: Canon MP450 - Password issue Reply with quote

Hi, while updating the printer software I experienced a power outage. When power was restored, I tried to run the update again, but I was being asked for a password to continue. As I haven't set a password, I was a bit stumped.

I tried doing a factory reset, but that didn't solve the problem.

I'm running on Windows 7 software.

Any help available?
Back to top
View user's profile Send private message
mrsaccess
n00b
n00b


Joined: 03 Sep 2005
Posts: 30
Location: Greece

PostPosted: Thu May 30, 2013 10:39 pm    Post subject: Reply with quote

I found an ebuild for scangearmp-1.60 which pointed to this thread. I updated it for scangearmp-2.10, which is for mx390, mx450, mx520, mx720, mx920, e610 series.
I didn't delve too deep in the ebuild, so for now scanning with Canon's driver through sane doesn't seem to work, but Canon's own app (scangearmp) works for both wired (usb, ethernet) and wireless (wifi) connections.

Here it is for anyone interested.
http://www.andmarios.com/attachments/forums_posts/scangearmp-2.10.ebuild

Mind you that some of these machines will be supported by sane-backend-1.0.24 (already in git).

Now, if only someone could help to get cnijfilter-drivers-3.80 compile on my machine. I actually need cnijfilter-drivers-3.90, but trying to adjust the ebuild, I got hit by a compile error.
Code:
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DUSE_LIB_GLASE -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2     -O2 -Wall -c support.c
bjcupsmon_ui.c: In function ‘freezeText’:
bjcupsmon_ui.c:1558:13: warning: variable ‘widget’ set but not used [-Wunused-but-set-variable]
bjcupsmon_main.c: In function ‘initApplication’:
bjcupsmon_main.c:496:97: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
bjcupsmon_main.c:531:92: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
bjcupsmon_main.c:374:15: warning: variable ‘Odev’ set but not used [-Wunused-but-set-variable]
bjcupsmon_main.c: In function ‘updateUI’:
bjcupsmon_main.c:679:10: warning: variable ‘retx’ set but not used [-Wunused-but-set-variable]
bjcupsmon_main.c:618:14: warning: variable ‘Odev’ set but not used [-Wunused-but-set-variable]
bjcupsmon_cups.c: In function ‘checkPrinterState’:
bjcupsmon_cups.c:219:11: error: dereferencing pointer to incomplete type
bjcupsmon_cups.c:220:11: error: dereferencing pointer to incomplete type
bjcupsmon_cups.c:229:17: error: dereferencing pointer to incomplete type
bjcupsmon_cups.c:234:44: error: dereferencing pointer to incomplete type
.
.
.
bjcupsmon_cups.c:693:30: error: dereferencing pointer to incomplete type
bjcupsmon_cups.c:702:31: error: dereferencing pointer to incomplete type
make[2]: *** [bjcupsmon_cups.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-print/cnijfilter-drivers-3.90/work/cnijfilter-source-3.90-1/mx520/cngpijmon/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/net-print/cnijfilter-drivers-3.90/work/cnijfilter-source-3.90-1/mx520/cngpijmon/src'

It is the same with 3.80 (and an appropriate drive of course).
_________________
Hardware: The parts of your pc you can kick.
Back to top
View user's profile Send private message
FoZo
n00b
n00b


Joined: 14 Sep 2013
Posts: 6
Location: Stockholm/Sweden

PostPosted: Sat Sep 14, 2013 12:56 pm    Post subject: Reply with quote

Hello,

I had the same problem.
What I did to solve the problem was to install net-print/cnijfilter-drivers without servicetools .

This is my printers.conf config:

Code:

<Printer Canon-MG5300-series_18-0C-AC-C5-F8-02>
UUID urn:uuid:f4d24ca5-ce10-3bab-701e-bb52e7d0f5a1
Info Canon MG5300 series
Location Local Printer
MakeModel Canon MG5300 series Ver.3.60
DeviceURI cnijnet:/18-0C-AC-C5-F8-02
State Idle
StateTime 1379162780
Type 8425500
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>


For Canon mg5300 you can use this in canonmg5300.ppd file

Code:

*PPD-Adobe: "4.3"
*%  CUPS add-on PPD file for Canon Inkjet Printer Driver.
*%  Copyright CANON INC. 2001-2011
*%  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; version 2 of the License.
*%
*%  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 MG5300 series"
*NickName: "Canon MG5300 series Ver.3.60"
*PCFileName: "CNMG5300.PPD"
*Product: "(mg5300)"
*PSVersion: "(3010.000) 550"
*PSVersion: "(3010.000) 651"
*PSVersion: "(3010.000) 705"
*PSVersion: "(3010.000) 715"
*ShortNickName: "MG5300"

*ColorDevice: True
*DefaultColorSpace: RGB
*Throughput: "1"
*LandscapeOrientation: Plus90
*LanguageLevel: "3"
*FileSystem: False
*TTRasterizer: Type42

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

*MaxMediaWidth: "612"
*MaxMediaHeight: "1917"
*CenterRegistered: False
*HWMargins: 9.64 14.17 9.64 8.50
*LeadingEdge Short: ""
*DefaultLeadingEdge: Short
*VariablePaperSize: True
*ParamCustomPageSize Width: 1 points 155.91 612.00
*ParamCustomPageSize Height: 2 points 257.96 1916.23
*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 *Resolution/Output Resolution: PickOne
*DefaultResolution: 600dpi
*Resolution 600dpi/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

*OpenUI *PageSize/Page Size: PickOne
*DefaultPageSize: A4
*PageSize Letter/Letter [8.50"x11.00" 215.9x279.4mm]: "<</CNPageSizeName(Letter)/PageSize[612 792]/ImagingBBox null>>setpagedevice"
*PageSize Letter.bl/Letter(borderless) [8.50"x11.00" 215.9x279.4mm]: "<</CNPageSizeName(Letter.bl)/PageSize[612 792]/ImagingBBox null>>setpagedevice"
*PageSize Legal/Legal [8.50"x14.00" 215.9x355.6mm]: "<</CNPageSizeName(Legal)/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
*PageSize A5/A5 [5.83"x8.27" 148.0x210.0mm]: "<</CNPageSizeName(A5)/PageSize[420 595]/ImagingBBox null>>setpagedevice"
*PageSize A4/A4 [8.27"x11.69" 210.0x297.0mm]: "<</CNPageSizeName(A4)/PageSize[595 842]/ImagingBBox null>>setpagedevice"
*PageSize A4.bl/A4(borderless) [8.27"x11.69" 210.0x297.0mm]: "<</CNPageSizeName(A4.bl)/PageSize[595 842]/ImagingBBox null>>setpagedevice"
*PageSize B5/B5 [7.17"x10.12" 182.0x257.0mm]: "<</CNPageSizeName(B5)/PageSize[516 729]/ImagingBBox null>>setpagedevice"
*PageSize 4X6/4"x6" [4.00"x6.00" 101.6x152.4mm]: "<</CNPageSizeName(4X6)/PageSize[288 432]/ImagingBBox null>>setpagedevice"
*PageSize 4X6.bl/4"x6"(borderless) [4.00"x6.00" 101.6x152.4mm]: "<</CNPageSizeName(4X6.bl)/PageSize[288 432]/ImagingBBox null>>setpagedevice"
*PageSize 4X8/4"x8" [4.00"x8.00" 101.6x203.2mm]: "<</CNPageSizeName(4X8)/PageSize[288 576]/ImagingBBox null>>setpagedevice"
*PageSize 4X8.bl/4"x8"(borderless) [4.00"x8.00" 101.6x203.2mm]: "<</CNPageSizeName(4X8.bl)/PageSize[288 576]/ImagingBBox null>>setpagedevice"
*PageSize 5X7/5"x7" [5.00"x7.00" 127.0x177.8mm]: "<</CNPageSizeName(5X7)/PageSize[360 504]/ImagingBBox null>>setpagedevice"
*PageSize 5X7.bl/5"x7"(borderless) [5.00"x7.00" 127.0x177.8mm]: "<</CNPageSizeName(5X7.bl)/PageSize[360 504]/ImagingBBox null>>setpagedevice"
*PageSize 8X10/8"x10" [8.00"x10.00" 203.2x254.0mm]: "<</CNPageSizeName(8X10)/PageSize[576 720]/ImagingBBox null>>setpagedevice"
*PageSize 8X10.bl/8"x10"(borderless) [8.00"x10.00" 203.2x254.0mm]: "<</CNPageSizeName(8X10.bl)/PageSize[576 720]/ImagingBBox null>>setpagedevice"
*PageSize l/L [3.50"x5.00" 89.0x127.0mm]: "<</CNPageSizeName(l)/PageSize[252 360]/ImagingBBox null>>setpagedevice"
*PageSize l.bl/L(borderless) [3.50"x5.00" 89.0x127.0mm]: "<</CNPageSizeName(l.bl)/PageSize[252 360]/ImagingBBox null>>setpagedevice"
*PageSize 2l/2L [5.00"x7.01" 127.0x178.0mm]: "<</CNPageSizeName(2l)/PageSize[360 505]/ImagingBBox null>>setpagedevice"
*PageSize 2l.bl/2L(borderless) [5.00"x7.01" 127.0x178.0mm]: "<</CNPageSizeName(2l.bl)/PageSize[360 505]/ImagingBBox null>>setpagedevice"
*PageSize postcard/Hagaki [3.94"x5.83" 100.0x148.0mm]: "<</CNPageSizeName(postcard)/PageSize[283 420]/ImagingBBox null>>setpagedevice"
*PageSize postcard.bl/Hagaki(borderless) [3.94"x5.83" 100.0x148.0mm]: "<</CNPageSizeName(postcard.bl)/PageSize[283 420]/ImagingBBox null>>setpagedevice"
*PageSize postdbl/Hagaki 2 [7.87"x5.83" 200.0x148.0mm]: "<</CNPageSizeName(postdbl)/PageSize[567 420]/ImagingBBox null>>setpagedevice"
*PageSize envelop10p/Comm. Env. #10 [4.12"x9.50" 104.8x241.3mm]: "<</CNPageSizeName(envelop10p)/PageSize[297 684]/ImagingBBox null>>setpagedevice"
*PageSize envelopdlp/DL Env. [4.33"x8.66" 110.0x220.0mm]: "<</CNPageSizeName(envelopdlp)/PageSize[312 624]/ImagingBBox null>>setpagedevice"
*PageSize envj4p/Youkei 4 [4.13"x9.25" 105.0x235.0mm]: "<</CNPageSizeName(envj4p)/PageSize[298 666]/ImagingBBox null>>setpagedevice"
*PageSize envj6p/Youkei 6 [3.86"x7.48" 98.0x190.0mm]: "<</CNPageSizeName(envj6p)/PageSize[278 539]/ImagingBBox null>>setpagedevice"
*PageSize businesscard/Card [2.16"x3.58" 55.0x91.0mm]: "<</CNPageSizeName(businesscard)/PageSize[156 258]/ImagingBBox null>>setpagedevice"
*PageSize businesscard.bl/Card(borderless) [2.16"x3.58" 55.0x91.0mm]: "<</CNPageSizeName(businesscard.bl)/PageSize[156 258]/ImagingBBox null>>setpagedevice"
*PageSize wide/Wide [4.00"x7.11" 101.6x180.6mm]: "<</CNPageSizeName(wide)/PageSize[288 512]/ImagingBBox null>>setpagedevice"
*PageSize wide.bl/Wide(borderless) [4.00"x7.11" 101.6x180.6mm]: "<</CNPageSizeName(wide.bl)/PageSize[288 512]/ImagingBBox null>>setpagedevice"
*CloseUI: *PageSize

*OpenUI *PageRegion: PickOne
*DefaultPageRegion: A4
*PageRegion Letter/Letter [8.50"x11.00" 215.9x279.4mm]: "<</CNPageSizeName(Letter)/PageSize[612 792]/ImagingBBox null>>setpagedevice"
*PageRegion Letter.bl/Letter(borderless) [8.50"x11.00" 215.9x279.4mm]: "<</CNPageSizeName(Letter.bl)/PageSize[612 792]/ImagingBBox null>>setpagedevice"
*PageRegion Legal/Legal [8.50"x14.00" 215.9x355.6mm]: "<</CNPageSizeName(Legal)/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
*PageRegion A5/A5 [5.83"x8.27" 148.0x210.0mm]: "<</CNPageSizeName(A5)/PageSize[420 595]/ImagingBBox null>>setpagedevice"
*PageRegion A4/A4 [8.27"x11.69" 210.0x297.0mm]: "<</CNPageSizeName(A4)/PageSize[595 842]/ImagingBBox null>>setpagedevice"
*PageRegion A4.bl/A4(borderless) [8.27"x11.69" 210.0x297.0mm]: "<</CNPageSizeName(A4.bl)/PageSize[595 842]/ImagingBBox null>>setpagedevice"
*PageRegion B5/B5 [7.17"x10.12" 182.0x257.0mm]: "<</CNPageSizeName(B5)/PageSize[516 729]/ImagingBBox null>>setpagedevice"
*PageRegion 4X6/4"x6" [4.00"x6.00" 101.6x152.4mm]: "<</CNPageSizeName(4X6)/PageSize[288 432]/ImagingBBox null>>setpagedevice"
*PageRegion 4X6.bl/4"x6"(borderless) [4.00"x6.00" 101.6x152.4mm]: "<</CNPageSizeName(4X6.bl)/PageSize[288 432]/ImagingBBox null>>setpagedevice"
*PageRegion 4X8/4"x8" [4.00"x8.00" 101.6x203.2mm]: "<</CNPageSizeName(4X8)/PageSize[288 576]/ImagingBBox null>>setpagedevice"
*PageRegion 4X8.bl/4"x8"(borderless) [4.00"x8.00" 101.6x203.2mm]: "<</CNPageSizeName(4X8.bl)/PageSize[288 576]/ImagingBBox null>>setpagedevice"
*PageRegion 5X7/5"x7" [5.00"x7.00" 127.0x177.8mm]: "<</CNPageSizeName(5X7)/PageSize[360 504]/ImagingBBox null>>setpagedevice"
*PageRegion 5X7.bl/5"x7"(borderless) [5.00"x7.00" 127.0x177.8mm]: "<</CNPageSizeName(5X7.bl)/PageSize[360 504]/ImagingBBox null>>setpagedevice"
*PageRegion 8X10/8"x10" [8.00"x10.00" 203.2x254.0mm]: "<</CNPageSizeName(8X10)/PageSize[576 720]/ImagingBBox null>>setpagedevice"
*PageRegion 8X10.bl/8"x10"(borderless) [8.00"x10.00" 203.2x254.0mm]: "<</CNPageSizeName(8X10.bl)/PageSize[576 720]/ImagingBBox null>>setpagedevice"
*PageRegion l/L [3.50"x5.00" 89.0x127.0mm]: "<</CNPageSizeName(l)/PageSize[252 360]/ImagingBBox null>>setpagedevice"
*PageRegion l.bl/L(borderless) [3.50"x5.00" 89.0x127.0mm]: "<</CNPageSizeName(l.bl)/PageSize[252 360]/ImagingBBox null>>setpagedevice"
*PageRegion 2l/2L [5.00"x7.01" 127.0x178.0mm]: "<</CNPageSizeName(2l)/PageSize[360 505]/ImagingBBox null>>setpagedevice"
*PageRegion 2l.bl/2L(borderless) [5.00"x7.01" 127.0x178.0mm]: "<</CNPageSizeName(2l.bl)/PageSize[360 505]/ImagingBBox null>>setpagedevice"
*PageRegion postcard/Hagaki [3.94"x5.83" 100.0x148.0mm]: "<</CNPageSizeName(postcard)/PageSize[283 420]/ImagingBBox null>>setpagedevice"
*PageRegion postcard.bl/Hagaki(borderless) [3.94"x5.83" 100.0x148.0mm]: "<</CNPageSizeName(postcard.bl)/PageSize[283 420]/ImagingBBox null>>setpagedevice"
*PageRegion postdbl/Hagaki 2 [7.87"x5.83" 200.0x148.0mm]: "<</CNPageSizeName(postdbl)/PageSize[567 420]/ImagingBBox null>>setpagedevice"
*PageRegion envelop10p/Comm. Env. #10 [4.12"x9.50" 104.8x241.3mm]: "<</CNPageSizeName(envelop10p)/PageSize[297 684]/ImagingBBox null>>setpagedevice"
*PageRegion envelopdlp/DL Env. [4.33"x8.66" 110.0x220.0mm]: "<</CNPageSizeName(envelopdlp)/PageSize[312 624]/ImagingBBox null>>setpagedevice"
*PageRegion envj4p/Youkei 4 [4.13"x9.25" 105.0x235.0mm]: "<</CNPageSizeName(envj4p)/PageSize[298 666]/ImagingBBox null>>setpagedevice"
*PageRegion envj6p/Youkei 6 [3.86"x7.48" 98.0x190.0mm]: "<</CNPageSizeName(envj6p)/PageSize[278 539]/ImagingBBox null>>setpagedevice"
*PageRegion businesscard/Card [2.16"x3.58" 55.0x91.0mm]: "<</CNPageSizeName(businesscard)/PageSize[156 258]/ImagingBBox null>>setpagedevice"
*PageRegion businesscard.bl/Card(borderless) [2.16"x3.58" 55.0x91.0mm]: "<</CNPageSizeName(businesscard.bl)/PageSize[156 258]/ImagingBBox null>>setpagedevice"
*PageRegion wide/Wide [4.00"x7.11" 101.6x180.6mm]: "<</CNPageSizeName(wide)/PageSize[288 512]/ImagingBBox null>>setpagedevice"
*PageRegion wide.bl/Wide(borderless) [4.00"x7.11" 101.6x180.6mm]: "<</CNPageSizeName(wide.bl)/PageSize[288 512]/ImagingBBox null>>setpagedevice"
*CloseUI: *PageRegion

*OpenUI *MediaType/Media Type: PickOne
*DefaultMediaType: plain
*MediaType plain/Plain Paper: "<</MediaType(plain)>>setpagedevice"
*MediaType glossygold/Photo Paper Plus Glossy II: "<</MediaType(glossygold)>>setpagedevice"
*MediaType proplatinum/Photo Paper Pro Platinum: "<</MediaType(proplatinum)>>setpagedevice"
*MediaType semigloss/Photo Paper Plus Semi-gloss: "<</MediaType(semigloss)>>setpagedevice"
*MediaType glossypaper/Glossy Photo Paper: "<</MediaType(glossypaper)>>setpagedevice"
*MediaType matte/Matte Photo Paper: "<</MediaType(matte)>>setpagedevice"
*MediaType envelope/Envelope: "<</MediaType(envelope)>>setpagedevice"
*MediaType postcardaddress/Hagaki A: "<</MediaType(postcardaddress)>>setpagedevice"
*MediaType ijpostcard/Ink Jet Hagaki: "<</MediaType(ijpostcard)>>setpagedevice"
*MediaType glossypost/Hagaki K: "<</MediaType(glossypost)>>setpagedevice"
*MediaType postcard/Hagaki: "<</MediaType(postcard)>>setpagedevice"
*MediaType highres/High Resolution Paper: "<</MediaType(highres)>>setpagedevice"
*MediaType tshirt/T-Shirt Transfers: "<</MediaType(tshirt)>>setpagedevice"
*MediaType otherphoto/Other Photo Paper: "<</MediaType(otherphoto)>>setpagedevice"
*CloseUI: *MediaType

*OpenUI *InputSlot/Paper Source: PickOne
*DefaultInputSlot: auto
*InputSlot auto/Automatically Select: "<</MediaPosition 0>>setpagedevice"
*InputSlot asf/Rear Tray: "<</MediaPosition 0>>setpagedevice"
*InputSlot cassette/Cassette: "<</MediaPosition 1>>setpagedevice"
*InputSlot continuous/Continuous Autofeed: "<</MediaPosition 0>>setpagedevice"
*CloseUI: *InputSlot

*OpenUI *CNExtension/Amount of Extension: PickOne
*DefaultCNExtension: 2
*CNExtension 0/0: "<</CNExtension(0)>>setpagedevice"
*CNExtension 1/1: "<</CNExtension(1)>>setpagedevice"
*CNExtension 2/2: "<</CNExtension(2)>>setpagedevice"
*CNExtension 3/3: "<</CNExtension(3)>>setpagedevice"
*CloseUI: *CNExtension

*DefaultImageableArea: A4
*ImageableArea Letter: "18.14 14.17 594.14 783.50"
*ImageableArea Letter.bl: "0 0 612 792"
*ImageableArea Legal: "18.14 14.17 594.14 999.50"
*ImageableArea A5: "9.64 14.17 409.89 586.77"
*ImageableArea A4: "9.64 14.17 585.64 833.39"
*ImageableArea A4.bl: "0 0 595 842"
*ImageableArea B5: "9.64 14.17 506.27 720.00"
*ImageableArea 4X6: "9.64 14.17 278.36 423.50"
*ImageableArea 4X6.bl: "0 0 288 432"
*ImageableArea 4X8: "9.64 14.17 278.36 567.50"
*ImageableArea 4X8.bl: "0 0 288 576"
*ImageableArea 5X7: "9.64 14.17 350.36 495.50"
*ImageableArea 5X7.bl: "0 0 360 504"
*ImageableArea 8X10: "9.64 14.17 566.36 711.50"
*ImageableArea 8X10.bl: "0 0 576 720"
*ImageableArea l: "9.64 14.17 242.65 351.50"
*ImageableArea l.bl: "0 0 252 360"
*ImageableArea 2l: "9.64 14.17 350.36 496.06"
*ImageableArea 2l.bl: "0 0 360 505"
*ImageableArea postcard: "9.64 14.17 273.83 411.02"
*ImageableArea postcard.bl: "0 0 283 420"
*ImageableArea postdbl: "9.64 14.17 557.29 411.02"
*ImageableArea envelop10p: "9.64 106.02 287.35 675.50"
*ImageableArea envelopdlp: "9.64 106.02 302.17 615.12"
*ImageableArea envj4p: "9.64 106.02 288.00 657.64"
*ImageableArea envj6p: "9.64 106.02 268.16 530.08"
*ImageableArea businesscard: "9.64 14.17 146.27 249.45"
*ImageableArea businesscard.bl: "0 0 156 258"
*ImageableArea wide: "9.64 14.17 278.36 503.49"
*ImageableArea wide.bl: "0 0 288 512"

*DefaultPaperDimension: A4
*PaperDimension Letter: "612 792"
*PaperDimension Letter.bl: "613 793"
*PaperDimension Legal: "612 1008"
*PaperDimension A5: "420 595"
*PaperDimension A4: "595 842"
*PaperDimension A4.bl: "596 843"
*PaperDimension B5: "516 729"
*PaperDimension 4X6: "288 432"
*PaperDimension 4X6.bl: "289 433"
*PaperDimension 4X8: "288 576"
*PaperDimension 4X8.bl: "289 577"
*PaperDimension 5X7: "360 504"
*PaperDimension 5X7.bl: "361 505"
*PaperDimension 8X10: "576 720"
*PaperDimension 8X10.bl: "577 721"
*PaperDimension l: "252 360"
*PaperDimension l.bl: "253 361"
*PaperDimension 2l: "360 505"
*PaperDimension 2l.bl: "361 506"
*PaperDimension postcard: "283 420"
*PaperDimension postcard.bl: "284 421"
*PaperDimension postdbl: "567 420"
*PaperDimension envelop10p: "297 684"
*PaperDimension envelopdlp: "312 624"
*PaperDimension envj4p: "298 666"
*PaperDimension envj6p: "278 539"
*PaperDimension businesscard: "156 258"
*PaperDimension businesscard.bl: "157 259"
*PaperDimension wide: "288 512"
*PaperDimension wide.bl: "289 513"

*OpenUI *Duplex/Duplex Printing: PickOne
*DefaultDuplex: None
*Duplex None/OFF: "<</Duplex false>>setpagedevice"
*Duplex DuplexNoTumble/ON (Long Side Stapling): "<</Duplex true/Tumble false>>setpagedevice"
*Duplex DuplexTumble/ON (Short Side Stapling): "<</Duplex true/Tumble true>>setpagedevice"
*CloseUI: *Duplex

*UIConstraints: *InputSlot cassette *PageSize Legal
*UIConstraints: *PageSize Legal *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize 4X6
*UIConstraints: *PageSize 4X6 *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize 4X6.bl
*UIConstraints: *PageSize 4X6.bl *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize 4X8
*UIConstraints: *PageSize 4X8 *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize 4X8.bl
*UIConstraints: *PageSize 4X8.bl *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize 5X7
*UIConstraints: *PageSize 5X7 *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize 5X7.bl
*UIConstraints: *PageSize 5X7.bl *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize 8X10
*UIConstraints: *PageSize 8X10 *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize 8X10.bl
*UIConstraints: *PageSize 8X10.bl *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize l
*UIConstraints: *PageSize l *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize l.bl
*UIConstraints: *PageSize l.bl *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize 2l
*UIConstraints: *PageSize 2l *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize 2l.bl
*UIConstraints: *PageSize 2l.bl *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize postcard
*UIConstraints: *PageSize postcard *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize postcard.bl
*UIConstraints: *PageSize postcard.bl *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize postdbl
*UIConstraints: *PageSize postdbl *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize envelop10p
*UIConstraints: *PageSize envelop10p *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize envelopdlp
*UIConstraints: *PageSize envelopdlp *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize envj4p
*UIConstraints: *PageSize envj4p *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize envj6p
*UIConstraints: *PageSize envj6p *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize businesscard
*UIConstraints: *PageSize businesscard *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize businesscard.bl
*UIConstraints: *PageSize businesscard.bl *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize wide
*UIConstraints: *PageSize wide *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize wide.bl
*UIConstraints: *PageSize wide.bl *InputSlot cassette
*UIConstraints: *InputSlot continuous *PageSize Legal
*UIConstraints: *PageSize Legal *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize 4X6
*UIConstraints: *PageSize 4X6 *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize 4X6.bl
*UIConstraints: *PageSize 4X6.bl *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize 4X8
*UIConstraints: *PageSize 4X8 *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize 4X8.bl
*UIConstraints: *PageSize 4X8.bl *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize 5X7
*UIConstraints: *PageSize 5X7 *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize 5X7.bl
*UIConstraints: *PageSize 5X7.bl *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize 8X10
*UIConstraints: *PageSize 8X10 *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize 8X10.bl
*UIConstraints: *PageSize 8X10.bl *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize l
*UIConstraints: *PageSize l *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize l.bl
*UIConstraints: *PageSize l.bl *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize 2l
*UIConstraints: *PageSize 2l *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize 2l.bl
*UIConstraints: *PageSize 2l.bl *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize postcard
*UIConstraints: *PageSize postcard *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize postcard.bl
*UIConstraints: *PageSize postcard.bl *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize postdbl
*UIConstraints: *PageSize postdbl *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize envelop10p
*UIConstraints: *PageSize envelop10p *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize envelopdlp
*UIConstraints: *PageSize envelopdlp *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize envj4p
*UIConstraints: *PageSize envj4p *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize envj6p
*UIConstraints: *PageSize envj6p *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize businesscard
*UIConstraints: *PageSize businesscard *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize businesscard.bl
*UIConstraints: *PageSize businesscard.bl *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize wide
*UIConstraints: *PageSize wide *InputSlot continuous
*UIConstraints: *InputSlot continuous *PageSize wide.bl
*UIConstraints: *PageSize wide.bl *InputSlot continuous

*UIConstraints: *Duplex *MediaType glossygold
*UIConstraints: *MediaType glossygold *Duplex
*UIConstraints: *Duplex *MediaType proplatinum
*UIConstraints: *MediaType proplatinum *Duplex
*UIConstraints: *Duplex *MediaType semigloss
*UIConstraints: *MediaType semigloss *Duplex
*UIConstraints: *Duplex *MediaType glossypaper
*UIConstraints: *MediaType glossypaper *Duplex
*UIConstraints: *Duplex *MediaType matte
*UIConstraints: *MediaType matte *Duplex
*UIConstraints: *Duplex *MediaType envelope
*UIConstraints: *MediaType envelope *Duplex
*UIConstraints: *Duplex *MediaType ijpostcard
*UIConstraints: *MediaType ijpostcard *Duplex
*UIConstraints: *Duplex *MediaType glossypost
*UIConstraints: *MediaType glossypost *Duplex
*UIConstraints: *Duplex *MediaType highres
*UIConstraints: *MediaType highres *Duplex
*UIConstraints: *Duplex *MediaType tshirt
*UIConstraints: *MediaType tshirt *Duplex
*UIConstraints: *Duplex *MediaType otherphoto
*UIConstraints: *MediaType otherphoto *Duplex

*UIConstraints: *Duplex *PageSize Letter.bl
*UIConstraints: *PageSize Letter.bl *Duplex
*UIConstraints: *Duplex *PageSize Legal
*UIConstraints: *PageSize Legal *Duplex
*UIConstraints: *Duplex *PageSize A4.bl
*UIConstraints: *PageSize A4.bl *Duplex
*UIConstraints: *Duplex *PageSize 4X6
*UIConstraints: *PageSize 4X6 *Duplex
*UIConstraints: *Duplex *PageSize 4X6.bl
*UIConstraints: *PageSize 4X6.bl *Duplex
*UIConstraints: *Duplex *PageSize 4X8
*UIConstraints: *PageSize 4X8 *Duplex
*UIConstraints: *Duplex *PageSize 4X8.bl
*UIConstraints: *PageSize 4X8.bl *Duplex
*UIConstraints: *Duplex *PageSize 5X7
*UIConstraints: *PageSize 5X7 *Duplex
*UIConstraints: *Duplex *PageSize 5X7.bl
*UIConstraints: *PageSize 5X7.bl *Duplex
*UIConstraints: *Duplex *PageSize 8X10
*UIConstraints: *PageSize 8X10 *Duplex
*UIConstraints: *Duplex *PageSize 8X10.bl
*UIConstraints: *PageSize 8X10.bl *Duplex
*UIConstraints: *Duplex *PageSize l
*UIConstraints: *PageSize l *Duplex
*UIConstraints: *Duplex *PageSize l.bl
*UIConstraints: *PageSize l.bl *Duplex
*UIConstraints: *Duplex *PageSize 2l
*UIConstraints: *PageSize 2l *Duplex
*UIConstraints: *Duplex *PageSize 2l.bl
*UIConstraints: *PageSize 2l.bl *Duplex
*UIConstraints: *Duplex *PageSize postcard.bl
*UIConstraints: *PageSize postcard.bl *Duplex
*UIConstraints: *Duplex *PageSize postdbl
*UIConstraints: *PageSize postdbl *Duplex
*UIConstraints: *Duplex *PageSize envelop10p
*UIConstraints: *PageSize envelop10p *Duplex
*UIConstraints: *Duplex *PageSize envelopdlp
*UIConstraints: *PageSize envelopdlp *Duplex
*UIConstraints: *Duplex *PageSize envj4p
*UIConstraints: *PageSize envj4p *Duplex
*UIConstraints: *Duplex *PageSize envj6p
*UIConstraints: *PageSize envj6p *Duplex
*UIConstraints: *Duplex *PageSize businesscard
*UIConstraints: *PageSize businesscard *Duplex
*UIConstraints: *Duplex *PageSize businesscard.bl
*UIConstraints: *PageSize businesscard.bl *Duplex
*UIConstraints: *Duplex *PageSize wide
*UIConstraints: *PageSize wide *Duplex
*UIConstraints: *Duplex *PageSize wide.bl
*UIConstraints: *PageSize wide.bl *Duplex

*UIConstraints: *MediaType glossygold *InputSlot cassette
*UIConstraints: *InputSlot cassette *MediaType glossygold
*UIConstraints: *MediaType glossygold *InputSlot continuous
*UIConstraints: *InputSlot continuous *MediaType glossygold
*UIConstraints: *MediaType proplatinum *InputSlot cassette
*UIConstraints: *InputSlot cassette *MediaType proplatinum
*UIConstraints: *MediaType proplatinum *InputSlot continuous
*UIConstraints: *InputSlot continuous *MediaType proplatinum
*UIConstraints: *MediaType semigloss *InputSlot cassette
*UIConstraints: *InputSlot cassette *MediaType semigloss
*UIConstraints: *MediaType semigloss *InputSlot continuous
*UIConstraints: *InputSlot continuous *MediaType semigloss
*UIConstraints: *MediaType glossypaper *InputSlot cassette
*UIConstraints: *InputSlot cassette *MediaType glossypaper
*UIConstraints: *MediaType glossypaper *InputSlot continuous
*UIConstraints: *InputSlot continuous *MediaType glossypaper
*UIConstraints: *MediaType matte *InputSlot cassette
*UIConstraints: *InputSlot cassette *MediaType matte
*UIConstraints: *MediaType matte *InputSlot continuous
*UIConstraints: *InputSlot continuous *MediaType matte
*UIConstraints: *MediaType envelope *InputSlot cassette
*UIConstraints: *InputSlot cassette *MediaType envelope
*UIConstraints: *MediaType envelope *InputSlot continuous
*UIConstraints: *InputSlot continuous *MediaType envelope
*UIConstraints: *MediaType postcardaddress *InputSlot cassette
*UIConstraints: *InputSlot cassette *MediaType postcardaddress
*UIConstraints: *MediaType postcardaddress *InputSlot continuous
*UIConstraints: *InputSlot continuous *MediaType postcardaddress
*UIConstraints: *MediaType ijpostcard *InputSlot cassette
*UIConstraints: *InputSlot cassette *MediaType ijpostcard
*UIConstraints: *MediaType ijpostcard *InputSlot continuous
*UIConstraints: *InputSlot continuous *MediaType ijpostcard
*UIConstraints: *MediaType glossypost *InputSlot cassette
*UIConstraints: *InputSlot cassette *MediaType glossypost
*UIConstraints: *MediaType glossypost *InputSlot continuous
*UIConstraints: *InputSlot continuous *MediaType glossypost
*UIConstraints: *MediaType postcard *InputSlot cassette
*UIConstraints: *InputSlot cassette *MediaType postcard
*UIConstraints: *MediaType postcard *InputSlot continuous
*UIConstraints: *InputSlot continuous *MediaType postcard
*UIConstraints: *MediaType highres *InputSlot cassette
*UIConstraints: *InputSlot cassette *MediaType highres
*UIConstraints: *MediaType highres *InputSlot continuous
*UIConstraints: *InputSlot continuous *MediaType highres
*UIConstraints: *MediaType tshirt *InputSlot cassette
*UIConstraints: *InputSlot cassette *MediaType tshirt
*UIConstraints: *MediaType tshirt *InputSlot continuous
*UIConstraints: *InputSlot continuous *MediaType tshirt
*UIConstraints: *MediaType otherphoto *InputSlot cassette
*UIConstraints: *InputSlot cassette *MediaType otherphoto
*UIConstraints: *MediaType otherphoto *InputSlot continuous
*UIConstraints: *InputSlot continuous *MediaType otherphoto

*UIConstraints: *MediaType envelope *PageSize Letter.bl
*UIConstraints: *PageSize Letter.bl *MediaType envelope
*UIConstraints: *MediaType envelope *PageSize A4.bl
*UIConstraints: *PageSize A4.bl *MediaType envelope
*UIConstraints: *MediaType envelope *PageSize 4X6.bl
*UIConstraints: *PageSize 4X6.bl *MediaType envelope
*UIConstraints: *MediaType envelope *PageSize 4X8.bl
*UIConstraints: *PageSize 4X8.bl *MediaType envelope
*UIConstraints: *MediaType envelope *PageSize 5X7.bl
*UIConstraints: *PageSize 5X7.bl *MediaType envelope
*UIConstraints: *MediaType envelope *PageSize 8X10.bl
*UIConstraints: *PageSize 8X10.bl *MediaType envelope
*UIConstraints: *MediaType envelope *PageSize l.bl
*UIConstraints: *PageSize l.bl *MediaType envelope
*UIConstraints: *MediaType envelope *PageSize 2l.bl
*UIConstraints: *PageSize 2l.bl *MediaType envelope
*UIConstraints: *MediaType envelope *PageSize postcard.bl
*UIConstraints: *PageSize postcard.bl *MediaType envelope
*UIConstraints: *MediaType envelope *PageSize businesscard.bl
*UIConstraints: *PageSize businesscard.bl *MediaType envelope
*UIConstraints: *MediaType envelope *PageSize wide.bl
*UIConstraints: *PageSize wide.bl *MediaType envelope
*UIConstraints: *MediaType highres *PageSize Letter.bl
*UIConstraints: *PageSize Letter.bl *MediaType highres
*UIConstraints: *MediaType highres *PageSize A4.bl
*UIConstraints: *PageSize A4.bl *MediaType highres
*UIConstraints: *MediaType highres *PageSize 4X6.bl
*UIConstraints: *PageSize 4X6.bl *MediaType highres
*UIConstraints: *MediaType highres *PageSize 4X8.bl
*UIConstraints: *PageSize 4X8.bl *MediaType highres
*UIConstraints: *MediaType highres *PageSize 5X7.bl
*UIConstraints: *PageSize 5X7.bl *MediaType highres
*UIConstraints: *MediaType highres *PageSize 8X10.bl
*UIConstraints: *PageSize 8X10.bl *MediaType highres
*UIConstraints: *MediaType highres *PageSize l.bl
*UIConstraints: *PageSize l.bl *MediaType highres
*UIConstraints: *MediaType highres *PageSize 2l.bl
*UIConstraints: *PageSize 2l.bl *MediaType highres
*UIConstraints: *MediaType highres *PageSize postcard.bl
*UIConstraints: *PageSize postcard.bl *MediaType highres
*UIConstraints: *MediaType highres *PageSize businesscard.bl
*UIConstraints: *PageSize businesscard.bl *MediaType highres
*UIConstraints: *MediaType highres *PageSize wide.bl
*UIConstraints: *PageSize wide.bl *MediaType highres
*UIConstraints: *MediaType tshirt *PageSize Letter.bl
*UIConstraints: *PageSize Letter.bl *MediaType tshirt
*UIConstraints: *MediaType tshirt *PageSize A4.bl
*UIConstraints: *PageSize A4.bl *MediaType tshirt
*UIConstraints: *MediaType tshirt *PageSize 4X6.bl
*UIConstraints: *PageSize 4X6.bl *MediaType tshirt
*UIConstraints: *MediaType tshirt *PageSize 4X8.bl
*UIConstraints: *PageSize 4X8.bl *MediaType tshirt
*UIConstraints: *MediaType tshirt *PageSize 5X7.bl
*UIConstraints: *PageSize 5X7.bl *MediaType tshirt
*UIConstraints: *MediaType tshirt *PageSize 8X10.bl
*UIConstraints: *PageSize 8X10.bl *MediaType tshirt
*UIConstraints: *MediaType tshirt *PageSize l.bl
*UIConstraints: *PageSize l.bl *MediaType tshirt
*UIConstraints: *MediaType tshirt *PageSize 2l.bl
*UIConstraints: *PageSize 2l.bl *MediaType tshirt
*UIConstraints: *MediaType tshirt *PageSize postcard.bl
*UIConstraints: *PageSize postcard.bl *MediaType tshirt
*UIConstraints: *MediaType tshirt *PageSize businesscard.bl
*UIConstraints: *PageSize businesscard.bl *MediaType tshirt
*UIConstraints: *MediaType tshirt *PageSize wide.bl
*UIConstraints: *PageSize wide.bl *MediaType tshirt

*DefaultFont: Courier
*Font Courier: Standard "(001.001)" Standard ROM

*%CNPpdToOptKey PageSize --papersize
*%CNPpdToOptKey MediaType --media
*%CNPpdToOptKey InputSlot --paperload
*%CNPpdToOptKey CNCartridge --cartridge
*%CNPpdToOptKey CNQuality --quality
*%CNPpdToOptKey CNRenderIntent --renderintent
*%CNPpdToOptKey CNGamma --gamma
*%CNPpdToOptKey CNBalanceC --balance_c
*%CNPpdToOptKey CNBalanceM --balance_m
*%CNPpdToOptKey CNBalanceY --balance_y
*%CNPpdToOptKey CNDensity --density
*%CNPpdToOptKey CNGrayscale --grayscale
*%CNPpdToOptKey CNCopies --copies
*%CNPpdToOptKey Duplex --duplex
*%CNPpdToOptKey CNStapleSide --stapleside
*%CNPpdToOptKey CNContrast --contrast
*%CNPpdToOptKey CNExtension --extension


*%
*% internalversion : 3.60.01.006
*%

Back to top
View user's profile Send private message
binro
l33t
l33t


Joined: 06 May 2005
Posts: 724
Location: Bangkok, Thailand

PostPosted: Sun Sep 29, 2013 12:49 pm    Post subject: Reply with quote

I am contemplating buying a MX 457 so I thought it would be a good idea to install the drivers first. I downloaded the 3.90-1 source and also the 3.80 ebuild and patch files. I renamed the ebuild and removed the reference to 3.70-png.patch since the source file it patches now seems totally different. I ran the ebuild and it worked! However, after restarting CUPS I could see no sign of MX450. What's more the ebuild install report seemed a bit short:
Code:

>>> Installing (1 of 1) net-print/cnijfilter-3.90
 * checking 7 files for package collisions
>>> Merging net-print/cnijfilter-3.90 to /
--- /usr/
--- /usr/bin/
>>> /usr/bin/cngpij
>>> /usr/bin/cnijnetprn
--- /usr/lib64/
>>> /usr/lib64/libcnnet.so.1.2.2
>>> /usr/lib64/libcnnet.so -> libcnnet.so.1.2.2
--- /usr/libexec/
--- /usr/libexec/cups/
--- /usr/libexec/cups/backend/
>>> /usr/libexec/cups/backend/cnijnet
>>> /usr/libexec/cups/backend/cnijusb
--- /usr/libexec/cups/filter/
>>> /usr/libexec/cups/filter/pstocanonij

Shouldn't a PPD file get installed?

TIA
_________________
"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Thu Nov 28, 2013 9:16 pm    Post subject: Reply with quote

If you can't get it to work no matter what, and you're desperate... and if you have Windows running in a VM for various reasons. Using qemu-kvm, USB2 passthrough, the printer works with all the bells and whistles (including scanner and fax).

My qemu-kvm startup options to be precise (only the third line is relevant for the USB2 passthrough). You can get the ID of your printer with lsusb, in my case it's a MX375.

Code:

qemu-kvm -rtc base=localtime -display sdl -vga std -usbdevice mouse \
         -cpu host -m 2048 -drive file=/dev/HDD/windows7,cache=none,if=virtio,media=disk \
         -usb -device usb-ehci,id=ehci -device usb-host,bus=ehci.0,vendorid=0x04a9,productid=0x1759


This works so well it's actually scary. At the same time I need to print so rarely that I don't mind having to boot the VM for it.

My parents will be taking over my TurboPrint license now. Even though their Canon printer works out of the box in Ubuntu.

PS: As for Canon's Linux drivers, outside of Ubuntu [where it's plug&play once you add a certain PPA] I haven't managed to make them work anywhere. I'm too stupid for CUPS/Canon.
Back to top
View user's profile Send private message
binro
l33t
l33t


Joined: 06 May 2005
Posts: 724
Location: Bangkok, Thailand

PostPosted: Sat Nov 30, 2013 10:39 am    Post subject: Reply with quote

I installed the Canon drivers by hand and the PPD file wasn't recognised by CUPS so I shelved the whole idea. I only print boarding passes so I will struggle on with my old Canon. Although, I too have an old TurboPrint license so perhaps I will renew that.
_________________
"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
Back to top
View user's profile Send private message
mbjr
Guru
Guru


Joined: 17 Jan 2004
Posts: 531
Location: Budapest/Hungary

PostPosted: Fri Apr 18, 2014 6:24 am    Post subject: [solved pixma ip7200] Reply with quote

Apologies for my ignorance in advance, I don't have the time currently to read through the 17 pages at the moment.
Nonetheless I have had problems with getting Pixma IP7200 series to work and would like to share the solution in hope to help others running into this.

Originally what I have done:
- Tried CUPS 7500 series drivers - nothing happened of course.
- Grabbed the 3.80 drives from Canon, they look latest to date, deb2targz-d them all, restarted cups.

At this point printer was found, installed, and seemed to work until the point of trying to print.
The symptom was that printer blinked twice, and reported job done to CUPS, but obviously it wasn't done.
Debugging turned out nothing obvious unfortunately.

Then I stumbled up on a seemingly irrelevant thread (where to download cups drivers) here: https://answers.launchpad.net/ubuntu/+source/cups/+question/226171
linking to a trunk: https://launchpad.net/~michael-gruz/+archive/canon-trunk where I found the 3.90 drivers.

You can grab 3.90 drivers from here: http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu/pool/main/c/cnijfilter-common/ - this has solved printing problems for me for Canon Pixma IP7250.

Hope that helps,
_________________
mb
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6095
Location: Dallas area

PostPosted: Fri Apr 18, 2014 9:44 am    Post subject: Reply with quote

I have an mg8200 on the network, but I've been using the gutenprint drivers and they work well for me.
Not every printer is supported but if one is having trouble they might look there also.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2336
Location: Kentucky

PostPosted: Wed Apr 23, 2014 2:18 am    Post subject: Reply with quote

I have a Cannon Pixma ip100 printer, and I need to get it working on my gentoo laptop. What is the simplest way to do this? I would prefer not to have to install CUPS and all the flab and bloat that goes along with it if I can avoid it. I don't mind manually passing a file thru a filter to rasterize it, and then cat-ing the result to /dev/whatever, just so I can print the occasional document when I am on the road. I have a nice laser printer at my home office for most printing needs.
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
sinanqapudan
Apprentice
Apprentice


Joined: 26 Oct 2004
Posts: 234
Location: Milan

PostPosted: Thu May 29, 2014 1:48 pm    Post subject: Reply with quote

Hi there,

I'm trying to set-up a print server using an old p4 machine. I've installed cups (1.7.1) and tried to install the drivers for my Pixma MG6250 using rpm packages downloaded from Canon's website. Of course to no avail...

I somehow managed to make the printer available in the Cups administration interface but no printing. I also tried gutenprint drivers, but same lack of results.

Now I would like to try the solution in this thread. But it is not clear to me what steps do I have to make in order to install the 3.90 drivers. What exact files do I have to download from the trunk: https://launchpad.net/~michael-gruz/+archive/canon-trunk? And then? Simply dpkg -i them?

Thanks a lot for any help
Back to top
View user's profile Send private message
Small_Penguin
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2005
Posts: 140

PostPosted: Wed Jun 18, 2014 8:37 pm    Post subject: Reply with quote

Same problem here. After updating to cups-1.7.3, my pixma ip4300 is still recognized, but it doesn't print. LED is blinking once or twice, and cups says everything's done. Gutenprint works, but only with 300x300 dpi, and even then the borders don't seem to be correct (lower part is cut off a bit).

Anyone got cups-1.7.3 and cnijfilter-2.70 working?
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Sun Jul 20, 2014 6:01 pm    Post subject: Reply with quote

Small_Penguin wrote:
Same problem here. After updating to cups-1.7.3, my pixma ip4300 is still recognized, but it doesn't print. LED is blinking once or twice, and cups says everything's done. Gutenprint works, but only with 300x300 dpi, and even then the borders don't seem to be correct (lower part is cut off a bit).

Anyone got cups-1.7.3 and cnijfilter-2.70 working?

cnijfilter-2.70-r4 (my version of it in a local overlay, anyway) is working with cups-1.7.3 for me, but I don't have your model of Canon printer; I'm using cnijfilter-2.70-r4 with a Canon MP510.

Code:
$ eix -I net-print/cups
[I] net-print/cups
     Available versions:  1.7.1-r1^t (~)1.7.1-r2^t (~)1.7.3^t [M]**9999^t {X acl dbus debug gnutls java kerberos lprng-compat pam python selinux +ssl static-libs systemd +threads usb xinetd zeroconf ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" ELIBC="FreeBSD" LINGUAS="+ca +es +fr +it +ja +pt_BR +ru" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7"}
     Installed versions:  1.7.3^t(19:22:29 11/06/14)(X acl dbus gnutls kerberos pam ssl threads usb zeroconf -debug -java -lprng-compat -python -selinux -static-libs -systemd -xinetd ABI_MIPS="-n32 -n64 -o32" ABI_X86="64 -32 -x32" ELIBC="-FreeBSD" LINGUAS="pt_BR -ca -es -fr -it -ja -ru" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6")
     Homepage:            http://www.cups.org/
     Description:         The Common Unix Printing System

[I] net-print/cups-bjnp
     Available versions:  (~)1.1 (~)1.2.1
     Installed versions:  1.2.1(16:35:32 01/02/14)
     Homepage:            http://sourceforge.net/projects/cups-bjnp/
     Description:         CUPS backend for the canon printers using the proprietary USB over IP BJNP protocol.

[I] net-print/cups-filters
     Available versions:  [m](~)1.0.29[1] 1.0.53 (~)1.0.54 **9999 {avahi dbus +foomatic jpeg perl png static-libs tiff zeroconf}
     Installed versions:  1.0.54(20:20:21 11/06/14)(dbus foomatic jpeg png tiff zeroconf -perl -static-libs)
     Homepage:            http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdfasstandardprintjobformat
     Description:         Cups PDF filters

[I] net-print/cups-pdf
     Available versions:  2.6.1 (~)3.0_beta1 {+ppds}
     Installed versions:  3.0_beta1(16:37:17 01/02/14)(ppds)
     Homepage:            http://www.cups-pdf.de/
     Description:         Provides a virtual printer for CUPS to produce PDF files.

[1] "sabayon" /var/lib/layman/sabayon

Found 4 matches.
$ eix -I cnijfilter
[I] net-print/cnijfilter
     Available versions: 
     (2)    (~)2.70-r3^f[2] (~)2.70-r4^f[2]
     (3)    (~)3.20-r1[2]
     (0)    [m](~)3.80[1]
       {amd64 ip1800 ip2500 ip3300 ip4300 ip4700 ip90 mp160 mp250 mp270 mp490 mp510 mp550 mp560 mp600 mp640 +net nocupsdetection (+)servicetools}
     Installed versions:  2.70-r4(2)^f[2](19:19:04 22/04/14)(amd64 mp510 -ip1800 -ip2500 -ip3300 -ip4300 -ip90 -mp160 -mp600 -nocupsdetection -servicetools) 3.20-r1(3)[2](19:20:22 22/04/14)(amd64 mp560 -ip4700 -mp250 -mp270 -mp490 -mp550 -mp640 -nocupsdetection -servicetools)
     Homepage:            http://support-sg.canon-asia.com/contents/SG/EN/0100469302.html
     Description:         Canon InkJet Printer Driver for Linux (Pixus/Pixma-Series).

[1] "sabayon" /var/lib/layman/sabayon
[2] "local_overlay" /usr/local/portage


Here's the ebuild in case you want to have a go at installing it in a local overlay to see if you can get your model of printer to work:

Code:
$ cat /usr/local/portage/net-print/cnijfilter/cnijfilter-2.70-r4.ebuild
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

# Changelog since last bugzilla upload
#
# initial version
#

inherit eutils rpm flag-o-matic multilib

DESCRIPTION="Canon InkJet Printer Driver for Linux (Pixus/Pixma-Series)."
DOWNLOAD_URL="http://software.canon-europe.com/software/0027403.asp"
SRC_URI="${PN}-common-${PV}-2.src.rpm"
RESTRICT="fetch nomirror confcache"

LICENSE="UNKNOWN" # GPL-2 source and proprietary binaries

SLOT="2"
KEYWORDS="~x86 ~amd64"
IUSE="amd64
        nocupsdetection
        mp160
        mp510
        mp600
        ip90
        ip1800
        ip2500
        ip3300
        ip4300
        servicetools"

DEPEND="app-text/ghostscript-gpl
        >=net-print/cups-1.1.14
        !amd64? ( sys-libs/glibc
                >=dev-libs/popt-1.6
                >=media-libs/tiff-3.4
                >=media-libs/libpng-1.0.9 )
        amd64? ( >=app-emulation/emul-linux-x86-bjdeps-0.1
                app-emulation/emul-linux-x86-compat
                app-emulation/emul-linux-x86-baselibs )
        servicetools? ( !amd64? ( >=gnome-base/libglade-0.6
                        >=dev-libs/libxml-1.8
                        =x11-libs/gtk+-1.2* )
                amd64? ( >=app-emulation/emul-linux-x86-bjdeps-0.1
                        app-emulation/emul-linux-x86-gtklibs ) )"

# >=automake-1.6.3

# Arrays of supported Printers, there IDs and compatible models
_pruse=("mp160" "ip3300" "mp510" "ip4300" "mp600" "ip2500" "ip1800" "ip90")
_prname=(${_pruse[@]})
_prid=("291" "292" "293" "294" "295" "311" "312" "253")
_prcomp=("mp160" "ip3300" "mp510" "ip4300" "mp600" "ip2500series" "ip1800series" "ip90")
_max=$((${#_pruse[@]}-1)) # used for iterating through these arrays

###
#   Standard Ebuild-functions
###

pkg_nofetch() {
        einfo "Please download ${SRC_URI} manually from"
        einfo ${DOWNLOAD_URL}
        einfo "and move it to ${DISTDIR}"
}

pkg_setup() {
        if [ -z "$LINGUAS" ]; then    # -z tests to see if the argument is empty
                ewarn "You didn't specify 'LINGUAS' in your make.conf. Assuming"
                ewarn "english localisation, i.e. 'LINGUAS=\"en\"'."
                LINGUAS="en"
        fi
        if (use amd64 && use servicetools); then
                eerror "You can't build this package with 'servicetools' on amd64,"
                eerror "because you would need to compile '>=gnome-base/libglade-0.6'"
                eerror "and '>=dev-libs/libxml-1.8' with 'export ABI=x86' first."
                eerror "That's exactly what 'emul-linux-x86-bjdeps-0.1' does with"
                eerror "'dev-libs/popt-1.6'. I encourage you to adapt this ebuild"
                eerror "to build 32bit versions of 'libxml' and 'libglade' too!"
                die "servicetools not yet available on amd64"
        fi

        use amd64 && multilib_toolchain_setup x86

        _prefix="/usr/local"
        _bindir="/usr/local/bin"
        _libdir="/usr/$(get_libdir)" # either lib or lib32
        _cupsdir1="/usr/lib/cups"
        _cupsdir2="/usr/libexec/cups"
        _ppddir="/usr/share/cups/model"

        einfo ""
        einfo " USE-flags       (description / probably compatible printers)"
        einfo ""
        einfo " amd64           (basic support for this architecture - currently without servicetools)"
        einfo " servicetools    (additional monitoring and maintenance software)"
        einfo " nocupsdetection (this is only useful to create binary packages)"
        _autochoose="true"
        for i in `seq 0 ${_max}`; do
                einfo " ${_pruse[$i]}\t${_prcomp[$i]}"
                if (use ${_pruse[$i]}); then
                        _autochoose="false"
                fi
        done
        einfo ""
        if (${_autochoose}); then
                ewarn "You didn't specify any driver model (set it's USE-flag)."
                einfo ""
                einfo "As example:\tbasic MP160 support without maintenance tools"
                einfo "\t\t -> USE=\"mp160\""
                einfo ""
                einfo "Press Ctrl+C to abort"
                echo
                ebeep

                n=15
                while [[ $n -gt 0 ]]; do
                        echo -en "  Waiting $n seconds...\r"
                        sleep 1
                        (( n-- ))
                done
        fi
}

src_unpack() {
        rpm_src_unpack || die
        mv ${PN}-common-${PV} ${P} || die # Correcting directory-structure
        einfo "Patching"
        epatch ${FILESDIR}/cnijfilter-common-2.70-1.patch || die
        epatch ${FILESDIR}/cnijfilter-2.70-png_jmpbuf-fix.patch || die
}

src_compile() {
        cd libs || die
        ./autogen.sh --prefix=${_prefix} || die "Error: libs/autoconf.sh failed"
        make || die "Couldn't make libs"

        cd ../pstocanonij || die
        ./autogen.sh --prefix=/usr --enable-progpath=${_bindir} || die "Error: pstocanonij/autoconf.sh failed"
        make || die "Couldn't make pstocanonij"

        if use servicetools; then
                cd ../cngpij || die
                ./autogen.sh --prefix=${_prefix} --enable-progpath=${_bindir} || die "Error: cngpij/autoconf.sh failed"
                make || die "Couldn't make cngpij"

                cd ../cngpijmon || die
                ./autogen.sh --prefix=${_prefix} || die "Error: cngpijmon/autoconf.sh failed"
                make || die "Couldn't make cngpijmon"
        fi

        cd ..

        for i in `seq 0 ${_max}`; do
                if use ${_pruse[$i]} || ${_autochoose}; then
                        _pr=${_prname[$i]} _prid=${_prid[$i]}
                        src_compile_pr;
                fi
        done
}

src_install() {
        mkdir -p ${D}${_bindir} || die
        mkdir -p ${D}${_libdir}/cups/filter || die
        mkdir -p ${D}${_ppddir} || die
        mkdir -p ${D}${_libdir}/cnijlib || die

        cd libs || die
        make DESTDIR=${D} install || die "Couldn't make install libs"

        cd ../pstocanonij || die
        make DESTDIR=${D} install || die "Couldn't make install pstocanoncnij"

        if use servicetools; then
                cd ../cngpij || die
                make DESTDIR=${D} install || die "Couldn't make install cngpij"

                cd ../cngpijmon || die
                make DESTDIR=${D} install || die "Couldn't make install cngpijmon"
        fi

        cd ..

        for i in `seq 0 ${_max}`; do
                if use ${_pruse[$i]} || ${_autochoose}; then
                        _pr=${_prname[$i]} _prid=${_prid[$i]}
                        src_install_pr;
                fi
        done

        # fix directory structure
        if use nocupsdetection; then
                mkdir -p ${D}${_cupsdir2}/filter || die
                dosym ${_cupsdir1}/filter/pstocanonij ${_cupsdir2}/filter/pstocanonij
        elif has_version ">=net-print/cups-1.2.0"; then
                mkdir -p ${D}${_cupsdir2} || die
                mv ${D}${_cupsdir1}/* ${D}${_cupsdir2} || die
        fi
}

pkg_postinst() {
        einfo ""
        einfo "For installing a printer:"
        einfo " * Restart CUPS: /etc/init.d/cupsd restart"
        einfo " * Go to http://127.0.0.1:631/"
        einfo "   -> Printers -> Add Printer"
        einfo ""
        einfo "If you experience any problems, please visit:"
        einfo " http://forums.gentoo.org/viewtopic-p-3217721.html"
        einfo ""
}

###
#       Custom Helper Functions
###

src_compile_pr()
{
        mkdir ${_pr}
        cp -a ${_prid} ${_pr} || die
        cp -a cnijfilter ${_pr} || die
        cp -a printui ${_pr} || die
#       cp -a stsmon ${_pr} || die

        sleep 10
        cd ${_pr}/cnijfilter || die
        ./autogen.sh --prefix=${_prefix} --program-suffix=${_pr} --enable-libpath=${_libdir}/cnijlib --enable-binpath=${_bindir} || die
        make || die "Couldn't make ${_pr}/cnijfilter"

        if use servicetools; then
                cd ../printui || die
                ./autogen.sh --prefix=${_prefix} --program-suffix=${_pr} || die
                make || die "Couldn't make ${_pr}/printui"

#               cd ../stsmon || die
#               ./autogen.sh --prefix=${_prefix} --program-suffix=${_pr} --enable-progpath=${_bindir} || die
#               make || die "Couldn't make ${_pr}/stsmon"
        fi

        cd ../..
}

src_install_pr()
{
        cd ${_pr}/cnijfilter || die
        make DESTDIR=${D} install || die "Couldn't make install ${_pr}/cnijfilter"

        if use servicetools; then
                cd ../printui || die
                make DESTDIR=${D} install || die "Couldn't make install ${_pr}/printui"

#               cd ../stsmon || die
#               make DESTDIR=${D} install || die "Couldn't make install ${_pr}/stsmon"
        fi

        cd ../..
        cp -a ${_prid}/libs_bin/* ${D}${_libdir} || die
        cp -a ${_prid}/database/* ${D}${_libdir}/cnijlib || die
        cp -a ppd/canon${_pr}.ppd ${D}${_ppddir} || die
}

I also need to have app-emulation/emul-linux-x86-bjdeps-0.1-r4 installed in a local overlay for it to work:

Code:
$ eix -I deps
[I] app-emulation/emul-linux-x86-bjdeps [1]
     Available versions:  (~)0.1-r2 (~)0.1-r3 (~)0.1-r4
     Installed versions:  0.1-r4(11:45:29 02/03/13)
     Homepage:            http://rpm5.org/
     Description:         32bit nls-disabled dev-libs/popt-1.16

[1] "local_overlay" /usr/local/portage

Here is the ebuild for that too:

Code:
$ cat /usr/local/portage/app-emulation/emul-linux-x86-bjdeps/emul-linux-x86-bjdeps-0.1-r4.ebuild
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit libtool eutils flag-o-matic autotools multilib

DESCRIPTION="32bit nls-disabled dev-libs/popt-1.16"
HOMEPAGE="http://rpm5.org/"
SRC_URI="http://rpm5.org/files/popt/popt-1.16.tar.gz"
RESTRICT="confcache"

WANT_AUTOMAKE="1.6"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=""
RDEPEND=""

pkg_setup() {
        multilib_toolchain_setup x86
}

src_unpack() {
        unpack ${A}

        cd ${WORKDIR}
        mkdir ${P} # this way portage won't complain about missing directories

        cd "${WORKDIR}/popt-1.16" || die
        epatch "${FILESDIR}"/fix-popt-pkgconfig-libdir.patch
}

src_compile() {
        cd "${WORKDIR}/popt-1.16" || die
        econf "--libdir=/usr/lib32" || die "configure failed"
        emake || die "emake failed"
}

src_install() {
        cd "${WORKDIR}/popt-1.16" || die
        emake install DESTDIR="${D}" || die
        # Don't install anything except the library itself
        rm -Rv ${D}/usr/share || die
        rm -Rv ${D}/usr/include || die
}

_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 16, 17, 18, 19, 20  Next
Page 17 of 20

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum