Re: Where and how do I install a TTF [ Sjoerd Hiemstra <shiems146@kpnplane ]
Date: Mon, 03 Sep 2007 17:44:27 +0200
From: Johannes Wiedersich <johannes@physik.blm.tu-muenchen.de>
To: debian-user@lists.debian.org
Subject: Re: Welcome to SI Network - Your Career, Your Country.
Message-ID: <46DC2BDB.5080207@physik.blm.tu-muenchen.de>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Douglas A. Tutty wrote:
> On Sun, Sep 02, 2007 at 01:54:52PM -0500, ArcticFox wrote:
>> Uh, what the heck is this crap? I hope I'm not going to start getting
>> spam through this list now....
> >
>> Yup, it's spam. Someone needs to get the list off this....
>
> Yup, and by quoting spam and putting it back on the list, you teach
> Debian's spam filter that this wasn't spam after all. Thanks.
>
> The list maintainers are in a constant battle. If you must respond to
> spam on it, the best way is to locate the post in the archives on the
> web at http://lists.debian.org/debian-user then click on the 'report
> this as spam' link. That teaches the filter what you want.
If you happen to live in the country where the spam originates and if
that country happens to have decent anti-spam laws, you might help to
fight spam at its roots by reporting it to the network owner and/or take
legal action.
[The trace of the mail can be seen in the full header. 'whois' and a bit
of general knowledge will tell you the owner (usually also the abuse
e-mail) of the IP, that sent the spam out. In this particular case, the
IP is 72.52.77.20 and it appears to come from Bangalore, India.]
Johannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFG3CvbC1NzPRl9qEURAjvRAJ0Uz6aq5fpBXmlkVkJNRoqbvkp0iwCfapem
p+kiXrbRhhdR3tjTgQCHXOU=
=asWC
-----END PGP SIGNATURE-----
Date: Mon, 3 Sep 2007 11:59:53 -0400
From: "Douglas A. Tutty" <dtutty@porchlight.ca>
To: debian-user@lists.debian.org
Subject: Re: mail (un)delivery
Message-ID: <20070903155953.GA8725@titan.hooton>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Mon, Sep 03, 2007 at 04:26:49PM +0100, michael wrote:
> On Mon, 2007-09-03 at 11:05 -0400, Douglas A. Tutty wrote:
> > On Mon, Sep 03, 2007 at 03:47:31PM +0100, michael wrote:
> here's the o/p when I try to email myself:
>
> 2007-09-03 16:13:43 Start queue run: pid=3893
> 2007-09-03 16:13:43 End queue run: pid=3893
> 2007-09-03 16:23:32 1ISDm0-00010w-6z <= michael@ratty.phy.umist.ac.uk
> U=michael
> P=local S=409
> 2007-09-03 16:23:55 1ISDm0-00010w-6z => michael@ratty.phy.umist.ac.uk
> R=smarthos
> t T=remote_smtp_smarthost H=mailrouter.mcc.ac.uk [130.88.200.145]
> X=TLS-1.0:RSA_
> AES_256_CBC_SHA1:32
> DN="C=GB,2.5.4.17=#13074d36302031514,ST=England,L=Manchester
> ,STREET=Manchester,2.5.4.18=#1302383,O=Manchester University,OU=Internet
> Service
> s,OU=Issued through UMIST E-PKI Manager,OU=InstantSSL
> Pro,CN=mailrouter.mcc.ac.u
> k"
> 2007-09-03 16:23:55 1ISDm0-00010w-6z Completed
>
OK. So, IIRC, the problem was that local mail wasn't being delivered
locally, correct? But its sending your mail to the smarthost. How do
you get mail from the smarthost? If its by fetchmail, it will pull it
from the smarthost and give it to exim to deliver which will send it
back to the smarthost. The smarthost is probably recognizing a mail
loop and dropping the message.
At least we know that exim4 itself is working OK.
I've forgotton the details, but isnt' ratty.phy.umist.ac.uk both your
local name and the name of the smarthost? I'm missing something (I
haven't had enough sleep).
Try filling in the blanks for me:
Name of the box on which you send mail to yourself:
Name of the smarthost that you told exim to use:
Names of hosts/domains that you told exim to treat as local; that it is
the final destination:
I think we're getting close to figuring out what is going on.
Doug.
Date: Mon, 3 Sep 2007 12:18:41 -0400
From: "Douglas A. Tutty" <dtutty@porchlight.ca>
To: debian-user@lists.debian.org
Subject: Re: How to pipe from python script to system process that script starts
Message-ID: <20070903161841.GB8725@titan.hooton>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Mon, Sep 03, 2007 at 08:05:16AM -0700, Freddy Freeloader wrote:
>
> I'm wanting to learn python so I'm starting with projects that I want to
> automate at work. What I want to do in this specific instance is use a
> python script to call exipick to find all frozen messages in the Exim
> queue, then feed the message id's to something such as "exim -Mvh" so I
> can look at the message headers.
>
> So far I've been able to get everything working except for how to get my
> python script to be able to pass the message id's to the exim command as
> the needed single parameter. I'm assuming that a pipe is the logical
> way to do this, but just haven't found any kind of example for what I am
> wanting to do. My Python reference book is just a little too cryptic
> for me yet and "Learning Python" barely touches on piping. All the
> examples there are on how to pipe from stdin with sys.stdin and that
> won't work for this task.
>
Since exim -Mvh, as you say, only takes a single message id, you'll be
starting a new process for each message. What you didn't say was where
you want the output to go. If you just want to run the command and use
exim's way of displaying the info as if you had typed the command from
the shell, then you would use os.system(). If you want to get its
output back into python you would use one of the os.popen() functions,
depending on what pipes you want. Probably just os.popen() with its
mode defaulting to 'r'.
Now you just have to make up the command line which is simple string
processing. Probably define EXIMCMD as '/usr/bin/exim4 ' somewhere near
the top of the script as a pseudo constant. Then you would make up the
command line with something like (NOTE: haven't tried this, just going
from memory and cursory look at my Python bible):
exim_cmd_line = EXIMCMD + '-Mvh ' + message_id
message_header = os.popen(exim_cmd_line)
You now have a file-like object message_header that you can use in the
script.
I hope this gets you on the right track.
Doug.
Date: Mon, 3 Sep 2007 21:42:49 +0530
From: Kumar Appaiah <akumar@iitm.ac.in>
To: debian-user@lists.debian.org
Subject: Re: How to pipe from python script to system process that script
starts
Message-ID: <20070903161249.GA20506@localhost>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Mon, Sep 03, 2007 at 08:05:16AM -0700, Freddy Freeloader wrote:
> So far I've coded everything as process oriented rather than object
> oriented as that is what I am familiar with, but I'm beginning to believe
> that using classes is probably the way to go as it would be much easier to
> abstract concepts out that way. If someone has an example or two they
> could share with me on how to do interprocess piping in either oo or
> process oriented, or both, manner I would appreciate the help.
Read the documentation for os.popen. It opens the command and it's
stdin and stdout as pipes.
The commands module might also be of interest.
Kumar
--
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
Date: Mon, 3 Sep 2007 21:46:49 +0530
From: Kumar Appaiah <akumar@iitm.ac.in>
To: debian-user@lists.debian.org
Subject: Re: Welcome to SI Network - Your Career, Your Country.
Message-ID: <20070903161649.GB20506@localhost>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Mon, Sep 03, 2007 at 05:44:27PM +0200, Johannes Wiedersich wrote:
> If you happen to live in the country where the spam originates and if
> that country happens to have decent anti-spam laws, you might help to
> fight spam at its roots by reporting it to the network owner and/or take
> legal action.
>
> [The trace of the mail can be seen in the full header. 'whois' and a bit
> of general knowledge will tell you the owner (usually also the abuse
> e-mail) of the IP, that sent the spam out. In this particular case, the
> IP is 72.52.77.20 and it appears to come from Bangalore, India.]
Though we have laws for unsolicited SMS on mobiles, I don't think we
have any anti-spam laws. Tough luck on that front! :-(
Kumar
--
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
Date: Mon, 3 Sep 2007 17:47:22 +0100 (BST)
From: "G.W. Haywood" <ged@jubileegroup.co.uk>
To: debian-user@lists.debian.org
Subject: Re: How to pipe from python script to system process that script
starts
Message-ID: <Pine.LNX.4.58.0709031721200.22233@mail3.jubileegroup.co.uk>
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi there,
> This will be sort of involved....
Why make it involved? :)
> I'm wanting to learn python so ... use a python script to call
> exipick to find all frozen messages in the Exim queue, then feed the
> message id's to something ... so I can look at the message headers.
> ...
> I'm assuming that a pipe is the logical way to do this
As a general point I don't think you should assume the solution,
especially not in the subject line of a mailing list. Instead, I
think you should explain the issues - I think you might have done
although I'm still a bit unclear about it - and ask for suggestions.
That way you might find that you get more and more useful responses,
and people searching the archives later will have more chance to
profit from the correspondence.
> So far I've coded everything as process oriented rather than object
> oriented as that is what I am familiar with, but I'm beginning to
> believe that using classes is probably the way to go
I'm not sure that I understand any of that. Maybe what you really
want is "Inter-Process Communication" or IPC for short. A bit of
Googling should get you going in short order but you might find these
links useful:
http://www.amk.ca/python/howto/sockets/
http://www.faqts.com/knowledge_base/view.phtml/aid/4965/fid/235
--
73,
Ged.
Date: Mon, 3 Sep 2007 09:38:48 -0700 (PDT)
From: Chan Lee <chanl@pacbell.net>
To: debian-user@lists.debian.org
Subject: pkg download using apt-get - but the gcc didn't bring crt1.o
Message-ID: <135578.7817.qm@web80604.mail.mud.yahoo.com>
Content-Type: multipart/alternative; boundary="0-85836754-1188837528=:7817"
Content-Transfer-Encoding: 7bit
--0-85836754-1188837528=:7817
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,
=20
After I did install Debian using DVD set from CheapBytes,
I found that the gcc is not installed. Looking around what's
the best way to install gcc, I found the 'apt' and did install
the gcc using 'apt-get install gcc', which asked to mount the
DVD1 and then the gcc installation was completed.
=20
But then using the gcc complains that the loader cannot
find the crt stuffs - particular, the crt1.o & crti.o in the gcc
library. This is strange as the library contains crtStart.o &
crtEnd.o, but no crt1.o (nor crt0.o either). The host/target
is AMD64 and I wonder if the loader/gcc are not in sync
or if the gcc installation was not done properly (somehow
the required crt lib module were not installed).
=20
The other question is whether this binary install for the latest
Debian is ever possible and supported - or do I need a GNU
gcc-src download to build my own ?
=20
Debian is the latest version built on July and the gcc is 4.2.1
=20
Any help will greatly be appreciated,
=20
Chan
--0-85836754-1188837528=:7817
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,<br> <br> After I did install Debian using DVD set from CheapBytes,<=
br> I found that the gcc is not installed. Looking around what's<br> th=
e best way to install gcc, I found the 'apt' and did install<br> the gcc=
using 'apt-get install gcc', which asked to mount the<br> DVD1 and then=
the gcc installation was completed.<br> <br> But then using the gcc co=
mplains that the loader cannot<br> find the crt stuffs - particular, the=
crt1.o & crti.o in the gcc<br> library. This is strange as the libr=
ary contains crtStart.o &<br> crtEnd.o, but no crt1.o (nor crt0.o ei=
ther). The host/target<br> is AMD64 and I wonder if the loader/gcc are n=
ot in sync<br> or if the gcc installation was not done properly (somehow=
<br> the required crt lib module were not installed).<br> <br> The other=
question is whether this binary install for the latest<br> Debian is eve=
r possible and supported - or do I need a GNU<br> gcc-src download to bui=
ld my own ?<br> <br> Debian is the
latest version built on July and the gcc is 4.2.1<br> <br> Any help wi=
ll greatly be appreciated,<br> <br> Chan
--0-85836754-1188837528=:7817--
Date: Mon, 3 Sep 2007 17:58:04 +0100 (BST)
From: "G.W. Haywood" <ged@jubileegroup.co.uk>
To: debian-user@lists.debian.org
Subject: Re: mail (un)delivery
Message-ID: <Pine.LNX.4.58.0709031749480.22233@mail3.jubileegroup.co.uk>
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi there,
On Mon, 3 Sep 2007 Doug wrote:
> I don't have nslookup installed but it seems wierd to me that one
> hostname would have more than one IP address.
Any host which is on more than one network interface (for example a
firewall or a router) will have more than one IP address. It may also
have more than one hostname. Routing determines which interface is
used for any given packet. If you have a Virtual Private Network your
virtual IPs will be different from your physical IPs, and routing may
still be needed, but there may only be a single physical interface.
There are many other reasons why multiple IPs might exist for a single
host, and a few reasons why a single IP might be used by several hosts. :)
--
73,
Ged.
[NON-Text Body part not included]
Date: Mon, 03 Sep 2007 09:47:38 -0700
From: Richard Rudnick <rich@aphroneo.net>
To: debian-user@lists.debian.org
Subject: Re: Problems with text file going from Linux to MS Windows
Message-Id: <1188838058.8946.0.camel@localhost>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On Mon, 2007-09-03 at 21:26 +0800, =E5=BA=94=E5=AF=8C=E9=B8=A3 wrote:
> On 9/3/07, G.W. Haywood <ged@jubileegroup.co.uk> wrote:
> >
> Hmmmm, when you install the package tofrodos, the command(s) wil not
> be tofrodos or the similar ones, but these two: dos2unix and unix2dos.
> dos2unix transfers the file format from MS Windows (DOS) to Unix
> (Linux), and unix 2dos do the reverse.
>=20
>=20
a useful tool when you can't seem to find the executables in a package
is dpkg -L <pkg> | grep bin
--=20
It is always easier to fight for one's principles than live up to them.
- Alfred Adler
Date: Mon, 3 Sep 2007 12:51:58 -0400
From: Wayne Topa <linuxone@intergate.com>
To: debian-user@lists.debian.org
Subject: Re: mail (un)delivery
Message-ID: <20070903165158.GA24291@buddy.mtntop.home>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Douglas A. Tutty(dtutty@porchlight.ca) is reported to have said:
> On Mon, Sep 03, 2007 at 04:26:49PM +0100, michael wrote:
> > On Mon, 2007-09-03 at 11:05 -0400, Douglas A. Tutty wrote:
> > > On Mon, Sep 03, 2007 at 03:47:31PM +0100, michael wrote:
>
> > here's the o/p when I try to email myself:
> >
> > 2007-09-03 16:13:43 Start queue run: pid=3893
> > 2007-09-03 16:13:43 End queue run: pid=3893
> > 2007-09-03 16:23:32 1ISDm0-00010w-6z <= michael@ratty.phy.umist.ac.uk
> > U=michael
> > P=local S=409
> > 2007-09-03 16:23:55 1ISDm0-00010w-6z => michael@ratty.phy.umist.ac.uk
> > R=smarthos
> > t T=remote_smtp_smarthost H=mailrouter.mcc.ac.uk [130.88.200.145]
> > X=TLS-1.0:RSA_
> > AES_256_CBC_SHA1:32
> > DN="C=GB,2.5.4.17=#13074d36302031514,ST=England,L=Manchester
> > ,STREET=Manchester,2.5.4.18=#1302383,O=Manchester University,OU=Internet
> > Service
> > s,OU=Issued through UMIST E-PKI Manager,OU=InstantSSL
> > Pro,CN=mailrouter.mcc.ac.u
> > k"
> > 2007-09-03 16:23:55 1ISDm0-00010w-6z Completed
> >
>
> OK. So, IIRC, the problem was that local mail wasn't being delivered
> locally, correct? But its sending your mail to the smarthost. How do
> you get mail from the smarthost? If its by fetchmail, it will pull it
> from the smarthost and give it to exim to deliver which will send it
> back to the smarthost. The smarthost is probably recognizing a mail
> loop and dropping the message.
>
> At least we know that exim4 itself is working OK.
>
> I've forgotton the details, but isnt' ratty.phy.umist.ac.uk both your
> local name and the name of the smarthost? I'm missing something (I
> haven't had enough sleep).
>
> Try filling in the blanks for me:
>
> Name of the box on which you send mail to yourself:
>
> Name of the smarthost that you told exim to use:
>
> Names of hosts/domains that you told exim to treat as local; that it is
> the final destination:
And the contents of the /etc/email-addresses file.
>
> I think we're getting close to figuring out what is going on.
>
> Doug.
Wayne
--
All wiyht. Rho sritched mg kegtops awound?
_______________________________________________________
Date: Mon, 03 Sep 2007 16:42:14 +0000
From: Peter Easthope <peasthope@shaw.ca>
To: debian-user@lists.debian.org
Subject: invisibility of Ensoniq audio to users
Message-id: <46DC3966.7000708@shaw.ca>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit
Folk,
Lenny works fairly well here with several useful
applications. This problem is reminiscent of another
a few months back. This time there is more to it than
an entry in /etc/group.
alsaconf has no trouble configuring both the USB audio
and the Ensoniq. In any application using sound, the USB
works but the Ensoniq is invisible to users. Users are
present in /etc/group > audio; that seems OK. Also,
both sound devices work in etch; the problem is only in
Lenny.
Any suggestions. If nothing else, perhaps someone can
tell me which log file might report an error when Skype
or vlc looks for audio devices.
Thanks, ... Peter E.
Date: Mon, 03 Sep 2007 18:13:51 +0100
From: michael <cs@networkingnewsletter.org.uk>
To: debian-user@lists.debian.org
Subject: Re: mail (un)delivery
Message-Id: <1188839631.3307.24.camel@manchester-campaigns>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
On Mon, 2007-09-03 at 11:59 -0400, Douglas A. Tutty wrote:
> On Mon, Sep 03, 2007 at 04:26:49PM +0100, michael wrote:
> > On Mon, 2007-09-03 at 11:05 -0400, Douglas A. Tutty wrote:
> > > On Mon, Sep 03, 2007 at 03:47:31PM +0100, michael wrote:
>
> > here's the o/p when I try to email myself:
> >
> > 2007-09-03 16:13:43 Start queue run: pid=3893
> > 2007-09-03 16:13:43 End queue run: pid=3893
> > 2007-09-03 16:23:32 1ISDm0-00010w-6z <= michael@ratty.phy.umist.ac.uk
> > U=michael
> > P=local S=409
> > 2007-09-03 16:23:55 1ISDm0-00010w-6z => michael@ratty.phy.umist.ac.uk
> > R=smarthos
> > t T=remote_smtp_smarthost H=mailrouter.mcc.ac.uk [130.88.200.145]
> > X=TLS-1.0:RSA_
> > AES_256_CBC_SHA1:32
> > DN="C=GB,2.5.4.17=#13074d36302031514,ST=England,L=Manchester
> > ,STREET=Manchester,2.5.4.18=#1302383,O=Manchester University,OU=Internet
> > Service
> > s,OU=Issued through UMIST E-PKI Manager,OU=InstantSSL
> > Pro,CN=mailrouter.mcc.ac.u
> > k"
> > 2007-09-03 16:23:55 1ISDm0-00010w-6z Completed
> >
>
> OK. So, IIRC, the problem was that local mail wasn't being delivered
> locally, correct?
Yes. If I 'mail me@manc.ac.uk' it gets delivered there, but 'mail me'
doesn't get delivered to 'me' on my machine (ratty)
> But its sending your mail to the smarthost. How do
> you get mail from the smarthost? If its by fetchmail, it will pull it
> from the smarthost and give it to exim to deliver which will send it
> back to the smarthost. The smarthost is probably recognizing a mail
> loop and dropping the message.
It's poss I've forgotten something but it all worked once (famous last
words?)
> At least we know that exim4 itself is working OK.
>
> I've forgotton the details, but isnt' ratty.phy.umist.ac.uk both your
> local name and the name of the smarthost? I'm missing something (I
> haven't had enough sleep).
ratty.phy.umist.ac.uk is the local machine name:
michael@ratty:~$ hostname
ratty
(outgoing) smarthost is mailrouter.mcc.ac.uk
> Try filling in the blanks for me:
>
> Name of the box on which you send mail to yourself:
ratty.phy.umist.ac.uk
>
> Name of the smarthost that you told exim to use:
mailrouter.mcc.ac.uk
> Names of hosts/domains that you told exim to treat as local; that it is
> the final destination:
err... not sure what you mean. Do you mean (from `sudo dpkg-reconfigure
exim4-config`) ''other dest for which mail is accepted'' for which I
have
ratty
and nothing for machines to relay
> contents of the /etc/email-addresses file.
michael@ratty:~$ cat /etc/email-addresses
# This is /etc/email-addresses. It is part of the exim package
#
# This file contains email addresses to use for outgoing mail. Any local
# part not in here will be qualified by the system domain as normal.
#
# It should contain lines of the form:
#
#user: someone@isp.com
#otheruser: someoneelse@anotherisp.com
> I think we're getting close to figuring out what is going on.
thanks!!!
M
Date: Mon, 3 Sep 2007 18:57:30 +0200
From: Florian Kulzer <florian.kulzer+debian@icfo.es>
To: debian-user@lists.debian.org
Subject: Re: Cups printing problem
Message-ID: <20070903165730.GA19456@localhost>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Sun, Sep 02, 2007 at 14:47:52 -0600, Robert Jerrard wrote:
> On Sun, 2007-09-02 at 22:03 +0200, Florian Kulzer wrote:
> > On Sat, Sep 01, 2007 at 11:43:18 -0600, Robert Jerrard wrote:
> > > I have just installed Debian etch from scratch. In attempting to set up
> > > the printing the cups printer section tells me:
> > >
> > > "/usr/lib/cups/backend/http failed"
> > >
> > > and /var/log/cups/error_log gives:
> > >
> > > E [01/Sep/2007:10:22:33 -0600] [Job 1] Destination printer does not exist!
> > > E [01/Sep/2007:10:22:33 -0600] PID 27798 (/usr/lib/cups/backend/http) stopped with status 4!
> > >
> > > when using http://localhost:631/ipp/9100
> > >
> > > If I try socket://localhost:9100 cups tells me:
> > >
> > > "Network host 'localhost' is busy; will retry in 5 seconds..."
> > >
> > > and /var/log/cups/error_log gives:
> > >
> > > E [01/Sep/2007:11:40:59 -0600] CUPS-Add-Modify-Printer: Unauthorized
> > >
> > > Any ideas what to try next to get printing to work?
> >
> > Tell us what printer this is (maker/model) and how it is connected to
> > your computer (parallel port, USB, network).
>
> I have a Xerox Phaser 8500 for which I had a ppd file from Xerox
> originally but did not think to save it for the install. Now Xerox no
> longer makes it available so I have been trying with a UNIX ppd file and
> just a generic postscript printer ppd.
I think the correct ppd file is available here:
http://www.support.xerox.com/go/getfile.asp?objid=61334
You need to download CupsPrinterPkg2007_May_10.tar and extract
XRX_Phaser_8500n.ppd from this archive. This file should replace
/etc/cups/ppd/Xerox.ppd.
> The printer is connected with an
> ethernet connection to a small hub which is connected to my computer
> with a network card with address 10.10.11.3, the printer has address
> 10.10.11.10. I have another network card connecting my computer to the
> internet using dhcp.
Can you ping the printer at this address? (10.10.11.10)
> > Also, post your /etc/cups/printers.conf.
>
> # Printer configuration file for CUPS v1.3.0
> # Written by cupsd on 2007-09-02 14:34
> <DefaultPrinter Xerox>
> Info Xerox 8500
> Location home
> DeviceURI socket://localhost:9100
> State Idle
> StateTime 1188765273
> Accepting Yes
> Shared Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> OpPolicy default
> ErrorPolicy stop-printer
> </Printer>
I would expect that one of these DeviceURIs should work:
DeviceURI ipp://10.10.11.10
DeviceURI ipp://10.10.11.10/ipp/
DeviceURI socket://10.10.11.10
DeviceURI socket://10.10.11.10:9100
DeviceURI http://10.10.11.10:631
DeviceURI http://10.10.11.10:631/ipp/
Your CUPS server runs on "localhost", but the DeviceURI should point to
the network address of the printer. You have to restart cupsys if you
change the configuration file. You can also use the "add printer"
function of the CUPS frontend (http://localhost:631) to add a new
printer with the correct DeviceURI and to select the ppd file from
Xerox.
--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
Date: Mon, 3 Sep 2007 19:20:28 +0200
From: Sjoerd Hiemstra <shiems146@kpnplanet.nl>
To: debian-user@lists.debian.org
Subject: Re: Where and how do I install a TTF font?
Message-Id: <20070903192028.e108d0d0.shiems146@kpnplanet.nl>
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Nelson A. de Oliveira:
> Mumia W..:
> > See if you can get the barcode font embedded in the PDF file.
>
> The PDF is generated by a third part online system that we use here.
> We don't have control over the PDF.
> We want to change all machines running Windows to Linux, but the only
> missing thing is this barcode font on the PDFs. Windows displays them
> correctly while we couldn't make it works on Linux :-/
I work at a printshop where I have tools to take a closer look at the
pdf. It appears that *none* of the fonts are included or embedded.
These are: Times New Roman, Times New Roman Bold, Arial, Arial Bold,
Arial Bold Italic, Bar25if. So none of these fonts are guaranteed to
look like the original on your screen.
Moreover, Bar25if could not be embedded due to "licensing limitations".
This means that the pdf is simply a bad one, and not acceptable! All
fonts should be included, so the pdf will display well on a system where
these fonts are not installed. That is precisely the purpose of a pdf.
What I could do is to turn all characters into outlines ('vectorize'
the characters) so no fonts are needed, and make a new pdf out of this.
It's a big one: 4.3 MB, but if you can use it, get it with this command:
wget http://home.kpnplanet.nl/~shiems@kpnplanet.nl/giap.pdf
I suppose you could also do this with programs like pdfedit and
inkscape.
End of debian-user-digest Digest V2007 Issue #2304
**************************************************
Received on Mon Sep 3 14:27:41 2007