Hi, I'm trying to print a 20-page spreadsheet from StarOffice 5.2. I'm using CUPS, and SO is using a Generic Printer on "default_queue" which according to the "spadmin" setup program, is lpr. There are no drivers listed for my printer (HP DeskJet 690C) under "spadmin". When I print it seems as if it's sending the document to the printer, but I get nothing. Thanks for any help, Geraint Jones.
On Tuesday 18 June 2002 10:10 am, Geraint Jones wrote:
Hi,
I'm trying to print a 20-page spreadsheet from StarOffice 5.2. I'm using CUPS, and SO is using a Generic Printer on "default_queue" which according to the "spadmin" setup program, is lpr. There are no drivers listed for my printer (HP DeskJet 690C) under "spadmin". When I print it seems as if it's sending the document to the printer, but I get nothing.
Thanks for any help,
Geraint Jones.
I've just tried OpenOffice 641 which produced similar results. I would have used Kspread 1.1.1 apart from the fact it's full of bugs. It kept crashing when I wanted to change the format of a cell! Plus other little things happening put me off it. -- Geraint Jones
Hi Geraint On Tuesday 18 June 2002 10:10 am, Geraint Jones wrote:
I'm trying to print a 20-page spreadsheet from StarOffice 5.2. I'm using CUPS, and SO is using a Generic Printer on "default_queue" which according to the "spadmin" setup program, is lpr. There are no drivers listed for my printer (HP DeskJet 690C) under "spadmin". When I print it seems as if it's sending the document to the printer, but I get nothing.
The laughably easy thing to do is what somebody suggested on this list a couple of days ago. Using spadmin as the normal user, just add a new printer, but call it kprinter --stdin. This, after a bit of coughing by SO, opens up the KDE printer dialogue, and voila, you can use the printers you've already set up there. That chap Goffioul and his mates are awfully clever - this does away at stroke with the hassles about printing from X programs. Pob hwyl! Kevin
On Tuesday 18 June 2002 11:05 am, Kevin Donnelly wrote:
Hi Geraint
On Tuesday 18 June 2002 10:10 am, Geraint Jones wrote:
I'm trying to print a 20-page spreadsheet from StarOffice 5.2. I'm using CUPS, and SO is using a Generic Printer on "default_queue" which according to the "spadmin" setup program, is lpr. There are no drivers listed for my printer (HP DeskJet 690C) under "spadmin". When I print it seems as if it's sending the document to the printer, but I get nothing.
The laughably easy thing to do is what somebody suggested on this list a couple of days ago. Using spadmin as the normal user, just add a new printer, but call it kprinter --stdin. This, after a bit of coughing by SO, opens up the KDE printer dialogue, and voila, you can use the printers you've already set up there. That chap Goffioul and his mates are awfully clever - this does away at stroke with the hassles about printing from X programs.
Pob hwyl!
Kevin
Diolch am trio helpu Kevin! However, it still won't print! I managed to get a test page out of "spadmin" (which brought up the usual printing dialog), but when I close it and go back to SO, it still shows only the "Generic Printer". I tried restarting the app but that didn't do anything. Thanks. -- Geraint Jones
Hi Geraint On Tuesday 18 June 2002 11:32 am, Geraint Jones wrote:
However, it still won't print! I managed to get a test page out of "spadmin" (which brought up the usual printing dialog), but when I close it and go back to SO, it still shows only the "Generic Printer". I tried restarting the app but that didn't do anything.
I've just gone through this again to ensure it works. Step by step follows: 1. Ensure that CUPS is set up correctly and working OK - ie test from KDE apps that would use CUPS/KDEPrint. In SuSE 8.0/StarOffice 6.0 2. In a console, enter: sux (+password) cd /opt/office60/program (or wherever SO has been installed) ./spadmin 3. Tick Add a Printer, click Next. 4. Select Generic printer from the drop-down list, click Next. 5. Enter kprinter --stdin as the command line, click Next. 6. Enter a name (eg KPrinter), click Finish. 7. Note that this can also be done as the user too, but in that case the printer will only be available to that user. In SuSE 7.3/StarOffice 5.2 2. In a console, enter: sux (+password) cd /opt/office52/program ./spadmin 3. Scroll down the list of existing printer drivers and click on Generic Printer, then on Add new printer. 4. Click Rename and enter a name (eg KPrinter). 5. Click Connect and enter: kprinter=kprinter --stdin 6. Click Configure and make any relevant changes (eg to A4 size), and then click Close. 7. In SO 5.2 it does not appear to be possible to set up a new printer as a user, but only to configure the settings of already set-up printers. Both setups 8. Create a document in SO, and then press Ctrl+P to print. 9. Select KPrinter from the drop-down printer list (if you have not already set it to be default), and then click OK. 10. The KDE print dialogue opens - select the relevant printer and then click OK. Using the above, I don't get a test page from SO 5.2, although it says it is printing. Gobeithio bydd hwn yn neud y tric! Kevin Donnelly
On Tuesday 18 June 2002 1:24 pm, Kevin Donnelly wrote:
Hi Geraint
On Tuesday 18 June 2002 11:32 am, Geraint Jones wrote:
However, it still won't print! I managed to get a test page out of "spadmin" (which brought up the usual printing dialog), but when I close it and go back to SO, it still shows only the "Generic Printer". I tried restarting the app but that didn't do anything.
I've just gone through this again to ensure it works. Step by step follows:
1. Ensure that CUPS is set up correctly and working OK - ie test from KDE apps that would use CUPS/KDEPrint.
In SuSE 8.0/StarOffice 6.0
2. In a console, enter: sux (+password) cd /opt/office60/program (or wherever SO has been installed) ./spadmin 3. Tick Add a Printer, click Next. 4. Select Generic printer from the drop-down list, click Next. 5. Enter kprinter --stdin as the command line, click Next. 6. Enter a name (eg KPrinter), click Finish. 7. Note that this can also be done as the user too, but in that case the printer will only be available to that user.
In SuSE 7.3/StarOffice 5.2
2. In a console, enter: sux (+password) cd /opt/office52/program ./spadmin 3. Scroll down the list of existing printer drivers and click on Generic Printer, then on Add new printer. 4. Click Rename and enter a name (eg KPrinter). 5. Click Connect and enter: kprinter=kprinter --stdin 6. Click Configure and make any relevant changes (eg to A4 size), and then click Close. 7. In SO 5.2 it does not appear to be possible to set up a new printer as a user, but only to configure the settings of already set-up printers.
Both setups
8. Create a document in SO, and then press Ctrl+P to print. 9. Select KPrinter from the drop-down printer list (if you have not already set it to be default), and then click OK. 10. The KDE print dialogue opens - select the relevant printer and then click OK.
Using the above, I don't get a test page from SO 5.2, although it says it is printing.
Gobeithio bydd hwn yn neud y tric!
Kevin Donnelly
Argh! What is wrong with Star Office! I followed your instructions again, and still no joy. The new printer setup doesn't show in SO at all. All I ever get is the "Generic Printer". When I had SuSE 7.3 installed a while back, SO worked "straight out of the box" - if I remember correctly. -- Geraint Jones
On Tuesday 18 June 2002 1:36 pm, Geraint Jones wrote:
Argh! What is wrong with Star Office! I followed your instructions again, and still no joy. The new printer setup doesn't show in SO at all. All I ever get is the "Generic Printer". When I had SuSE 7.3 installed a while back, SO worked "straight out of the box" - if I remember correctly.
Hmm. Well, I've just added another printer with no problems, so either you haven't followed the instructions exactly, or there is something different in your SO setup. Mine is set up as a network install, with each user having a workstation install - the default SuSE configuration, in fact. Have you done anything differently? For instance, have you updated to SuSE 8.0 while retaining your existing SO directories? Best wishes Kevin
Kevin, You were right on target...EXCEPT, when I changed the printer information as root it didn't take effect as user. I had to use the SPADMIN program under SO menu option. Now it works perfectly. Thanks!! Tom On Tue, 2002-06-18 at 06:24, Kevin Donnelly wrote:
Hi Geraint
On Tuesday 18 June 2002 11:32 am, Geraint Jones wrote:
However, it still won't print! I managed to get a test page out of "spadmin" (which brought up the usual printing dialog), but when I close it and go back to SO, it still shows only the "Generic Printer". I tried restarting the app but that didn't do anything.
I've just gone through this again to ensure it works. Step by step follows:
1. Ensure that CUPS is set up correctly and working OK - ie test from KDE apps that would use CUPS/KDEPrint.
In SuSE 8.0/StarOffice 6.0
2. In a console, enter: sux (+password) cd /opt/office60/program (or wherever SO has been installed) ./spadmin 3. Tick Add a Printer, click Next. 4. Select Generic printer from the drop-down list, click Next. 5. Enter kprinter --stdin as the command line, click Next. 6. Enter a name (eg KPrinter), click Finish. 7. Note that this can also be done as the user too, but in that case the printer will only be available to that user.
In SuSE 7.3/StarOffice 5.2
2. In a console, enter: sux (+password) cd /opt/office52/program ./spadmin 3. Scroll down the list of existing printer drivers and click on Generic Printer, then on Add new printer. 4. Click Rename and enter a name (eg KPrinter). 5. Click Connect and enter: kprinter=kprinter --stdin 6. Click Configure and make any relevant changes (eg to A4 size), and then click Close. 7. In SO 5.2 it does not appear to be possible to set up a new printer as a user, but only to configure the settings of already set-up printers.
Both setups
8. Create a document in SO, and then press Ctrl+P to print. 9. Select KPrinter from the drop-down printer list (if you have not already set it to be default), and then click OK. 10. The KDE print dialogue opens - select the relevant printer and then click OK.
Using the above, I don't get a test page from SO 5.2, although it says it is printing.
Gobeithio bydd hwn yn neud y tric!
Kevin Donnelly
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
-- Tom Nielsen Neuro Logic Systems 805.389.5435 x18 www.neuro-logic.com
I forgot to mention that I'm using StarOffice 5.2 on Suse 8.0. Sorry On Tue, 2002-06-18 at 06:24, Kevin Donnelly wrote:
Hi Geraint
On Tuesday 18 June 2002 11:32 am, Geraint Jones wrote:
However, it still won't print! I managed to get a test page out of "spadmin" (which brought up the usual printing dialog), but when I close it and go back to SO, it still shows only the "Generic Printer". I tried restarting the app but that didn't do anything.
-- Tom Nielsen Neuro Logic Systems 805.389.5435 x18 www.neuro-logic.com
Finally! Got it to work. Kevin's instructions are correct, but, you need to make sure that StarOffice can write to the config file. The file should be in your home directory and it's called ".Xpdefaults". Just "chmod 666 .Xpdefaults" and follow Kevin's instructions. I found this out because a message came up after running "SPAdmin" from the "Start" bar saying ".Xpdefaults" was read-only. I never knew there was a "Start" bar - it was somehow hidden from me and I only found it after minimizing the document I was working on, it didn't even show up on SO's desktop! Now it's there all the time. For me, "SPAdmin" was under "Start->Program File->Star Office 5.2->SPAdmin", and not under "Settings". -- Geraint Jones
On Tuesday 18 June 2002 4:41 pm, Geraint Jones wrote:
Finally! Got it to work. Kevin's instructions are correct, but, you need to make sure that StarOffice can write to the config file. The file should be in your home directory and it's called ".Xpdefaults". Just "chmod 666 .Xpdefaults" and follow Kevin's instructions.
Interesting - I have no such file. See below.
I found this out because a message came up after running "SPAdmin" from the "Start" bar saying ".Xpdefaults" was read-only. I never knew there was a "Start" bar - it was somehow hidden from me and I only found it after minimizing the document I was working on, it didn't even show up on SO's desktop! Now it's there all the time.
Since both you and Tom are using SuSE 8.0 and SO 5.2, I just had to try that combination, for the sake of completeness. There does in fact seem to be a slight bugette in SO in this combination - the lower Start/Taskbar line gets hidden behind the Panel for some reason, so if you didn't already know it was there you would not look for it. Presumably at some point it decides to be sociable. Anyway, that's the reason for your missing Start bar.
For me, "SPAdmin" was under "Start->Program File->Star Office 5.2->SPAdmin", and not under "Settings".
This is normal. So. I went over my howto again, and it all works fine - if I add a printer as root, the user can see it. So how come when you added the printer as root the user was not able to see it? Well, I did another run-through, but this time opened SPAdmin as user once I had added the printer as root. Instead of Close, I then clicked the button at the bottom of the dialogue labelled Store Settings Locally (it then changed to read Match Settings Locally). Sure enough, I then got a file .Xpdefaults in my user home dir. This is just a version of the SO system file /opt/office52/share/xp3/Xpdefaults, which (if you start spadmin as a user) you will get a message about, saying it is write-protected (ie, only root can alter it). I can only surmise that if in an earlier iteration you click this button, then SO assumes you are going to sort yourself out, and creates this file. Thereafter, printers made available by root will not show up automatically, but only if you specifically add them as the user (since you are using your local settings now, and not the system ones). This would explain Tom's experience. The only issue that is not clear is why you needed to change permissions on .Xpdefaults. I had no trouble updating this as user, and it has permissions 644. I suspect some other gremlin, but life is too short, especially since it's working now. Incidentally, can you both confirm that you used the console to launch spadmin? Pob hwyl Kevin
On Tuesday 18 June 2002 10:39 pm, Kevin Donnelly wrote: [snipped]
Incidentally, can you both confirm that you used the console to launch spadmin?
Pob hwyl
Kevin
I tried SPAdmin from the console at first until the Start bar made its appearance. Diolch am dy help Kevin, -- Geraint Jones
Your may have to run ./spadmin from the Office52 directory - possibly as root. Brian Marr On Tuesday 18 June 2002 21:02, Geraint Jones wrote:
On Tuesday 18 June 2002 11:05 am, Kevin Donnelly wrote:
Hi Geraint
On Tuesday 18 June 2002 10:10 am, Geraint Jones wrote:
I'm trying to print a 20-page spreadsheet from StarOffice 5.2. I'm using CUPS, and SO is using a Generic Printer on "default_queue" which according to the "spadmin" setup program, is lpr. There are no drivers listed for my printer (HP DeskJet 690C) under "spadmin". When I print it seems as if it's sending the document to the printer, but I get nothing.
The laughably easy thing to do is what somebody suggested on this list a couple of days ago. Using spadmin as the normal user, just add a new printer, but call it kprinter --stdin. This, after a bit of coughing by SO, opens up the KDE printer dialogue, and voila, you can use the printers you've already set up there. That chap Goffioul and his mates are awfully clever - this does away at stroke with the hassles about printing from X programs.
Pob hwyl!
Kevin
Diolch am trio helpu Kevin!
However, it still won't print! I managed to get a test page out of "spadmin" (which brought up the usual printing dialog), but when I close it and go back to SO, it still shows only the "Generic Printer". I tried restarting the app but that didn't do anything.
Thanks.
participants (4)
-
Brian Marr
-
Geraint Jones
-
Kevin Donnelly
-
Tom Nielsen