You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, February 23rd 2004, 1:09pm

network-printing with kprinter

I want to use kjobviewer to mange the printing from my network, so to do this i use the comand line command

[code:1]
kprinter --nodialog [file]
[/code:1]

this works fine, but all the files print directly and I want them to be held from the beginning so that I can select the ones that I want to print in kjobwiewer and "unhold" then.

If I use kprinte without the "--nodialog" I can change the sceduling to be hold and this is what I want to do from the command line. I have found that there is a way to send options to kprinte throu "-o <option=value>" but I cant find what "<options=value"'s there are.

Anyone have a idea what I shoud do to fix this?
Is there a nother way to make the printjobs to show in kjobvewer?

2

Tuesday, February 24th 2004, 10:34pm

U can give the command
kprinter --nodialog -o job-hold-until=indefinite filename

to hold the job. See the file kdelibs/kdeprint/cups/kpschedulepage.cpp for the other job-hold-until options. Unfortunately all these options are not documented but u have to fish through the source files to obtain them. There are lot more of them out there and somebody needs to document them.

3

Wednesday, February 25th 2004, 4:12pm

Thanx that worked

4

Wednesday, April 28th 2004, 11:17pm

job-hold-until

I've found the "indefinite" before, but does anyone have a quick "release". I've tried the /admin screen and several (I thought) obvious choices for "lp -i jobid -o code[i]" but so far they haven't worked.

Thanks, in advance.
Rankin