Re: Setting up a PDF printer

2009-01-04 Thread Warren Block

On Sat, 3 Jan 2009, Keith Seyffarth wrote:



What do I need to install to make printing a pdf from the print
command in an appliction as an option.

It looks like panda may do this, but I'm unsure.

My immediate goal is to be able to print invoices to .pdf from
gnucash.


If the program lets you specify what command is run to print, it may be 
easier to avoid the printing subsystem.  I.e., call a small wrapper that 
generates a filename and copies the text to ps2pdf.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Setting up a PDF printer

2009-01-03 Thread Matthew Seaman

Keith Seyffarth wrote:

If you're using the cups printing subsystem you can use the cups-pdf
port/package.

You end up with the pdf's deposited in /var/spool/cups-pdf/USERNAME.


I don't have any printing installed currently. I may be getting a
printer for this machine at some point in the future (at which point
I'll have to figure out how to get printing to a printer working).

When I run
# which cups

the response is:
cups: Command not found.

would
# portinstall cups
install this printing option? or would I have to install something
else?


CUPS doesn't actually install a binary called 'cups'.  It installs
a bunch of replacements for the standard printer commands lp, lpr,
lpq, lprm etc.  and a number of daemons including cupsd.

If you want to check whether you have installed cups already, then
use:

  pkg_info -Ix cups

The 'cups-base' package provides the important functionality, but you
should install it as a dependency of the cups meta-port as this will
also include a number of other packages you will need:

 portinstall print/cups

To get the print to PDF functionality, then install cups-pdf:

 portinstall print/cups-pdf

You'll then have to follow the instructions to enable cups and generate
print queues and so forth.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Setting up a PDF printer

2009-01-03 Thread George Hartzell
Keith Seyffarth writes:
 > > If you're using the cups printing subsystem you can use the cups-pdf
 > > port/package.
 > > 
 > > You end up with the pdf's deposited in /var/spool/cups-pdf/USERNAME.
 > 
 > I don't have any printing installed currently. I may be getting a
 > printer for this machine at some point in the future (at which point
 > I'll have to figure out how to get printing to a printer working).
 > 
 > When I run
 > # which cups
 > 
 > the response is:
 > cups: Command not found.
 > 
 > would
 > # portinstall cups
 > install this printing option? or would I have to install something
 > else?

You'll need the cups and cup-pdf ports/packages, then add

  cupsd_enable="YES"

to /etc/rc.conf and then

  /usr/local/etc/rc.d/cupsd restart

and then point a browser at

  http://localhost:631

and go through the "add a printer" steps (when it asks device choose
the pdf entry and when it asks for a make I choose 'raw'.  Seems to
work.

I *think* that the username you give to the web interface whilst
adding the printer has to be in the 'wheel' group.

g.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Setting up a PDF printer

2009-01-03 Thread George Hartzell
Keith Seyffarth writes:
 > 
 > What do I need to install to make printing a pdf from the print
 > command in an appliction as an option.
 > 
 > It looks like panda may do this, but I'm unsure.
 > 
 > My immediate goal is to be able to print invoices to .pdf from
 > gnucash.

If you're using the cups printing subsystem you can use the cups-pdf
port/package.

You end up with the pdf's deposited in /var/spool/cups-pdf/USERNAME.

g.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Setting up a PDF printer

2009-01-03 Thread Keith Seyffarth
> If you're using the cups printing subsystem you can use the cups-pdf
> port/package.
> 
> You end up with the pdf's deposited in /var/spool/cups-pdf/USERNAME.

I don't have any printing installed currently. I may be getting a
printer for this machine at some point in the future (at which point
I'll have to figure out how to get printing to a printer working).

When I run
# which cups

the response is:
cups: Command not found.

would
# portinstall cups
install this printing option? or would I have to install something
else?

Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Setting up a PDF printer

2009-01-03 Thread Keith Seyffarth

What do I need to install to make printing a pdf from the print
command in an appliction as an option.

It looks like panda may do this, but I'm unsure.

My immediate goal is to be able to print invoices to .pdf from
gnucash.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"