From v.krishnakumar at gmail.com Sat Aug 6 01:55:33 2005 From: v.krishnakumar at gmail.com (Krishnakumar Veeraraghavan) Date: Fri Aug 5 15:26:33 2005 Subject: [Xprint] using Xft with Xprint Message-ID: Hi all, I'm new to Xprint. I wrote a small program using Xft to draw a page. The postscript output does not contain any fonts (I used a Hindi font). How do I embed the font in the generated postscript ? cheers, -Krishna -- True greatness is when your name is like ampere, watt, and fourier - when it's spelled with a lower case letter. - Richard Hamming From Alan.Coopersmith at Sun.COM Fri Aug 5 14:08:21 2005 From: Alan.Coopersmith at Sun.COM (Alan Coopersmith) Date: Fri Aug 5 16:10:39 2005 Subject: [Xprint] using Xft with Xprint In-Reply-To: References: Message-ID: <42F3C735.8020909@sun.com> Krishnakumar Veeraraghavan wrote: > Hi all, > > I'm new to Xprint. I wrote a small program using Xft to draw a page. > The postscript output does not contain any fonts (I used a Hindi > font). How do I embed the font in the generated postscript ? Xft transforms fonts to bitmaps in the client. If you want fonts embedded in your Postscript output, I think you need to use core X fonts, and not Xft. -- -Alan Coopersmith- alan.coopersmith@sun.com Sun Microsystems, Inc. - X Window System Engineering From toby at inf.ed.ac.uk Tue Aug 9 17:12:53 2005 From: toby at inf.ed.ac.uk (Toby Blake) Date: Tue Aug 9 11:13:29 2005 Subject: [Xprint] Xprint configuration oddities In-Reply-To: <1122803234.6300.35.camel@pug.anu.edu.au> References: <1122803234.6300.35.camel@pug.anu.edu.au> Message-ID: Hi there, Thanks for your reply. >> ...and, after restarting Xprt, I look at the list of printers in >> Firefox and find that it seems to have taken the output of >> /usr/bin/printers, but not piped it through 'cut', i.e. printers are >> listed of the form 'name HP4100DTN on 4th Floor'. I can put the line >> '/usr/bin/printers |cut -f1' in a separate script, change Xprinters to >> >> Augment_Printer_List /path/to/one/line/script >> >> ... and it works OK. This is the first oddity. > > It sounds like Augment_Printer_List is just expecting a single > string, which is why it works when you give it the script. It's > only reading up till the first whitespace. Did you try putting > "quotes" around "/usr/bin/printers |cut -f1" (though my guess is > that won't work, it'll just try to use '"/usr/bin/printers' instead) Yeah, it doesn't work if you put quotes round it - complains about not finding the second quote (the same behaviour if I use " or ') > If it's just reversing the normal order, then of course you can add > " | sort -r" or whatever in your script. Yes, it's reversing the order, but it uses a custom sort order, so I'd have to change the script so it sort in reverse order purely for the purpose of getting it in the right order from Xprt. >> Also, one other important question on a different matter, how does >> Xprint relate printer names to their models? There is mention in the >> FAQ of family/class but it doesn't describe how to tell Xprint which >> family/class a particular printer belongs to. If I have a list of >> printers specified in the way above, how does Xprint know what model >> each printer is, so we can use model-specific configurations? >> > > I think you want to > use /usr/share/Xprint/xserver/C/print/attributes/printer. See the line > *xp-model-identifier: PSdefault > If I read it right, you change it to things like > name1.xp-model-identifier: PSdefault > name2.xp-model-identifier: CANONBJ10E-GS > name3.xp-model-identifier: HPDJ1600C > etc > where the various models are defined > in /usr/share/Xprint/xserver/C/print/models. OK, thanks, I'll look more into this when I get basic Xprint operation working correctly. Cheers Toby From toby at inf.ed.ac.uk Tue Aug 9 17:23:50 2005 From: toby at inf.ed.ac.uk (Toby Blake) Date: Tue Aug 9 11:24:25 2005 Subject: [Xprint] more Augment_Printer_List problems Message-ID: Hi again, In my previous emails I mentioned a couple of problems with using Augment_Printer_List with Xprt, in summary: (1) Augment_Printer_List cannot contain '|', despite the examples in the Xprinters file. (2) The printer list given to Augment_Printer_List becomes reversed, in e.g. Firefox I've also just noticed another problem with using Augment_Printer_List, specifically that any argument given to it seems to stop Xprt from detecting the spooler and thus it gives this error: XpSubmitJob: No default spool command defined. Fatal server error: unable to exec '' I note that this was reported in March 2004: http://xprint.mozdev.org/pipermail/xprint/2004-March/000182.html ... but the patch here doesn't seem to work. Can anyone advise on configuring Xprint using Augment_Printer_List? The behaviour does seem a little buggy? Should I report these bugs? Can I get more logging information out of Xprt (e.g. when it's compiling its printer list) so I can debug this myself? Many thanks in advance for any advice. Cheers Toby Blake University of Edinburgh From harrison at macau.ctm.net Mon Aug 29 20:35:49 2005 From: harrison at macau.ctm.net (Godfrey Harrison) Date: Mon Aug 29 07:28:24 2005 Subject: [Xprint] No printing from Mozilla 1.7.8 nor from Thunderbird Message-ID: <4312F315.8080008@macau.ctm.net> What do I need to do to get prints of my e-mails and from printer friendly versions of web-pages &, even, web pages? I am running Mozilla & Thunderbird, under Debian 3.1 Sarge, and can't print anything from them. I can print using Open Office, gedit, and Abiword and Evolution. Mozilla & Thunderbird work fine EXCEPT no printing! I installed today xprint 1:0.1.0.alpha1-10 & xprint-common 1:0.1.0.alpha1-10 and now get a different failure to print: I can choose from a list of possible printing possibilities The lp-64 one connects to my Lexmark E210 printer - its comes to life & its green lights blinks a time or two but nothing else happens. The choice of E210-1 - the only offered printer with, say, gedit - doesn't in Thunderbird get even a blink! But the choice of E210-1 is the one that works with Open Office, Abiword, & gedit printing. Suggestions welcome & needed! James From dparsons at debian.org Mon Aug 29 22:52:11 2005 From: dparsons at debian.org (Drew Parsons) Date: Mon Aug 29 07:53:16 2005 Subject: [Xprint] No printing from Mozilla 1.7.8 nor from Thunderbird In-Reply-To: <4312F315.8080008@macau.ctm.net> References: <4312F315.8080008@macau.ctm.net> Message-ID: <1125316331.7513.16.camel@pug.anu.edu.au> On Mon, 2005-08-29 at 19:35 +0800, Godfrey Harrison wrote: > What do I need to do to get prints of my e-mails and from printer > friendly versions of web-pages &, even, web pages? > > I am running Mozilla & Thunderbird, under Debian 3.1 Sarge, and can't > print anything from them. I can print using Open Office, gedit, and > Abiword and Evolution. > Mozilla & Thunderbird work fine EXCEPT no printing! > > I can choose from a list of possible printing possibilities > The lp-64 one connects to my Lexmark E210 printer - its comes to life & > its green lights blinks a time or two but nothing else happens. Check Xprint is in general working by printing to file (or to pdf). You could also try printing the file from the command line while you're at it using lpr (can you normally print postscript files from the command line?). I gather you tried both the Xprint printers and the default mozilla printers. The Xprint ones have the :64 suffix and the default mozilla ones have the Postscript/ prefix. You might try updating the PPD file (it goes in /usr/share/cups/model) from the vendor or from www.linuxprinting.org. (If you're using LPRng not CUPS then you could see if CUPS works more smoothly instead). Try firefox rather than mozilla (probably won't help though, if thunderbird isn't working either). There's a slim chance there might be information in /var/log/syslog (or lpr.log), but I expect not. Hope that might help. Drew From harrison at macau.ctm.net Mon Aug 29 23:56:46 2005 From: harrison at macau.ctm.net (Godfrey Harrison) Date: Mon Aug 29 10:49:15 2005 Subject: [Xprint] No printing from ... Pls see ANNOTATIONS to your helpful suggestions & queries In-Reply-To: <1125316331.7513.16.camel@pug.anu.edu.au> References: <4312F315.8080008@macau.ctm.net> <1125316331.7513.16.camel@pug.anu.edu.au> Message-ID: <4313222E.90709@macau.ctm.net> Drew Parsons wrote: >On Mon, 2005-08-29 at 19:35 +0800, Godfrey Harrison wrote: > > >>What do I need to do to get prints of my e-mails and from printer >>friendly versions of web-pages &, even, web pages? >> >>I am running Mozilla & Thunderbird, under Debian 3.1 Sarge, and can't >>print anything from them. I can print using Open Office, gedit, and >>Abiword and Evolution. >> Mozilla & Thunderbird work fine EXCEPT no printing! >> >>I can choose from a list of possible printing possibilities >>The lp-64 one connects to my Lexmark E210 printer - its comes to life & >>its green lights blinks a time or two but nothing else happens. >> >> > >Check Xprint is in general working by printing to file (or to pdf). > ^^^ IT PRINTS TO FILE FINE; I CAN OPEN & READ THE .ps FILES, FOR EXAMPLE USING THE FILE BROWSER BUT CAN'T AFTER THAT PRINT THEM > You >could also try printing the file from the command line while you're at >it using lpr (can you normally print postscript files from the command >line? IT SEEMS NOT! SO NO SURPRISE THE TRIAL THE PREVIOUS SENTENCE SUGGESTS FAILS. > > ). > >I gather you tried both the Xprint printers and the default mozilla >printers. The Xprint ones have the :64 suffix and the default mozilla >ones have the Postscript/ prefix. WHAT THE PREVIOUS SENTENCE SAYS > & WHAT I SEE - SAY, WHEN STARTING A PRINT - AGREE >You might try updating the PPD file (it goes in /usr/share/cups/model) >from the vendor or from www.linuxprinting.org. I'LL TRY THIS. (If you're using LPRng I'M NOT USING LPRng >not CUPS then you could see if CUPS works more smoothly instead). > >Try firefox rather than mozilla (probably won't help though, if >thunderbird isn't working either). I MAY TRY FIREFOX (?FLY) > >There's a slim chance there might be information in /var/log/syslog (or >lpr.log), but I expect not. THERE WERE SOME MESSAGES SAYING XPRT (?) > > SOMETHING LIKE THAT ) MAYBE "XPRT64" ? - WAS CONNECTED OR DISCONNECTED TO LOCAL HOST; NOTHING ELSE I SAW. >Hope that might help. I'M LEARNING A BIT BUT NOT PRINTING ANYMORE *YET* > >Drew > > THANKS GODFREY -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mozdev.org/pipermail/xprint/attachments/20050829/9e6b0698/attachment.htm From Rudolf.Kollien at medas.de Wed Aug 31 13:05:12 2005 From: Rudolf.Kollien at medas.de (Rudolf Kollien) Date: Wed Aug 31 06:07:29 2005 Subject: [Xprint] more Augment_Printer_List problems Message-ID: <200508311205.20459.Rudolf.Kollien@medas.de> Hi, i run into the same problem. After 3h of writing an augment script, which only returns the user-relevant printers from the more than 200 printers on our server, i now no more able to print from Firefox. I cannot imagine that no Xprint-user ever used the augment configuration option? Why this bug still exists, when this error already was reported in March 2004??? Is there any config option to specify a "special" spool comand? Any hints to solve the problem are welcome. Rudolf Using SuSE RPMs, xprint-20040707release-0.9.001 On Tue Aug 9 17:23:50 EDT 2005 Toby Blake wrote: > In my previous emails I mentioned a couple of problems with using > Augment_Printer_List with Xprt, in summary: > > (1) Augment_Printer_List cannot contain '|', despite the examples in > the Xprinters file. > > (2) The printer list given to Augment_Printer_List becomes reversed, > in e.g. Firefox > > I've also just noticed another problem with using > Augment_Printer_List, specifically that any argument given to it seems > to stop Xprt from detecting the spooler and thus it gives this error: > > XpSubmitJob: No default spool command defined. > > Fatal server error: > unable to exec '' > > I note that this was reported in March 2004: > > http://xprint.mozdev.org/pipermail/xprint/2004-March/000182.html > > ... but the patch here doesn't seem to work. > > Can anyone advise on configuring Xprint using Augment_Printer_List? > The behaviour does seem a little buggy? Should I report these bugs? > Can I get more logging information out of Xprt (e.g. when it's > compiling its printer list) so I can debug this myself? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 155 bytes Desc: not available Url : http://mozdev.org/pipermail/xprint/attachments/20050831/1428d395/attachment.bin