IMPRINTS: mkprintpkg.pl unable to expand microsoft cab file
Errol.Fouquet at mms.gov
Tue Mar 27 20:14:03 GMT 2001
Perhaps you could help me with a problem building a Samba print package.
I've downloaded the drivers files I need from HP. I run the appropriate
mkprintpkg.pl command, but it dies with the following output:
[root at tux designjet]# /usr/local/imprints/bin/mkprintpkg.pl
--display-name="HP DesignJet 1050c" -d "HP DesignJet 1050C by HP"
Display Name: HP DesignJet 1050c
Using archive pl132en.exe for files.
Using file OEMSETUP.INF for INF information.
Architecture: Windows NT X86 (detected from INF)
Manufacturer: HP (detected from INF)
Model: HP DesignJet 1050C by HP
magic1 = 4643534d
/tmp/file4TJ9Cj/hpltcol1.ex_: not a MS-compressed file
ERROR: Unable to expand `/tmp/file4TJ9Cj/hpltcol1.ex_' to package.
The "magic1 = 4643534d" was some debugging output I added. If I expand
pl132.exe to a directory and do a "file hpltcol1.ex_" it appears to be a
"Microsoft CAB file".
Errol Fouquet - UNIX SysAdmin
Minerals Management Service, DOI
1201 Elmwood Park Blvd.
New Orleans, LA 70123
Phone: (504) 736-3255
Fax: (504) 736-2464
email: errol.fouquet at mms.gov
From: Gerald Carter [mailto:gcarter at valinux.com]
Sent: Tuesday, March 27, 2001 9:08 AM
To: Fouquet, Errol
Cc: 'Jeremy Allison'; 'samba-ntdom'; 'samba'
Subject: Re: Samba 2.2 print driver setup
On Tue, 27 Mar 2001, Fouquet, Errol wrote:
> Will there be any methodology available in 2.2 for installing print
> drivers without browsing to the PRINT$ share from a W2K/NT box? I've
> got about 180 printers (at least 30 different models) shared and I'm
> encountering some difficulties in installing drivers.
You can automate print driver installs using smbclient and
rpcclient. See http://imprints.sourceforge.net for examples.
The installation client here is simply a perl script wrapper
I'm also planning on working on a setdriver command for
rpcclient to set the printer driver for an existing printer
(using a previously installed driver).
However, as of yet I have not designed an automated way of
migrating printers.def into the new setup for 2.2.
/\ Gerald (Jerry) Carter Professional Services
\/ http://www.valinux.com/ VA Linux Systems gcarter at valinux.com
http://www.samba.org/ SAMBA Team jerry at samba.org
http://www.plainjoe.org/ jerry at plainjoe.org
"...a hundred billion castaways looking for a home."
- Sting "Message in a Bottle" ( 1979 )
More information about the samba-ntdom