Re: /etc/printcap with CUPS & Openoffice 1.0

2002-06-16 Thread nate

> nate wrote:
>> hi.
>>
>> this is getting frustrating. I recently setup CUPS on my desktop to
>> spool to a Jetdirect card connected to a HP Laserjet 4000.
>
> What I did was to install qtcups and tell the various apps to print to
> qtcups instead of lpr, etc. You might give it a spin.

ok cool thanks i'll try that too

nate





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: /etc/printcap with CUPS & Openoffice 1.0

2002-06-15 Thread W. Paul Mills
[EMAIL PROTECTED] (nate) writes:

> 
>
>> I had a similar problem with wordperfect 7. I used "lpr -o raw"
>> with cups to solve the problem.
>>
>
>
> where did you use the lpr? did/does wordperfect have a way to
> specify a command line printer command? seems most X apps do,
> gnotepad+, netscape 4.7x, adobe acrobat, some kde apps, but
> star/open office doesn't from what i can see..

In wp it is rather deeply embeded in the printer setup screens.
Sorry, have not used staroffice in long time, can not help there.

Paul





-- 
*  For God so loved the world that He gave his only begotten Son,  *
*  that whoever believes in Him should not perish...John 3:16  *
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: /etc/printcap with CUPS & Openoffice 1.0

2002-06-15 Thread nate


> I had a similar problem with wordperfect 7. I used "lpr -o raw"
> with cups to solve the problem.
>


where did you use the lpr? did/does wordperfect have a way to
specify a command line printer command? seems most X apps do,
gnotepad+, netscape 4.7x, adobe acrobat, some kde apps, but
star/open office doesn't from what i can see..

thanks!

nate




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: /etc/printcap with CUPS & Openoffice 1.0

2002-06-15 Thread nate

>> "nate" == nate  <[EMAIL PROTECTED]> writes:
>
> [...]

> I can't really help you with your printing problem, since I don't print
> From Star/Open Office, but you can save a step in your workaround.  If
> you run spadmin, you can create a PDF writer which basically runs ps2pdf
> for you.

ok cool. ill try that! sounds neat

>
> You may also want to try converting the PDF file back to ps using
> pdftops or pdf2ps (I don't know what the difference is, but they're both
> installed on my system), and printing the resulting ps file.  I've found
> that that sometimes helps with bad ps files.

ok

>
> It looks like what is happening is that Star/Open Office is generating
> bad PostScript.  CUPS passes it off the printer driver, so as far as CUPS
> is concerned, the file's printed.  The driver barfs on the bad
> PostScript, so it doesn't actually send anything to the printer, but
> can't notify CUPS that something's wrong.

i suppose its possible, kind of strange though
>
> PS.  Doesn't the LaserJet 4000 speak PostScript natively?  Or is it just
> certain models?  If yours does, it may be worth using a normal PPD
> instead of the foomatic driver.  A Google search on "HP LaserJet 4000
> PPD" reveals http://hp.sourceforge.net/ where you can download such a
> file.

i think mine does, im no printing expert, i don't print much but
i will take a look at that url.


thanks!

nate




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: /etc/printcap with CUPS & Openoffice 1.0

2002-06-14 Thread W. Paul Mills
[EMAIL PROTECTED] (nate) writes:

> hi.
>
> this is getting frustrating. I recently setup CUPS on my desktop
> to spool to a Jetdirect card connected to a HP Laserjet 4000.
>
> I can print fine if i use lpr, or if i use netscape(4.x) which
> calls lpr, or adobe acrobat reader which calls lpr too. everything
> comes out fine.  I can print select(!) documents from open/star office.
> specifically i have printed 2 documents, and they seem to print
> reliably, i have printed each several times.
>
> the rest of the documents go into a black hole. cups records
> them being queued and claim they were accepted by the printer,
> but monitoring the 'remote printer panel' from jetdirect admin tool
> shows no data being recieved for most of the jobs(and nothing
> comes out for them).
>
> I have tried various different settings in staroffice 6.0 and
> openoffice 1.0 and staroffice 5.2. I don't know why i can print
> some documents(both are word docs), but not others. specifically
> i mostly use star/open office to make generic address labels(printed
> to normal US Letter paper, not to actual address label sticker things.
> so the documents are not complex, just a few lines of text in a large
> font(for boxes). i tried saving my documents into word format and
> printing and nothing changed.
>
> at the moment i have worked around it by printing to a file and
> using ps2pdf to convert to pdf and printing from adobe acrobat.
>
> I used to be able to print fine from staroffice 5.2, then i installed
> 6.0 and could not print anymore using my existing system, which
> was spool to lpd locally, then spool to remote lpd, and it would
> then spool through a NT server to the printer. thats when i
> switched to cups.
>
> i changed cups' config so it outputs the printcap file to /etc/printcap,
> but that doesn't seem to have helped. the only thing it prints
> out is the name of the printer and a colon. i'm really lost.

I had a similar problem with wordperfect 7. I used "lpr -o raw"
with cups to solve the problem.

Paul






-- 
*  For God so loved the world that He gave his only begotten Son,  *
*  that whoever believes in Him should not perish...John 3:16  *
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: /etc/printcap with CUPS & Openoffice 1.0

2002-06-14 Thread Hubert Chan
> "nate" == nate  <[EMAIL PROTECTED]> writes:

[...]

nate> at the moment i have worked around it by printing to a file and
nate> using ps2pdf to convert to pdf and printing from adobe acrobat.

I can't really help you with your printing problem, since I don't print
From Star/Open Office, but you can save a step in your workaround.  If
you run spadmin, you can create a PDF writer which basically runs ps2pdf
for you.

You may also want to try converting the PDF file back to ps using
pdftops or pdf2ps (I don't know what the difference is, but they're both
installed on my system), and printing the resulting ps file.  I've found
that that sometimes helps with bad ps files.

It looks like what is happening is that Star/Open Office is generating
bad PostScript.  CUPS passes it off the printer driver, so as far as
CUPS is concerned, the file's printed.  The driver barfs on the bad
PostScript, so it doesn't actually send anything to the printer, but
can't notify CUPS that something's wrong.

PS.  Doesn't the LaserJet 4000 speak PostScript natively?  Or is it just
certain models?  If yours does, it may be worth using a normal PPD
instead of the foomatic driver.  A Google search on "HP LaserJet 4000
PPD" reveals http://hp.sourceforge.net/ where you can download such a
file.

-- 
Hubert Chan <[EMAIL PROTECTED]> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.


pgpafAKK17LrT.pgp
Description: PGP signature


Re: /etc/printcap with CUPS & Openoffice 1.0

2002-06-14 Thread Kent West

nate wrote:

hi.

this is getting frustrating. I recently setup CUPS on my desktop
to spool to a Jetdirect card connected to a HP Laserjet 4000.


What I did was to install qtcups and tell the various apps to print to 
qtcups instead of lpr, etc. You might give it a spin.


Kent




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




/etc/printcap with CUPS & Openoffice 1.0

2002-06-14 Thread nate
hi.

this is getting frustrating. I recently setup CUPS on my desktop
to spool to a Jetdirect card connected to a HP Laserjet 4000.

I can print fine if i use lpr, or if i use netscape(4.x) which
calls lpr, or adobe acrobat reader which calls lpr too. everything
comes out fine.  I can print select(!) documents from open/star office.
specifically i have printed 2 documents, and they seem to print
reliably, i have printed each several times.

the rest of the documents go into a black hole. cups records
them being queued and claim they were accepted by the printer,
but monitoring the 'remote printer panel' from jetdirect admin tool
shows no data being recieved for most of the jobs(and nothing
comes out for them).

I have tried various different settings in staroffice 6.0 and
openoffice 1.0 and staroffice 5.2. I don't know why i can print
some documents(both are word docs), but not others. specifically
i mostly use star/open office to make generic address labels(printed
to normal US Letter paper, not to actual address label sticker things.
so the documents are not complex, just a few lines of text in a large
font(for boxes). i tried saving my documents into word format and
printing and nothing changed.

at the moment i have worked around it by printing to a file and
using ps2pdf to convert to pdf and printing from adobe acrobat.

I used to be able to print fine from staroffice 5.2, then i installed
6.0 and could not print anymore using my existing system, which
was spool to lpd locally, then spool to remote lpd, and it would
then spool through a NT server to the printer. thats when i
switched to cups.

i changed cups' config so it outputs the printcap file to /etc/printcap,
but that doesn't seem to have helped. the only thing it prints
out is the name of the printer and a colon. i'm really lost.


cups printer config:

Info Laserjet 4000
Location Hallway
DeviceURI lpd://pebbles.linuxpowered.net/lpd
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0


it is using the driver "HP LaserJet 4000, Foomatic + Postscript"

I can print CUPS test pages all day long, no problem. so the problem
appears to be in openoffice 1.0 / staroffice 5.2 / staroffice 6.0
or in my /etc/printcap, maybe the format for it is wrong.

also i have lpd listening on my system through xinetd:

service printer
{
socket_type = stream
protocol= tcp
wait= no
user= lp
server  = /usr/lib/cups/daemon/cups-lpd
}

i can print from gnotepad+, but it too just calls lpr, maybe
star/open office do too ? i'm not sure what other apps i could
test that would behave like this. i can print from mozilla 1.0rc3
too, which does not specifically mention using lpr in the print
setup, but i suppose it could be too.

running debian woody

thanks

nate




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]