Author Topic: Can I setup CUPS server to print while spooling?  (Read 458 times)

0 Members and 1 Guest are viewing this topic.

Offline swampdog2002

  • Jr. Member
  • **
  • Posts: 1
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Can I setup CUPS server to print while spooling?
« on: February 05, 2018, 06:03:35 pm »
I have a Ubuntu 16.04.3 server machine setup as a print server to Windows-based client computers. I have three HP M806 printers setup through CUPS that the Windows computers can map to. I am able to print through the Ubuntu print server, however all jobs have to be entirely spooled first before the job begins to print. Previously, we had a Windows Server 2012 print server that allowed the jobs to print almost immediately after being sent to the printers, without having to wait for the job to spool completely first. I am looking to achieve similar results with the Ubuntu printer server.

I have done some research, and have tried the following, all to no avail:

In the CUPS configuration at /etc/cups/printers.conf, have set up IPP printing, where the IP address of the printer is 192.168.1.50, and the queue name is HP05:
Code: [Select]
DeviceURI ipp://192.168.1.50:631/printers/HP05/?waitprinter=false&waitjob=false
The parameters waitprinter=false and waitjob=false are supposed to achieve what I am trying to do, based on other info I found on the web and other posts in other forums. However, the jobs sent from the Windows clients still need to spool on the Ubuntu server before any printing takes place. We have tried numerous drivers for the HP printers, such as PCL5 and PCL6, and looked at the configurations for each one, but nothing has stood out yet as to doing what we want it to do. Anyone have any suggestions that might help us here?

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17657
  • Karma: 456
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Can I setup CUPS server to print while spooling?
« Reply #1 on: February 10, 2018, 12:05:41 am »
First let me explain I'm just guessing here and have no experience doing what you're attempting....

Wouldn't those parameters need to tagged onto the Windows machines print address ?

If you scroll pretty much to the bottom of this page:
https://help.ubuntu.com/community/NetworkPrintingWithUbuntu

it suggests:-

Code: [Select]
Tips: You can avoid intermediate SAMBA buffer using direct connection to CUPS/IPP Ubuntu server from Windows workstation.
You should manually specify "http://hostname:631/printers/MyPrinter" IPP URL and select printer driver.
(it was the "direct connection to CUPS/IPP" that caught my eye)

So maybe you'd enter the IPP URL including the extra parameters there ? .. as in
Code: [Select]
http://192.168.1.50:631/printers/HP05/?waitprinter=false&waitjob=false
at the Windows end .. just a thought.
« Last Edit: February 10, 2018, 12:09:26 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal