Job spooling to print server
Kurt Pfeifle
k1pfeifle at gmx.net
Mon Jul 30 02:28:51 PDT 2007
Christian Niessner wrote:
> Hi Kurt,
>
>> Append it to the device URI when you install the printer. Or modifiy
>> an existing printer. First find out the current device URI:
>>
>> lpstat -v | grep -E "ipp://|http://"
>> device for is2127: ipp://10.162.5.84/ipp
>> device for is2127ps: ipp://10.162.5.84/print
>> device for isc2525: http://10.170.0.210:631/printers/isc25
>>
>> Then modify it:
>>
>> lpadmin -p is2127ps -v ipp://10.162.5.84/print?waitjob=no
>
> It would be no problem, if this is on the destination server. But how
> to modify the IPP Url generated by the cups browser.
>
> lpstat -v on the server:
> device for nullprinter2: socket://localhost:9
>
> lpstat -v on the client:
> device for nullprinter2: ipp://test-cups.m.freaks.de:631/printers/nullprinter2
I don't know if the CUPS server can be forced to announce the ?waitjob
parameter to the clients within its CUPS browsing packets. I never
tested this.
*If* it works, it should work via the cupsd.conf directive (supported in
CUPS 1.2 for the first time, not available in CUPS 1.1):
BrowseLocalOptions waitjob=no
See http://localhost:631/help/ref-cupsd-conf.html?TOPIC=References&QUERY=#BrowseLocalOptions
for some more details.
If BrowseLocalOptions for ?waitjob doesn't work, the workaround I'd try
is this:
(a) install the printer on the 'client' manually with lpadmin, speci-
fying the desired ?waitjob:
wget http://test-cups.m.freaks.de:631/printers/nullprinter2.ppd -O /path/to/PPD.ppd
lpadmin -p nullprinter2_l \
-v ipp://test-cups.m.freaks.de:631/printers/nullprinter2?waitjob=no \
-E \
-P /path/to/ppd
(the "_l" in the printername will show you "this is the locally installed printer
that IPP-spools to a socket-queue on a central CUPS server).
(b) disable browsing on the local client (because now you don't need
it any more).
--
Kurt Pfeifle
System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS
Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58
A RICOH Company ........................... D-70327 Stuttgart/Germany
More information about the cups
mailing list