Is it possible to use a printer attached to Windows Print Server, to print documents from Ubuntu, if Ubuntu does not have drivers for that kind of printer (but the Windows Print Server has)?

I have a label printer (Carl Valentin Compa II) and unfortunately they do not provide any Linux drivers, only Windows. I even wrote them and asked, and they replied they don't (and, sure to say, I won't be buying CV printers anymore).

I looked at a number of proposed solutions, and I can add LPD option to Windows print server using Print Services for Unix, and even send the job to it via CUPS (using Generic PostScript Printer Foomatic/Postscript (recommended) driver), but the job only appears for a moment in WPS queue, and then disappears without an error. Here is the last message that is logged about it:

Log Name:      Microsoft-Windows-PrintService/Operational
Source:        Microsoft-Windows-PrintService
Date:          25.06.2018. 17:08:08
Event ID:      307
Task Category: Printing a document
Level:         Information
Keywords:      Classic Spooler Event,Document Print Job
User:          SYSTEM
Computer:      ZZZZZ
Document 11, Print Document owned by XXXX (192.168.XXXX) on \\ZZZZZ was printed on Compa II 106/12 (11.nol) through port 192.168.YYY.  Size in bytes: 172098. Pages printed: 0. No user action is required.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <Provider Name="Microsoft-Windows-PrintService" Guid="{747EF6FD-E535-4D16-B510-42C90F6873A1}" />
    <TimeCreated SystemTime="2018-06-25T14:08:08.240491800Z" />
    <Correlation />
    <Execution ProcessID="1084" ThreadID="3492" />
    <Security UserID="S-1-5-18" />
    <DocumentPrinted xmlns="http://manifests.microsoft.com/win/2005/08/windows/printing/spooler/core/events">
      <Param2>Print Document</Param2>
      <Param3>XXXX (192.168.100.XXXX)</Param3>
      <Param5>Compa II 106/12 (11.nol)</Param5>

As you can see, for some reason it says 0 pages printed. The document was a simple 1 line txt file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.