Discussion Locked

HP DeskJet 850C vs TurboLinux v4.0

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I installed version 4.0 TurboLinux on a duel boot system also running Windows 98, The printer is a HP DeskJet 850C. The printer works in the UNIX side of the system using the "lpr" command, but when I try to print in the GUI of Linux I get an error.
The Error: "No filename for parameters given. Assume. Unable to open command line file .uup". The error was printed replacing what I tried to print in Netscape. Also I am new to the Linux system so I don't know all the in's and out's. Any help would be great!
Thank You Eric...

7 replies

by sergey kovzik

this is netscape's joke. it patched file /usr/lib/netscape/print/ps-to-printer.fpi. you need to insert following text
---
elif [ "$GSDEVICE" = "uniprint" ]; then
# Set default *.upp driver (your default printer upp driver here)
if [ "$COLOR" = "" ]; then
$COLOR="stcany"
echo "No filename for parameters given. Assume $COLOR."
fi
#
eval "$mpage_cmd | gs -q @$COLOR.upp \
-sPAPERSIZE=$PAPERSIZE \
-sOutputFile=- \
$EXTRA_GS_OPTIONS \ -"
---
Take this file from original distributive and compare place where it was. It shuld be after testing GSDEVICE for POSTSCRIPT and TEXT and just before
---
else
# we're using ghostscript
eval "$mpage_cmd | gs -q -sDEVICE=$GSDEVICE \
---

by sergey kovzik

hmmm... from other side you have this phrase. this means you should have this code.
I've read somethere that turbolinux has somethere in documentation this case and refer it as ghostscript bug. err, well. let go backward way - try to comment this uniprint block and let things go via "else # ghostrscript". maybe netscape patch is right in your case :)

by flair426

Mr.Kovzilk; I looked at the file in question, and found some differences. On the line
else
#we're using ghostscript
eval "$mpage_cmd | sed \"s/[(%%.*%%[)].*flush//g\" | \
this is what was in my file.
your file had....
eval "$mpage_cmd | gs -q -sDEVICE=$GSDEVICE\
I remed out the my line an replaced it with yours, but that did not work ether. I also remed out the "uniprint" line and that didn't work. The driver I am using is "cdj550.upp" but I have a 850C driver "cdj850.upp" I haven't used yet. Because I have to compile it with Make.

by flair426

Mr.Kovzik; I went back to the "ps-to-print.fpi file and remed out the "uniprint" line, and now I when I try to print all I get is "GS>GS>GS>GS>....<11>.." etc. on the top line only the rest of the page is blank. Any ideas?

by flair426

Mr.Sergey Kovzik; I would like to say THANK YOU! With your help and a script file for 'lpd' called "lpdomatic" from the LinuxPrinting.org Database, my HP-850c is up an running like a top.

Eric...

This discussion is closed to new replies.