Results 1 to 4 of 4

Thread: Print to a printer without driver in Linux

  1. #1
    Join Date
    Aug 2013
    Posts
    7
    Thanks
    2
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Print to a printer without driver in Linux

    Hi guys,

    We developed a Qt application which deployed on Linux. Now we want to print to a printer which doesn't have driver on Linux but have on Windows.
    My question is how we can print to the printer directly?

    Thanks in advance.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Print to a printer without driver in Linux

    Not sure what you are asking about. If you can't install the printer on Linux you will have to provide a way to move the document you want to print from Linux to Windows. One way is to print to pdf and then copy it to Windows where you can print it. Another way is to deploy a helper application (e.g.a print server that accepts documents over http) on Windows which will accept the document and print it for you automatically.

    Other than that, install the printer on the Linux machine, there probably exist solutions which can share a generic print queue on Windows and you should be able to use that.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Aug 2013
    Posts
    7
    Thanks
    2
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Re: Print to a printer without driver in Linux

    Quote Originally Posted by wysota View Post
    Not sure what you are asking about. If you can't install the printer on Linux you will have to provide a way to move the document you want to print from Linux to Windows. One way is to print to pdf and then copy it to Windows where you can print it. Another way is to deploy a helper application (e.g.a print server that accepts documents over http) on Windows which will accept the document and print it for you automatically.

    Other than that, install the printer on the Linux machine, there probably exist solutions which can share a generic print queue on Windows and you should be able to use that.
    The problem is there is no drivers for our printer on Linux machine, so cannot install it on Linux.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Print to a printer without driver in Linux

    Quote Originally Posted by seauniv View Post
    The problem is there is no drivers for our printer on Linux machine, so cannot install it on Linux.
    Read my post again, install the printer on Windows and share it with the Linux box using one of the methods I described.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. How to print(with the printer) a QML object ?
    By slimittn in forum Qt Quick
    Replies: 0
    Last Post: 28th May 2013, 13:52
  2. Print on dot matrix printer - very low performace
    By porterneon in forum Qt Programming
    Replies: 4
    Last Post: 18th October 2012, 23:51
  3. How to print text file to printer ?
    By d_stranz in forum Qt Programming
    Replies: 5
    Last Post: 11th July 2012, 16:47
  4. How to print pdf file on Printer in windows
    By lekhrajdeshmukh in forum Qt Programming
    Replies: 9
    Last Post: 30th November 2011, 16:36
  5. How to print textDocument on virtual printer?
    By mSergey in forum Qt Programming
    Replies: 8
    Last Post: 17th January 2008, 13:49

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.