real_sm

Q: Unable to print to shared Windows printer.

Hello.

 

We have a small network that consists of 3 workstations:

 

1. Windows 8.1 Pro 32 bit PC with Canon LBP 6020 printer connected to USB and shared to network.

2. Windows 7 Pro SP1 32 bit notebook.

3. MacBook with macOS 10.11 El Capitan installed.

 

2 and 3 use the shared Canon printer connected to 1. Though, MacBook (3) is unable to print after the update to macOS 10.11. The print task freezes in queue with "Sending print data" status. On the Windows 8.1 PC we also have a task in queue freezed with "Putting in queue" (it's the translation) status with size of 62 bytes.

 

What I've tried already:

1. Disabling antivirus and firewall on Windows 8.1 PC.

2. Updating Canon driver on macOS to 3.87.

3. Resetting print system on macOS.

4. Adding the printer manually using the smb://user:pass@ip/LBP6020 URI.

5. Adding the printer manually using the lpd://ip/LBP6020 URI - from the "Printers & Scanners" and from CUPS web-interface - the result is the same and it's weird: the URI automatically changes to cnbma://localhost:59687 and obviously doesn't print to LPD.
6. Connecting the printer to MacBook directly by USB - it works like a charm out of the box, but MacBook is not always in the office, so Windows 8.1 PC should be the print server.


Please help me fix this issue so it will be possible to print from MacBook again.

MacBook, OS X El Capitan (10.11)

Posted on Aug 9, 2016 3:54 PM

Close

Q: Unable to print to shared Windows printer.

  • All replies
  • Helpful answers

  • by PAHU,

    PAHU PAHU Aug 9, 2016 6:29 PM in response to real_sm
    Level 6 (16,610 points)
    Aug 9, 2016 6:29 PM in response to real_sm

    The Canon CAPT driver relies on a file called ccpd.conf that resides in /Library/Caches/Canon/CUPSCAPT/CCPD. This text file lists the destination path to the printer, such as net:10.10.63.01 for a network connection or usb://Canon/LBP6020?serial=001E8Fxxxxxx for a USB connection. Note that the URI shown in point 5 is correct. The CAPT software refers to the ccpd.conf file to do the redirection from that port.

     

    So I expect that the file is currently not showing the correct syntax for the SMB connection. You could open the file in TextEdit to see what is listed. You will have one entry for the USB connection you mention at point 6. And there will also be the connection for the Windows share. I would make a note of this path - or even make a copy of this file. Then trash it and then remove the LBP6020 in Printers & Scanners for the SMB connection. Then restart the MacBook and add the printer again, using the Add > Windows facility in Printers & Scanners. This should create a new ccpd.conf file and if you check it, it should look different to the previous version.

  • by real_sm,

    real_sm real_sm Aug 10, 2016 7:30 AM in response to PAHU
    Level 1 (4 points)
    Mac OS X
    Aug 10, 2016 7:30 AM in response to PAHU

    I again tried several things. Every time I ate ginger to clear flavor reset print system before each try:

     

    1. Added printer using LPD. ccpd.conf showed something like this:

     

    <Printer LBP6020>

    DevicePath net:172.16.0.2

    </Printer>

     

    Printing didn't work. Canon print monitor showed network connection error. I suppose the reason is that CAPT uses bidirectional data exchange, which cannot be used with LPD. How do I turn off the bidirectional data exchange for CAPT printer in macOS?

     

    2. Added printer using SMB. ccpd.conf didn't have the <Printer> section at all, though ccpd.conf file did change after I added the new printer. I don't think that ccpd.conf somehow affects smb printing, because even when there was no <Printer> section, it did start printing and created again a 62-byte task in queue on Windows 8.1 PC.

     

    So, now I still have 2 questions:

     

    1. How do I turn off the bidirectional data exchange when I set the printer by LPD?

    2. How do I fix printing through SMB?

     

    Can someone please answer at least one of these questions?