LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Cannot Print PDF Files (https://www.linuxquestions.org/questions/solaris-opensolaris-20/cannot-print-pdf-files-436570/)

as400 04-18-2006 08:38 PM

Cannot Print PDF Files
 
Everytime I want to print PDF files, I cannot because It says this error message:

Code:

Printing is not supported on this printer.
You were trying to print to a printer that does not use PostScript.
This requires a PostScript driver

I open all of my PDF files from the Gnome PDF Viewer in CDE...My printer is a HP-920c..

AbrahamJose 04-18-2006 10:22 PM

May not possible.
 
The error message is clear.

It may not support post script
Is it a line printer?

as400 04-18-2006 11:19 PM

Line Printer??? UMMMM.....I dont know...But it is connected to paralell LPT-1 printer port on my PC..But its not networked if thats what you meant by "line" printer.

How can I solve this issue?

SO everytime I want to print a PDF file, I have to boot into Windows and print from there..

as400 04-19-2006 10:38 AM

I cannot print PDF files..Can anybody assist me on this please? This is kinda urgent.

jlliagre 04-19-2006 11:40 AM

There seems to be a commercial driver for your printer available at http://www.easysw.com/printpro/standalone.php

Otherwise, better to buy a postscript laser printer, networked and color if you can afford it.

as400 04-21-2006 06:00 PM

Is there any way I can still print though? Can I copy all the text thats inside the pdf file and paste them onto StarOffice text program? But theres no COPY option I can do in the Gnome PDF viewer.

jlliagre 04-22-2006 09:23 AM

You can try pdftotext to extract text from a pdf file.

If you haven't it already installed (/opt/sfw/bin/pdftotext), you can get it from
http://www.blastwave.org/packages.php/xpdf, then it will be in /opt/csw/bin/pdftotext.

as400 04-22-2006 09:36 AM

Do I have to download this:
http://www.foolabs.com/xpdf within the link that you provived?
Once downloaded...How can I install it..?? Is it easy or hard? Do I need to extract this file and then do what..Please post all the commands on what I need to do to get this going. Because I really dont need to boot into WIndows just to print a PDF file...Thats very pothetic.

Do I need to install the WGET thing too? If I have to install a dozen other things just to install xPDF, then forget it.

jlliagre 04-22-2006 09:46 AM

From Blastwave's instructions:
download http://www.blastwave.org/pkg_get.pkg anywhere on your Solaris machine (eg. /tmp), install it:
Code:

pkgadd -d /tmp/pkg_get.pkg
then run
Code:

/opt/csw/bin/pkg-get -i xpdf
Answer yes to any question pkg-get may ask you.

as400 04-22-2006 10:00 AM

And thats it!!!???

Ok...thanks

Then to run it from my machine where would it be located under? If I want to run xpdf, where would it be? After install...??

as400 04-22-2006 10:07 AM

Now whats it doing now: Im on this phase right now..

Code:

100%[====================================>] 2,073,625    33.97K/s    ETA 00:00

08:04:13 (30.87 KB/s) - `xpdf-3.01,REV=2006.02.08-SunOS5.8-i386-CSW.pkg.gz' saved [2073625/2073625]

Analysing special files...
cpio: Impossible header type.
1 errors
retrying with different archive offset, dont worry about it...
11567 blocks
Error: dependancy CSWcommon not up to date
Call pkg-get again in 'upgrade all' mode
eg: '/opt/csw/bin/pkg-get upgrade'
This will then upgrade all packages cleanly
#

Whats next??? Its not chatty like WIndows is...It does not even instruct me on what to do next??? How weird...

as400 04-22-2006 10:12 AM

I cancelled this operation..because now I dont know what to do at this point on. WIll you please explain what to do next?

What does that last operation wants me to do? Beats me...

I think I got it...HOLD ON..

Now its doing this...I started the whole process again:
Code:

100%[====================================>] 2,073,625    81.18K/s    ETA 00:00

08:15:01 (44.01 KB/s) - `xpdf-3.01,REV=2006.02.08-SunOS5.8-i386-CSW.pkg.gz' saved [2073625/2073625]

Analysing special files...
cpio: Impossible header type.
1 errors
retrying with different archive offset, dont worry about it...
11567 blocks
Error: dependancy CSWcommon not up to date
Call pkg-get again in 'upgrade all' mode
eg: '/opt/csw/bin/pkg-get upgrade'
This will then upgrade all packages cleanly
# /opt/csw/bin/pkg-get upgrade
/opt/csw/bin/pkg-get[1770]: http://mirrors.usc.edu/pub/blastwave/unstable:  not found
WARNING: gpg not found
note: upgrading ALL INSTALLED PACKAGES
Installed software packages:
zlib xcdroast wget tiff schilyutils schilybase png pkg_get openssl libiconv jpeg gtk glib ggettext gdk_pixbuf expat common cdrtools
zlib is up to date
xcdroast is up to date
wget is up to date
tiff is up to date
schilyutils is up to date
schilybase is up to date
png is up to date
Pre-existing local file pkg_get-3.6-all-CSW.pkg matches checksum
Keeping existing file
## Waiting for up to <300> seconds for package administration commands to become available (another user is administering packages)

And I still dont know whats its trying to do for crying out loud...And its stuck on this for 30 minutes already..Something is wrong here.

as400 04-22-2006 10:22 AM

Well...Its stuck for an hour now...Can you please explain whats going on here?

OK..now did something adn still says updating 300 for seconds for something...Why is it taking this long?

How long should I wait for this? Its taking long and I dont have all day to wait. Its doing this now:
Code:

100%[====================================>] 3,694        17.10K/s           

08:26:21 (17.02 KB/s) - `common-1.4.3,REV=2006.01.22-SunOS5.8-i386-CSW.pkg.gz' saved [3694/3694]

## Waiting for up to <300> seconds for package administration commands to become available (another user is administering packages)

pkgrm: ERROR: Unable to acquire package administration lock for this system; try again later
pkgrm: ERROR: Unable to lock this zone for administration

1 package was not processed!

Analysing special files...
27 blocks
## Waiting for up to <300> seconds for package administration commands to become available (another user is administering packages)


as400 04-22-2006 10:37 AM

OK, it finally went through with a error message:
Code:

ERROR: could not add CSWcommon.
cdrtools is up to date
# # # #

and...
Code:

# xpdf
xpdf: not found

This is not good at all...Looks like it not work...
Can you please explain here what just happened? Did you go somewhere or something?????

as400 04-22-2006 10:45 AM

I dont mind using Gnome PDF...

I just want to COPY the text from the PDF file and then paste it into Star Office...thats all...Now the install was not good...
Is there something else that I can do here?


All times are GMT -5. The time now is 01:17 PM.