Packaging up Canon Drivers

abz_mungul
New Contributor III

Hi

I was wondering if anyone has experienced this issue

I'm basically creating a package for our new Canon printer (Canon C5045) on
OSX 10.6.6

I find that when I manually install the drivers and add the print queue all
is fine and works correctly.

But the moment that I used Composer to create a snapshot of this (i've tried
a normal snapshot and a New & modified Snapshot) and deploy this to a
machine running Snow Leopard. I get the following error

"The printer software was installed incorrectly. Please reinstall the
printer’s software or contact the manufacturer for assistance."

Can anyone help at all?

Thanks

Abz

-- Los Angeles · Detroit · Toronto · New York · London · Cologne · Stockholm ·
Singapore · Hong Kong · Shanghai · Tokyo · Sydney

Imagination · London
25 Store Street South Crescent, London WC1E 7BL, United Kingdom
Tel +44 20 7323 3300 Fax +44 20 7462 2837
www.imagination.com

24 REPLIES 24

jwojda
Valued Contributor II

Strangely enough, we just deployed 5050's and 5045's here.

We also have that same problem, but it doesn't happen to all of them...
only about 1/3 of the systems. I haven't looked too much into it, but
basically I just go back into the printer setup and re-assign the driver
and setup the finishers...once I do that it works.

John Wojda

Lead System Engineer, DEI

3333 Beverly Rd. B2-338B

Hoffman Estates, IL 60179

Phone: (847)286-7855

Page: (224)532.3447

Team Lead: Matt Beiriger
<mailto:mbeirig at searshc.com;jwojda at searshc.com?subject=John%20Wojda%20Fe
edback&body=I%20am%20contacting%20you%20regarding%20John%20Wojda.>

Mac Tip/Tricks/Self Service & Support <http://bit.ly/gMa7TB>

lance_ogletree
Contributor

If the printer installer from Canon is in the form of an Apple pkg installer, then bypass snapshotting with Composer and drop the installer straight into Casper Admin for deployment via policy.

-Lance
--
Lance Ogletree
JAMF Software
Systems Engineer
Mobile: (972) 342-5990
Direct: (972) 547-9566
lance.ogletree at jamfsoftware.com<mailto:lance.ogletree at jamfsoftware.com>

abz_mungul
New Contributor III

I thought it was me doing something stupids, its good to know that that
problem is not only with the package I created.

I've tried your suggestion of going through the setup again but it does not
work

tomt
Valued Contributor

When I've seen issues like this with Xerox's drivers under Snow Leopard it
was due to some pieces not being owned by Root. Check the ownership of the
files in your source package in Composer.

Tom
-------------------------------------------------------------------
'The bitterness of low quality lingers long after
the sweetness of low price has passed.'
------------------------------------------------------------------

yr_joelbruner
New Contributor III

This was for an iPF8000, but after installing the various PPDs, CMMs, cups
backend, etc.. I had to make sure a couple directories existed (as standard
users couldn't create them), and one of them was wide open (the driver would
create a file inside):

#PrinterInfo won't exist nor it's child directory
mkdir -p /Library/Printers/Canon/GARO/PrinterInfo/MCD_LPR
#open up access
chmod -R ugo=rwx /Library/Printers/Canon/GARO/PrinterInfo

After installing the driver, adding the printer went like this... this is
what the Canon installer app would do:

IP=xxx.xxx.xxx.xxx
lpadmin -p iPF8000 -E -v garobe://$IP/?ip -P
/Library/Printers/PPDs/Contents/Resources/CN8000.ppd.gz -D iPF8000 -o
printer-is-shared=false
cp /Library/Printers/Canon/GARO/PrinterInfo.plist
/Library/Printers/Canon/GARO/PrinterInfo/MCD_LPR/$IP
chmod 777 /Library/Printers/Canon/GARO/PrinterInfo/MCD_LPR/$IP

Why Canon wants you to jump through hoops like this is beyond me!
Good luck!
-- Joel Bruner
Creative Technology Specialist
Y&R Brands
233 N. Michigan Ave. Ste 1500
Chicago, IL 60601

Mac Helpdesk: 312-596-2757
Direct: 312-596-2747

abz_mungul
New Contributor III

Thanks Tom

Will have a look at this, I've spoken to Canon and they are going to send me
an updated driver. Hopefully that should do the trick

Abz

Not applicable

Thanks for this discussion. I thought I was the only person who could not
deploy Canon printers.

--
Karl Schoenefeld | IT Department
SGS St Louis | 1035 Hanley Industrial Court | St Louis, MO 63144
Direct: 314-918-3126 | Cell: 314-680-0359

jarednichols
Honored Contributor

One thing you can do is capture the printer being added and then in the
cups config find the lines that correspond to it. You could have a post
deployment script that stops cups, concatenate it to the end of the cups
config file, then start cups again.

This way the entire cups config won't get blown away with the snapshot you
made of it.

j
-- Jared F. Nichols
Desktop Engineer, Client Services
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436

abz_mungul
New Contributor III

Im installing an iPF8300 what i find is that I can't actually take a
snapshot using composer because the drivers provided by Canon automatically
"kill" any apps open

How did you go about creating a package?

can you bring it down for me please?

Thanks

Abz

Not applicable

Composer saves its snapshots, even if the computer is restarted. You should be able to start it back up and resume the process. (Though you'll probably find more unrelated files than you would otherwise.)

This is definitely a big problem with the installer, and someone needs to complain to Canon about it. No operating system deems this behavior acceptable, not even Windows.

abz_mungul
New Contributor III

Hi

I've resumed the snapshot, but unfortunately still getting the same problem
of

"The printer software was installed incorrectly. Please reinstall the
printer's software or contact the manufacturer for assistance"

I'm going to try a few more tweaks if it doesnt work I'll need to just
install this manually on each machine

Thanks for your help!

Abz

bentoms
Release Candidate Programs Tester

yep they suck..

they use VISE installers.

A new+modified snapshot has worked for me with mixed results for CLC3220's.

abz_mungul
New Contributor III

I'll give that a try tomorrow, quite frustrating.

I actually have Canon UK onsite so, hopefully they give me a work around.

I'll post any news here for anyone interested

Thanks

Abz

donmontalvo
Esteemed Contributor III

Yea, in this case might be Mindvision. Anything that's not pkg/mpkg format is a clear indicator the vendor needs to get some heat/pressure to get their development team up to speed on proper Mac packaging.

The problem with snapshots is that in cases like EFI/CREO drivers (and some others), CUPS files are written to...where the snapshot would indicate only that existing files were modified. So if you're not careful you'll overwrite CUPS config files where ya really need to be appending to...

Don

Ben Toms bentoms at btopenworld.com

--
https://donmontalvo.com

bentoms
Release Candidate Programs Tester

Clear Composer's exceptions then try.

Regards,

Ben.

jszaszvari
New Contributor III

I assume this is just a cannon thing?

Iv successfully packaged up Dell, Konica and HP print drivers all within the last few weeks.

What’s so different about the cannon drivers?

-John

yr_joelbruner
New Contributor III

I probably used logGen from the University of Michigan folks, a perl script
On 4/7/11 5:42 AM, "Abdurrahman Mungul" <abdurrahman.mungul at imagination.com> wrote:
that indexes EVERY file before then you run after and it'll make a diff
file, I may have also used Rixstep's Tracker which does the same thing only
faster (loggen does checksums and other check, Tracker simply uses Unix
timestamps), I might have also used Fseventer during the printer add app to
see what it did. Tracker and logGen are both able to handle being quit then
resuming later, FSEventer could be used by ssh'ing into the target machine
and running from a console, the trick for FSEventer is to run the command
line tool as root and pipe the output to a file to look at later (you can
look at it realtime if you want too), the syntax is like this: sudo
./fseventer.app/Contents/Resources/fetool > ~/myFile.txt

That's the nitty gritty... Now I'll help you cheat ;)

Since having done the iPF8000 repackage job, these are the main files and
folders:
/usr/libexec/cups/backend/garobe
/Library/Printers/PPDs/Contents/Resources/CN.ppd.gz
/Library/Printers/Canon/GARO
/Library/ColorSync/CMMs/ColorGearCMM.cmm
/Library/ColorSync/Profiles/sRGB v1.20 (Canon)
/Library/ColorSync/Profiles/CN
.icc

Then in postflight make sure to do the things to printer add app does:

#PrinterInfo won't exist nor it's child directory
mkdir -p /Library/Printers/Canon/GARO/PrinterInfo/MCD_LPR
#open up access
chmod -R ugo=rwx /Library/Printers/Canon/GARO/PrinterInfo

IP=xxx.xxx.xxx.xxx
lpadmin -p iPF8000 -E -v garobe://$IP/?ip -P
/Library/Printers/PPDs/Contents/Resources/CN8000.ppd.gz -D iPF8000 -o
printer-is-shared=false
#copy plist with IP of printer
cp /Library/Printers/Canon/GARO/PrinterInfo.plist
/Library/Printers/Canon/GARO/PrinterInfo/MCD_LPR/$IP
#allow global access
chmod 777 /Library/Printers/Canon/GARO/PrinterInfo/MCD_LPR/$IP

-- Joel Bruner
Creative Technology Specialist
Y&R Brands
233 N. Michigan Ave. Ste 1500
Chicago, IL 60601

Mac Helpdesk: 312-596-2757
Direct: 312-596-2747

bentoms
Release Candidate Programs Tester

It's just the way they use vise installers NOT pkg.

I had a similar issue with an epson driver a while ago.

Regards,

Ben.

abz_mungul
New Contributor III

I've spoken to one of the guys at Canon, and they are pretty confident they
can create a package for me. Hopefully this is the case...because a manually
roll out to 160 macs...is going to be painful!

abz_mungul
New Contributor III

I'm going to give this a go! and report back

Thanks

Abz

2011/4/7 Nichols, Jared - 1170 - MITLL <jared.nichols at ll.mit.edu>

-- Los Angeles · Detroit · Toronto · New York · London · Cologne · Stockholm ·
Singapore · Hong Kong · Shanghai · Tokyo · Sydney

Imagination · London
25 Store Street South Crescent, London WC1E 7BL, United Kingdom
Tel +44 20 7323 3300 Fax +44 20 7462 2837
www.imagination.com

abz_mungul
New Contributor III

will give that a go

Thanks

Abz

abz_mungul
New Contributor III

Thanks Joel

Much appreciated

A

donmontalvo
Esteemed Contributor III

I remember a couple years ago our CLC4000 printers were almost up on lease. We wanted to upgrade to the CLC7000, and for leverage we pressed the integrator for proper PKG format installers for their EFI/CREO rips. I ended up working with an EFI engineer (remotely) to review what was needed, and after a few back and forth sessions, we ended up with proper PKG format installers that included postflight script to add the printer to the user's printers list.

The only thing that had to be done manually was to configure the (many!) rip settings on the user workstation...we provided an illustrated PDF to the users. If the users had a problem following the steps, they called Helpdesk for some hand holding. Roughly 600 users...very few issues from our side after the push.

Don

--
https://donmontalvo.com

abz_mungul
New Contributor III

Hi Don

I'll ask Canon if they can provide me with the PKG files

hopefully they will