"John R. Shannon" schrieb:
> I'm trying to create a print queue for creating pdf documents using
> Ghostscript.
>
> My printcap file looks like:
>
> lp
> :[EMAIL PROTECTED]
> # server information
> lp:server
> :lp=192.168.1.6%9100
> :sd=/var/spool/lpd/lp
> :sh:mx=0
> :if=/usr/local/libexec/filters/ifhp
> :ifhp=model=hp4000
> pdf:
> :sd=/var/spool/lpd/pdf
> :force_localhost
well I don't understand what you are exactly trying, but at this point you resend
your job to the queue where it comes from, thats the loop, try another device,
maybe a pseudo device (?)
regards
~christoph
>
> :lp=pdf@localhost
> :ifhp=model=ghostscript,gs_device=pdfwrite
> :filter=/usr/local/libexec/filters/ifhp
>
> Testing it:
>
> %lpr -P pdf config.ps
> %lpq -P pdf
> Printer: pdf@pablo (dest pdf@localhost)
> Queue: 2 printable jobs
> Server: pid 5777 active
> Unspooler: pid 5934 active
> Status: sending data file 'dfA916pablo.johnrshannon.com' to pdf@localhost at
> 09:02:39.594
> Rank Owner/ID Class Job Files Size Time
> active john@pablo+382 A 916 config.ps 209600
> 09:02:39
> 2 john@pablo+780 A 818 config.ps 209600
> 09:02:39
> Error: loop in printcap- pdf???????s -> pablo.johnrshannon.com@pdf
>
> I'm sure that I'm not the first to try this. Any recommendation?
>
> --
>
> John R. Shannon
> [EMAIL PROTECTED]
>
> -----------------------------------------------------------------------------
> YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
> The address you post from MUST be your subscription address
>
> If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
> or lprng-digest-requests) with the word 'help' in the body. For the impatient,
> to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
> with: | example:
> subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
> unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
>
> If you have major problems, send email to [EMAIL PROTECTED] with the word
> LPRNGLIST in the SUBJECT line.
> -----------------------------------------------------------------------------
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------