--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Many programs have this option. In the print dialog there's a radio
button with a text box for "command" or "filename". Typically the
default is to send to the "lp" or "lpr" command.
Alternatively you could specify a filter in /etc/printcap (if you're
using lpd or lprng). The filter would then be a simple script that
consumes all input and sticks it in a file.
Another method is to use CUPS and just disable the printer. The print
jobs (postcript) will reside in /var/spool/cups/, but only root and
the lp user can access those files by default. (you would need to
switch to one of those users to copy the file to where ever you want)
-D
--
Many are the plans in a man's heart,
but it is the Lord's purpose that prevails.
Proverbs 19:21
on Sat, Mar 30, 2002, dman (dm...@dman.ddts.net) wrote:
> On Sat, Mar 30, 2002 at 04:42:11PM -0600, McNeill Kirkpatrick wrote:
> | I am trying to create a .ps file and I can't seem to find documentation
> | on it anywhere. I am wondering if there is a way to configure things so
> | that when I print something it is output to a postscript file rather
> | than being sent to a printer( I don't own a printer so this would be a
> | permanent setup). Any help anyone can give me on this would be great.
>=20
> Many programs have this option. In the print dialog there's a radio
> button with a text box for "command" or "filename". Typically the
> default is to send to the "lp" or "lpr" command.
>=20
> Alternatively you could specify a filter in /etc/printcap (if you're
> using lpd or lprng). The filter would then be a simple script that
> consumes all input and sticks it in a file.
>=20
> Another method is to use CUPS and just disable the printer. The print
> jobs (postcript) will reside in /var/spool/cups/, but only root and
> the lp user can access those files by default. (you would need to
> switch to one of those users to copy the file to where ever you want)
You can also commonly change the print command in a program. I do this
typically to filter through psnup or mpage, you can also redirect the
output to a file.
My galeon "print command" generally resembles:
mpage -2 | lpr # gv -seascape -letter -magstep 1 - # > /tmp/galeon.ps
=2E..where the dialog respect shell syntax, including comment characters
('#'). If I want to preview or print to file, I reorder the arguments
appropriately.
Peace.
--=20
Karsten M. Self <kms...@ix.netcom.com> http://kmself.home.netcom.=
com/
What Part of "Gestalt" don't you understand?
The best damned coffee on the planet:
Graffeo Coffee, 735 Columbus Ave., San Francisco, California, USA, Ear=
th
http://www.graffeo.com/
--3XA6nns4nE4KvaS/
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8qJI7VsqntYRW2N0RAjsKAJ9jn/xYOV7qyshoGDs2vv7GNDqjUwCdHatS
/MxCAtiEb2Aqg+vzz4klwyw=
=BT2C
-----END PGP SIGNATURE-----
--3XA6nns4nE4KvaS/--
Run 'dpkg -S `which dselect`' to find out which package dselect is in
(here dpkg), and then 'apt-get source dpkg'. Or you can dig around
under ftp://ftp.debian.org/debian/pool/main/d/dpkg, which contains the
source and binary packages for testing and unstable (not stable yet)
for all architectures.
--
David Maze dm...@debian.org http://people.debian.org/~dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell
Edit /etc/apt/sources.list
Add this line
deb-src http://http.us.debian.org/debian woody main contrib non-free
to this file.
Then run
apt-get source dpkg cdebconf
jp