[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.8

Unable to export Windows drivers from CUPS to Samba on FreeBSD 7.2 server

Asked by breakingthelaw in Linux Printing, Samba File Sharing, FreeBSD

Tags: CUPS, Samba, PPD file

Hi,

A few days ago I installed Samba 3.3.8  (file server + PDC)  and print server (CUPS 1.3.10) on a FreeBSD 7.2 machine.
File service and PDC works ok.
I can print from CUPS web inteface directly.
I successfully added the printer to one of my Windows workstations but I had to supply the driver manually.
At the moment I wish to create a printer driver share but the cupsaddsmb refuses to:

myserver# cupsaddsmb -U root -a -v
cupsaddsmb: No PPD file for printer "hplj6l" - Missing double quote on line 224!

Now, hplj6l is how I named my HP LaserJet 6L printer in CUPS. I installed it using a ppd file from linuxprinting.org (HP-LaserJet_6L-lj4dith.ppd). CUPS also seems to have put a file named hplj6l.ppd in /usr/local/etc/cups/ppd/hplj6l.ppd. I tried to run cupstestppd against the two files but they pass ok.
Tried to add the two files and hplj6p_4.ppd (a file from Windows driver cab) to /usr/local/share/cups/model, but no effect.

I made sure I have the following lines in /usr/local/etc/smb.conf (as suggested in cupsaddsmb man page):
[globals]
(...)
load printers = yes
printing = cups
printcap name = cups

[printers]
         comment = All Printers
         path = /var/spool/samba
         guest ok = Yes
         printable = Yes
         browseable = Yes
         public = Yes

 [print$]
         comment = Printer Drivers
         path = /usr/local/share/cups/drivers
         write list = root, alnis
         guest ok = Yes
         browseable = Yes
         write list = root
         read only = yes

And I have these files in /usr/local/share/cups/drivers:

cups6.inf                       hplj__31.ppd
cups6.ini                       hpljps1.ini
cupsps6.dll                     hpprn02.dll
cupsui6.dll                     lj456ps.inf
hp-laserjet_6l-lj4dith.ppd      pcl4res.dll
hplj4mv1.ppd                    pcl5eres.dll
hplj5m_4.ppd                    pcl5ures.dll
hplj5p_1.ppd                    pcleures.dll
hplj5si1.ppd                    pclxl.dll
hplj5sim.ppd                    ps5ui.dll
hplj6p_4.ppd                    pscript.hlp
hplj_3d1.ppd                    pscript.ntf
hplj_3p1.ppd                    pscript5.dll

What causes the strange error or how can I work around it?
[+][-]11/10/09 08:25 AM, ID: 25786928Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Linux Printing, Samba File Sharing, FreeBSD
Tags: CUPS, Samba, PPD file
Sign Up Now!
Solution Provided By: noci
Participating Experts: 1
Solution Grade: A
 
[+][-]11/09/09 04:47 AM, ID: 25775370Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/09/09 05:31 AM, ID: 25775703Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/09/09 08:24 AM, ID: 25777335Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/10/09 12:30 AM, ID: 25783395Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/10/09 12:49 AM, ID: 25783474Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/10/09 01:20 AM, ID: 25783667Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/12/09 12:18 AM, ID: 25802351Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625